SPI_Private_Defines
[SPI]

Defines

#define CR1_CLEAR_Mask   ((uint16_t)0x3040)
#define CR1_CRCEN_Reset   ((uint16_t)0xDFFF)
#define CR1_CRCEN_Set   ((uint16_t)0x2000)
#define CR1_CRCNext_Set   ((uint16_t)0x1000)
#define CR1_SPE_Reset   ((uint16_t)0xFFBF)
#define CR1_SPE_Set   ((uint16_t)0x0040)
#define CR2_SSOE_Reset   ((uint16_t)0xFFFB)
#define CR2_SSOE_Set   ((uint16_t)0x0004)
#define I2S2_CLOCK_SRC   ((uint32_t)(0x00020000))
#define I2S3_CLOCK_SRC   ((uint32_t)(0x00040000))
#define I2S_DIV_MASK   ((uint32_t)(0x000000F0))
#define I2S_Mode_Select   ((uint16_t)0x0800)
#define I2S_MUL_MASK   ((uint32_t)(0x0000F000))
#define I2SCFGR_CLEAR_Mask   ((uint16_t)0xF040)
#define I2SCFGR_I2SE_Reset   ((uint16_t)0xFBFF)
#define I2SCFGR_I2SE_Set   ((uint16_t)0x0400)
#define SPI_Mode_Select   ((uint16_t)0xF7FF)

Define Documentation

#define CR1_CLEAR_Mask   ((uint16_t)0x3040)

Definition at line 67 of file stm32f10x_spi.c.

#define CR1_CRCEN_Reset   ((uint16_t)0xDFFF)

Definition at line 60 of file stm32f10x_spi.c.

Referenced by SPI_CalculateCRC().

#define CR1_CRCEN_Set   ((uint16_t)0x2000)

Definition at line 59 of file stm32f10x_spi.c.

Referenced by SPI_CalculateCRC().

#define CR1_CRCNext_Set   ((uint16_t)0x1000)

Definition at line 56 of file stm32f10x_spi.c.

Referenced by SPI_TransmitCRC().

#define CR1_SPE_Reset   ((uint16_t)0xFFBF)

Definition at line 49 of file stm32f10x_spi.c.

Referenced by SPI_Cmd().

#define CR1_SPE_Set   ((uint16_t)0x0040)

Definition at line 48 of file stm32f10x_spi.c.

Referenced by SPI_Cmd().

#define CR2_SSOE_Reset   ((uint16_t)0xFFFB)

Definition at line 64 of file stm32f10x_spi.c.

Referenced by SPI_SSOutputCmd().

#define CR2_SSOE_Set   ((uint16_t)0x0004)

Definition at line 63 of file stm32f10x_spi.c.

Referenced by SPI_SSOutputCmd().

#define I2S2_CLOCK_SRC   ((uint32_t)(0x00020000))

Definition at line 75 of file stm32f10x_spi.c.

Referenced by I2S_Init().

#define I2S3_CLOCK_SRC   ((uint32_t)(0x00040000))

Definition at line 76 of file stm32f10x_spi.c.

Referenced by I2S_Init().

#define I2S_DIV_MASK   ((uint32_t)(0x000000F0))

Definition at line 78 of file stm32f10x_spi.c.

Referenced by I2S_Init().

#define I2S_Mode_Select   ((uint16_t)0x0800)

Definition at line 72 of file stm32f10x_spi.c.

Referenced by I2S_Init().

#define I2S_MUL_MASK   ((uint32_t)(0x0000F000))

Definition at line 77 of file stm32f10x_spi.c.

Referenced by I2S_Init().

#define I2SCFGR_CLEAR_Mask   ((uint16_t)0xF040)

Definition at line 68 of file stm32f10x_spi.c.

Referenced by I2S_Init().

#define I2SCFGR_I2SE_Reset   ((uint16_t)0xFBFF)

Definition at line 53 of file stm32f10x_spi.c.

Referenced by I2S_Cmd().

#define I2SCFGR_I2SE_Set   ((uint16_t)0x0400)

Definition at line 52 of file stm32f10x_spi.c.

Referenced by I2S_Cmd().

#define SPI_Mode_Select   ((uint16_t)0xF7FF)

Definition at line 71 of file stm32f10x_spi.c.

Referenced by SPI_Init().

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32