![]() |
ClearCore Library
|
A register to report errors detected on the serial port.
#include <SerialBase.h>
Public Member Functions | |
SerialErrorStatusRegister () | |
SerialErrorStatusRegister (uint32_t val) | |
operator bool () const | |
Public Attributes | ||
uint32_t | reg | |
struct { | ||
uint32_t SerialFrameError: 1 | ||
uint32_t SerialParityError: 1 | ||
uint32_t SerialOverflowError: 1 | ||
} | bit | |
|
inline |
Serial error register default constructor
|
inline |
Serial error register constructor with initial value
|
inline |
Interpret the serial error register as a boolean by reporting whether any bits are set.
struct { ... } ClearCore::SerialBase::SerialErrorStatusRegister::bit |
Field access to the register
uint32_t ClearCore::SerialBase::SerialErrorStatusRegister::reg |
Broad access to the whole register
uint32_t ClearCore::SerialBase::SerialErrorStatusRegister::SerialFrameError |
A frame error has been detected on the serial port.
uint32_t ClearCore::SerialBase::SerialErrorStatusRegister::SerialOverflowError |
An overflow error has been detected on the serial port.
uint32_t ClearCore::SerialBase::SerialErrorStatusRegister::SerialParityError |
A parity error has been detected on the serial port.