SPI_BaudRate_Prescaler
[SPI_Exported_Constants]

Defines

#define IS_SPI_BAUDRATE_PRESCALER(PRESCALER)
#define SPI_BaudRatePrescaler_128   ((uint16_t)0x0030)
#define SPI_BaudRatePrescaler_16   ((uint16_t)0x0018)
#define SPI_BaudRatePrescaler_2   ((uint16_t)0x0000)
#define SPI_BaudRatePrescaler_256   ((uint16_t)0x0038)
#define SPI_BaudRatePrescaler_32   ((uint16_t)0x0020)
#define SPI_BaudRatePrescaler_4   ((uint16_t)0x0008)
#define SPI_BaudRatePrescaler_64   ((uint16_t)0x0028)
#define SPI_BaudRatePrescaler_8   ((uint16_t)0x0010)

Define Documentation

#define IS_SPI_BAUDRATE_PRESCALER ( PRESCALER   ) 
Value:
(((PRESCALER) == SPI_BaudRatePrescaler_2) || \
                                              ((PRESCALER) == SPI_BaudRatePrescaler_4) || \
                                              ((PRESCALER) == SPI_BaudRatePrescaler_8) || \
                                              ((PRESCALER) == SPI_BaudRatePrescaler_16) || \
                                              ((PRESCALER) == SPI_BaudRatePrescaler_32) || \
                                              ((PRESCALER) == SPI_BaudRatePrescaler_64) || \
                                              ((PRESCALER) == SPI_BaudRatePrescaler_128) || \
                                              ((PRESCALER) == SPI_BaudRatePrescaler_256))

Definition at line 211 of file stm32f10x_spi.h.

Referenced by SPI_Init().

#define SPI_BaudRatePrescaler_128   ((uint16_t)0x0030)

Definition at line 209 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_16   ((uint16_t)0x0018)

Definition at line 206 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_2   ((uint16_t)0x0000)

Definition at line 203 of file stm32f10x_spi.h.

Referenced by LCD_SPIConfig(), SD_LowLevel_Init(), sFLASH_Init(), and SPI_StructInit().

#define SPI_BaudRatePrescaler_256   ((uint16_t)0x0038)

Definition at line 210 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_32   ((uint16_t)0x0020)

Definition at line 207 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_4   ((uint16_t)0x0008)

Definition at line 204 of file stm32f10x_spi.h.

Referenced by main(), SD_LowLevel_Init(), and sFLASH_Init().

#define SPI_BaudRatePrescaler_64   ((uint16_t)0x0028)

Definition at line 208 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_8   ((uint16_t)0x0010)

Definition at line 205 of file stm32f10x_spi.h.

Referenced by main().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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