uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SPI_Private_Defines

Macros

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

Detailed Description

Macro Definition Documentation

#define CR1_CLEAR_Mask   ((uint16_t)0x3040)

Definition at line 68 of file stm32f10x_spi.c.

#define CR1_CRCEN_Reset   ((uint16_t)0xDFFF)

Definition at line 61 of file stm32f10x_spi.c.

#define CR1_CRCEN_Set   ((uint16_t)0x2000)

Definition at line 60 of file stm32f10x_spi.c.

#define CR1_CRCNext_Set   ((uint16_t)0x1000)

Definition at line 57 of file stm32f10x_spi.c.

#define CR1_SPE_Reset   ((uint16_t)0xFFBF)

Definition at line 50 of file stm32f10x_spi.c.

#define CR1_SPE_Set   ((uint16_t)0x0040)

Definition at line 49 of file stm32f10x_spi.c.

#define CR2_SSOE_Reset   ((uint16_t)0xFFFB)

Definition at line 65 of file stm32f10x_spi.c.

#define CR2_SSOE_Set   ((uint16_t)0x0004)

Definition at line 64 of file stm32f10x_spi.c.

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

Definition at line 76 of file stm32f10x_spi.c.

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

Definition at line 77 of file stm32f10x_spi.c.

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

Definition at line 79 of file stm32f10x_spi.c.

#define I2S_Mode_Select   ((uint16_t)0x0800)

Definition at line 73 of file stm32f10x_spi.c.

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

Definition at line 78 of file stm32f10x_spi.c.

#define I2SCFGR_CLEAR_Mask   ((uint16_t)0xF040)

Definition at line 69 of file stm32f10x_spi.c.

#define I2SCFGR_I2SE_Reset   ((uint16_t)0xFBFF)

Definition at line 54 of file stm32f10x_spi.c.

#define I2SCFGR_I2SE_Set   ((uint16_t)0x0400)

Definition at line 53 of file stm32f10x_spi.c.

#define SPI_Mode_Select   ((uint16_t)0xF7FF)

Definition at line 72 of file stm32f10x_spi.c.