STM8L15x Standard Peripherals Drivers: USART_Clock_Phase

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_USART_CPHA(CPHA)   (((CPHA) == USART_CPHA_1Edge) || ((CPHA) == USART_CPHA_2Edge))

Enumerations

enum  USART_CPHA_TypeDef { USART_CPHA_1Edge = (uint8_t)0x00, USART_CPHA_2Edge = (uint8_t)0x02 }

Define Documentation

#define IS_USART_CPHA (   CPHA)    (((CPHA) == USART_CPHA_1Edge) || ((CPHA) == USART_CPHA_2Edge))

Definition at line 284 of file stm8l15x_usart.h.

Referenced by USART_ClockInit().


Enumeration Type Documentation

Enumerator:
USART_CPHA_1Edge 

The first clock transition is the first data capture edge

USART_CPHA_2Edge 

The second clock transition is the first data capture edge

Definition at line 278 of file stm8l15x_usart.h.

STM8S Firmware Library: Overview

 

 

 

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