STM8L15x Standard Peripherals Drivers: USART_Clock_Polarity

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

USART_Clock_Polarity

Defines

#define IS_USART_CPOL(CPOL)   (((CPOL) == USART_CPOL_Low) || ((CPOL) == USART_CPOL_High))

Enumerations

enum  USART_CPOL_TypeDef { USART_CPOL_Low = (uint8_t)0x00, USART_CPOL_High = (uint8_t)0x04 }

Define Documentation

#define IS_USART_CPOL (   CPOL)    (((CPOL) == USART_CPOL_Low) || ((CPOL) == USART_CPOL_High))

Definition at line 270 of file stm8l15x_usart.h.

Referenced by USART_ClockInit().


Enumeration Type Documentation

Enumerator:
USART_CPOL_Low 

CK to 0 when idle

USART_CPOL_High 

CK to 1 when idle.

Definition at line 264 of file stm8l15x_usart.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com