#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Macros | |
#define | SSI_TXEOT 0x00000040 |
#define | SSI_DMATX 0x00000020 |
#define | SSI_DMARX 0x00000010 |
#define | SSI_TXFF 0x00000008 |
#define | SSI_RXFF 0x00000004 |
#define | SSI_RXTO 0x00000002 |
#define | SSI_RXOR 0x00000001 |
#define | SSI_FRF_MOTO_MODE_0 0x00000000 |
#define | SSI_FRF_MOTO_MODE_1 0x00000002 |
#define | SSI_FRF_MOTO_MODE_2 0x00000001 |
#define | SSI_FRF_MOTO_MODE_3 0x00000003 |
#define | SSI_FRF_TI 0x00000010 |
#define | SSI_MODE_MASTER 0x00000000 |
#define | SSI_MODE_SLAVE 0x00000001 |
#define | SSI_DMA_TX 0x00000002 |
#define | SSI_DMA_RX 0x00000001 |
#define | SSI_CLOCK_SYSTEM 0x00000000 |
#define | SSI_CLOCK_ALTCLK 0x00000005 |
#define | SSI_ADV_MODE_LEGACY 0x00000000 |
#define | SSI_ADV_MODE_READ_WRITE 0x000001c0 |
#define | SSI_ADV_MODE_WRITE 0x000000c0 |
#define | SSI_ADV_MODE_BI_READ 0x00000140 |
#define | SSI_ADV_MODE_BI_WRITE 0x00000040 |
#define | SSI_ADV_MODE_QUAD_READ 0x00000180 |
#define | SSI_ADV_MODE_QUAD_WRITE 0x00000080 |
Functions | |
void | SSIConfigSetExpClk (uint32_t ui32Base, uint32_t ui32SSIClk, uint32_t ui32Protocol, uint32_t ui32Mode, uint32_t ui32BitRate, uint32_t ui32DataWidth) |
void | SSIDataGet (uint32_t ui32Base, uint32_t *pui32Data) |
int32_t | SSIDataGetNonBlocking (uint32_t ui32Base, uint32_t *pui32Data) |
void | SSIDataPut (uint32_t ui32Base, uint32_t ui32Data) |
int32_t | SSIDataPutNonBlocking (uint32_t ui32Base, uint32_t ui32Data) |
void | SSIDisable (uint32_t ui32Base) |
void | SSIEnable (uint32_t ui32Base) |
void | SSIIntClear (uint32_t ui32Base, uint32_t ui32IntFlags) |
void | SSIIntDisable (uint32_t ui32Base, uint32_t ui32IntFlags) |
void | SSIIntEnable (uint32_t ui32Base, uint32_t ui32IntFlags) |
void | SSIIntRegister (uint32_t ui32Base, void(*pfnHandler)(void)) |
uint32_t | SSIIntStatus (uint32_t ui32Base, bool bMasked) |
void | SSIIntUnregister (uint32_t ui32Base) |
void | SSIDMAEnable (uint32_t ui32Base, uint32_t ui32DMAFlags) |
void | SSIDMADisable (uint32_t ui32Base, uint32_t ui32DMAFlags) |
bool | SSIBusy (uint32_t ui32Base) |
void | SSIClockSourceSet (uint32_t ui32Base, uint32_t ui32Source) |
uint32_t | SSIClockSourceGet (uint32_t ui32Base) |
void | SSIAdvModeSet (uint32_t ui32Base, uint32_t ui32Mode) |
void | SSIAdvDataPutFrameEnd (uint32_t ui32Base, uint32_t ui32Data) |
int32_t | SSIAdvDataPutFrameEndNonBlocking (uint32_t ui32Base, uint32_t ui32Data) |
void | SSIAdvFrameHoldEnable (uint32_t ui32Base) |
void | SSIAdvFrameHoldDisable (uint32_t ui32Base) |
#define SSI_TXEOT 0x00000040 |
#define SSI_DMATX 0x00000020 |
#define SSI_DMARX 0x00000010 |
#define SSI_TXFF 0x00000008 |
#define SSI_RXFF 0x00000004 |
#define SSI_RXTO 0x00000002 |
#define SSI_RXOR 0x00000001 |
#define SSI_FRF_MOTO_MODE_0 0x00000000 |
Referenced by SSIConfigSetExpClk().
#define SSI_FRF_MOTO_MODE_1 0x00000002 |
Referenced by SSIConfigSetExpClk().
#define SSI_FRF_MOTO_MODE_2 0x00000001 |
Referenced by SSIConfigSetExpClk().
#define SSI_FRF_MOTO_MODE_3 0x00000003 |
Referenced by SSIConfigSetExpClk().
#define SSI_FRF_TI 0x00000010 |
Referenced by SSIConfigSetExpClk().
#define SSI_MODE_MASTER 0x00000000 |
Referenced by SSIConfigSetExpClk().
#define SSI_MODE_SLAVE 0x00000001 |
Referenced by SSIConfigSetExpClk().
#define SSI_DMA_TX 0x00000002 |
#define SSI_DMA_RX 0x00000001 |
#define SSI_CLOCK_SYSTEM 0x00000000 |
Referenced by SSIClockSourceSet().
#define SSI_CLOCK_ALTCLK 0x00000005 |
Referenced by SSIClockSourceSet().
#define SSI_ADV_MODE_LEGACY 0x00000000 |
Referenced by SSIAdvModeSet().
#define SSI_ADV_MODE_READ_WRITE 0x000001c0 |
Referenced by SSIAdvModeSet().
#define SSI_ADV_MODE_WRITE 0x000000c0 |
Referenced by SSIAdvModeSet().
#define SSI_ADV_MODE_BI_READ 0x00000140 |
Referenced by SSIAdvModeSet().
#define SSI_ADV_MODE_BI_WRITE 0x00000040 |
Referenced by SSIAdvModeSet().
#define SSI_ADV_MODE_QUAD_READ 0x00000180 |
Referenced by SSIAdvModeSet().
#define SSI_ADV_MODE_QUAD_WRITE 0x00000080 |
Referenced by SSIAdvModeSet().