STM8S/A Standard Peripherals Drivers
|
Define Documentation
#define UART3_BRR1_DIVM ((uint8_t)0xFF) |
LSB mantissa of UARTDIV [7:0] mask
Definition at line 2012 of file stm8s.h.
Referenced by UART3_Init().
#define UART3_BRR2_DIVF ((uint8_t)0x0F) |
Fraction bits of UARTDIV [3:0] mask
Definition at line 2015 of file stm8s.h.
Referenced by UART3_Init().
#define UART3_BRR2_DIVM ((uint8_t)0xF0) |
MSB mantissa of UARTDIV [11:8] mask
Definition at line 2014 of file stm8s.h.
Referenced by UART3_Init().
#define UART3_CR1_M ((uint8_t)0x10) |
#define UART3_CR1_PCEN ((uint8_t)0x04) |
#define UART3_CR1_PIEN ((uint8_t)0x01) |
#define UART3_CR1_PS ((uint8_t)0x02) |
#define UART3_CR1_R8 ((uint8_t)0x80) |
#define UART3_CR1_T8 ((uint8_t)0x40) |
#define UART3_CR1_UARTD ((uint8_t)0x20) |
UART Disable (for low power consumption)
Definition at line 2019 of file stm8s.h.
Referenced by UART3_Cmd().
#define UART3_CR1_WAKE ((uint8_t)0x08) |
#define UART3_CR2_ILIEN ((uint8_t)0x10) |
#define UART3_CR2_REN ((uint8_t)0x04) |
#define UART3_CR2_RIEN ((uint8_t)0x20) |
#define UART3_CR2_RWU ((uint8_t)0x02) |
Receiver Wake-Up mask
Definition at line 2032 of file stm8s.h.
Referenced by UART3_ReceiverWakeUpCmd().
#define UART3_CR2_SBK ((uint8_t)0x01) |
#define UART3_CR2_TCIEN ((uint8_t)0x40) |
#define UART3_CR2_TEN ((uint8_t)0x08) |
#define UART3_CR2_TIEN ((uint8_t)0x80) |
#define UART3_CR3_LINEN ((uint8_t)0x40) |
Alternate Function output mask
Definition at line 2035 of file stm8s.h.
Referenced by UART3_LINCmd().
#define UART3_CR3_STOP ((uint8_t)0x30) |
#define UART3_CR4_ADD ((uint8_t)0x0F) |
Address of the UART3 node mask
Definition at line 2041 of file stm8s.h.
Referenced by UART3_SetAddress().
#define UART3_CR4_LBDF ((uint8_t)0x10) |
LIN Break Detection Flag mask
Definition at line 2040 of file stm8s.h.
Referenced by UART3_ClearFlag(), and UART3_ClearITPendingBit().
#define UART3_CR4_LBDIEN ((uint8_t)0x40) |
#define UART3_CR4_LBDL ((uint8_t)0x20) |
LIN Break Detection Length mask
Definition at line 2039 of file stm8s.h.
Referenced by UART3_LINBreakDetectionConfig().
#define UART3_CR6_LASE ((uint8_t)0x10) |
LIN Auto synchronization Enable
Definition at line 2045 of file stm8s.h.
Referenced by UART3_LINConfig().
#define UART3_CR6_LDUM ((uint8_t)0x80) |
#define UART3_CR6_LHDF ((uint8_t)0x02) |
LIN Header Detection Flag
Definition at line 2047 of file stm8s.h.
Referenced by UART3_ClearFlag(), and UART3_ClearITPendingBit().
#define UART3_CR6_LHDIEN ((uint8_t)0x04) |
#define UART3_CR6_LSF ((uint8_t)0x01) |
#define UART3_CR6_LSLV ((uint8_t)0x20) |
#define UART3_SR_IDLE ((uint8_t)0x10) |
#define UART3_SR_RXNE ((uint8_t)0x20) |
Read Data Register Not Empty mask
Definition at line 2005 of file stm8s.h.
Referenced by UART3_ClearFlag(), and UART3_ClearITPendingBit().
#define UART3_SR_TC ((uint8_t)0x40) |