SPI_Clock_Polarity
[SPI_Exported_Constants]

Defines

#define IS_SPI_CPOL(CPOL)
#define SPI_CPOL_High   ((uint16_t)0x0002)
#define SPI_CPOL_Low   ((uint16_t)0x0000)

Define Documentation

#define IS_SPI_CPOL ( CPOL   ) 
Value:
(((CPOL) == SPI_CPOL_Low) || \
                           ((CPOL) == SPI_CPOL_High))

Definition at line 169 of file stm32f10x_spi.h.

Referenced by SPI_Init().

#define SPI_CPOL_High   ((uint16_t)0x0002)
#define SPI_CPOL_Low   ((uint16_t)0x0000)

Definition at line 167 of file stm32f10x_spi.h.

Referenced by LCD_SPIConfig(), main(), and SPI_StructInit().

STM32F10x Standard Peripherals Library: Footer

 

 

 

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