MSP432E4 DriverLib API Guide  1.11.00.03
Macros | Functions
ssi.h File Reference
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for ssi.h:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

§ SSI_TXEOT

#define SSI_TXEOT   0x00000040

§ SSI_DMATX

#define SSI_DMATX   0x00000020

§ SSI_DMARX

#define SSI_DMARX   0x00000010

§ SSI_TXFF

#define SSI_TXFF   0x00000008

§ SSI_RXFF

#define SSI_RXFF   0x00000004

§ SSI_RXTO

#define SSI_RXTO   0x00000002

§ SSI_RXOR

#define SSI_RXOR   0x00000001

§ SSI_FRF_MOTO_MODE_0

#define SSI_FRF_MOTO_MODE_0   0x00000000

Referenced by SSIConfigSetExpClk().

§ SSI_FRF_MOTO_MODE_1

#define SSI_FRF_MOTO_MODE_1   0x00000002

Referenced by SSIConfigSetExpClk().

§ SSI_FRF_MOTO_MODE_2

#define SSI_FRF_MOTO_MODE_2   0x00000001

Referenced by SSIConfigSetExpClk().

§ SSI_FRF_MOTO_MODE_3

#define SSI_FRF_MOTO_MODE_3   0x00000003

Referenced by SSIConfigSetExpClk().

§ SSI_FRF_TI

#define SSI_FRF_TI   0x00000010

Referenced by SSIConfigSetExpClk().

§ SSI_MODE_MASTER

#define SSI_MODE_MASTER   0x00000000

Referenced by SSIConfigSetExpClk().

§ SSI_MODE_SLAVE

#define SSI_MODE_SLAVE   0x00000001

Referenced by SSIConfigSetExpClk().

§ SSI_DMA_TX

#define SSI_DMA_TX   0x00000002

§ SSI_DMA_RX

#define SSI_DMA_RX   0x00000001

§ SSI_CLOCK_SYSTEM

#define SSI_CLOCK_SYSTEM   0x00000000

Referenced by SSIClockSourceSet().

§ SSI_CLOCK_ALTCLK

#define SSI_CLOCK_ALTCLK   0x00000005

Referenced by SSIClockSourceSet().

§ SSI_ADV_MODE_LEGACY

#define SSI_ADV_MODE_LEGACY   0x00000000

Referenced by SSIAdvModeSet().

§ SSI_ADV_MODE_READ_WRITE

#define SSI_ADV_MODE_READ_WRITE   0x000001c0

Referenced by SSIAdvModeSet().

§ SSI_ADV_MODE_WRITE

#define SSI_ADV_MODE_WRITE   0x000000c0

Referenced by SSIAdvModeSet().

§ SSI_ADV_MODE_BI_READ

#define SSI_ADV_MODE_BI_READ   0x00000140

Referenced by SSIAdvModeSet().

§ SSI_ADV_MODE_BI_WRITE

#define SSI_ADV_MODE_BI_WRITE   0x00000040

Referenced by SSIAdvModeSet().

§ SSI_ADV_MODE_QUAD_READ

#define SSI_ADV_MODE_QUAD_READ   0x00000180

Referenced by SSIAdvModeSet().

§ SSI_ADV_MODE_QUAD_WRITE

#define SSI_ADV_MODE_QUAD_WRITE   0x00000080

Referenced by SSIAdvModeSet().

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale