#[repr(u8)]pub enum Rxcfg {
RETURNS_RECEIVED_DATA_AND_CLEARS_RX_DATA_FLAG = 0,
WHEN_ADDRESS_VALID_FLAG_SET_RETURNS_ADDRESS_STATUS_AND_CLEARS_ADDRESS_VALID_FLAG = 1,
}Variants§
RETURNS_RECEIVED_DATA_AND_CLEARS_RX_DATA_FLAG = 0
Reading the Receive Data register returns received data and clears the Receive Data flag (MSR[RDF]).
WHEN_ADDRESS_VALID_FLAG_SET_RETURNS_ADDRESS_STATUS_AND_CLEARS_ADDRESS_VALID_FLAG = 1
Reading the Receive Data register when the Address Valid flag (SSR[AVF])is set, returns the Address Status register and clear the Address Valid flag. Reading the Receive Data register when the Address Valid flag is clear, returns received data and clears the Receive Data flag (MSR[RDF]).
Implementations§
Trait Implementations§
Source§impl Ord for Rxcfg
impl Ord for Rxcfg
Source§impl PartialOrd for Rxcfg
impl PartialOrd for Rxcfg
impl Copy for Rxcfg
impl Eq for Rxcfg
impl StructuralPartialEq for Rxcfg
Auto Trait Implementations§
impl Freeze for Rxcfg
impl RefUnwindSafe for Rxcfg
impl Send for Rxcfg
impl Sync for Rxcfg
impl Unpin for Rxcfg
impl UnwindSafe for Rxcfg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more