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

Macros

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

Detailed Description

Macro Definition 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 212 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_128   ((uint16_t)0x0030)

Definition at line 210 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_16   ((uint16_t)0x0018)

Definition at line 207 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_2   ((uint16_t)0x0000)

Definition at line 204 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_256   ((uint16_t)0x0038)

Definition at line 211 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_32   ((uint16_t)0x0020)

Definition at line 208 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_4   ((uint16_t)0x0008)

Definition at line 205 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_64   ((uint16_t)0x0028)

Definition at line 209 of file stm32f10x_spi.h.

#define SPI_BaudRatePrescaler_8   ((uint16_t)0x0010)

Definition at line 206 of file stm32f10x_spi.h.