distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
Functions | |
devices::UartBase::ErrorSet | decodeErrors (const uint32_t sr) |
Decode value of USART_SR register to devices::UartBase::ErrorSet. More... | |
devices::UartBase::ErrorSet distortos::chip::anonymous_namespace{STM32-USARTv1-ChipUartLowLevel.cpp}::decodeErrors | ( | const uint32_t | sr | ) |
Decode value of USART_SR register to devices::UartBase::ErrorSet.
[in] | sr | is the value of USART_SR register that will be decoded |