Public functions.
More...
Public functions.
◆ ketCube_SPI_DeInit()
De-initializes the SPI object and MCU peripheral.
- Parameters
-
◆ ketCube_SPI_Init()
Initializes the SPI object and MCU peripheral.
- Parameters
-
◆ ketCube_SPI_InOut()
uint16_t ketCube_SPI_InOut |
( |
uint16_t |
txData | ) |
|
Sends outData and receives inData.
- Parameters
-
[IN] | outData Byte to be sent |
- Return values
-
◆ ketCube_SPI_SleepEnter()
Set-UP SPI befere sleep enter.
- Note
- This function should be called by KETCube core
◆ ketCube_SPI_SleepExit()
Set-UP SPI after sleep exit.
- Note
- This function should be called by KETCube core