modm API documentation
|
#include <modm/platform/uart/uart_base.hpp>
Public Types | |
enum | Interrupt : uint32_t { Interrupt::CharacterMatch = USART_CR1_CMIE, Interrupt::ParityError = USART_CR1_PEIE, Interrupt::TxEmpty = USART_CR1_TXEIE, Interrupt::TxComplete = USART_CR1_TCIE, Interrupt::RxNotEmpty = USART_CR1_RXNEIE } |
enum | InterruptFlag : uint32_t { InterruptFlag::CharacterMatch = USART_ISR_CMF, InterruptFlag::TxEmpty = USART_ISR_TXE, InterruptFlag::TxComplete = USART_ISR_TC, InterruptFlag::RxNotEmpty = USART_ISR_RXNE, InterruptFlag::OverrunError = USART_ISR_ORE, InterruptFlag::FramingError = USART_ISR_FE, InterruptFlag::ParityError = USART_ISR_PE } |
enum | Parity : uint32_t { Disabled = 0, Even = USART_CR1_PCE, Odd = USART_CR1_PCE | USART_CR1_PS } |
enum | WordLength : uint32_t { Bit8 = 0, Bit9 = USART_CR1_M } |
enum | SpiClock : uint32_t { Disabled = 0b0, Enabled = USART_CR2_CLKEN } |
enum | LastBitClockPulse : uint32_t { DoNotOutput = 0b0, Output = USART_CR2_LBCL } |
enum | SpiDataMode : uint32_t { Mode0 = 0b00, Mode1 = USART_CR2_CPHA, Mode2 = USART_CR2_CPOL, Mode3 = USART_CR2_CPOL | USART_CR2_CPHA } |
Public Member Functions | |
MODM_FLAGS32 (Interrupt) | |
MODM_FLAGS32 (InterruptFlag) | |
|
strong |
|
strong |