STM8L15x Standard Peripherals Drivers: USART_Stop_Bits

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_USART_STOPBITS(StopBit)

Enumerations

enum  USART_StopBits_TypeDef { USART_StopBits_1 = (uint8_t)0x00, USART_StopBits_2 = (uint8_t)0x20, USART_StopBits_1_5 = (uint8_t)0x30 }

Define Documentation

#define IS_USART_STOPBITS (   StopBit)
Value:
(((StopBit) == USART_StopBits_1) || \
                                   ((StopBit) == USART_StopBits_1_5) || \
                                   ((StopBit) == USART_StopBits_2))

Definition at line 151 of file stm8l15x_usart.h.

Referenced by USART_Init().


Enumeration Type Documentation

Enumerator:
USART_StopBits_1 

One stop bit is transmitted at the end of frame

USART_StopBits_2 

Two stop bits are transmitted at the end of frame

USART_StopBits_1_5 

One and half stop bits

Definition at line 144 of file stm8l15x_usart.h.

STM8S Firmware Library: Overview

 

 

 

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