#[repr(u32)]pub enum Value {
Disabled = 0,
Enabled = 1,
}Expand description
UART enable:
0 = UART is disabled. If the UART is disabled in the middle of transmission or reception, it completes the current character before stopping.
1 = The UART is enabled. Data transmission and reception occurs for either UART signals or SIR signals depending on the setting of the SIREN bit
Variants§
Disabled = 0
If the UART is disabled in the middle of transmission or reception, it completes the current character before stopping.
Enabled = 1
Trait Implementations§
Source§impl TryFromValue<u32> for Value
impl TryFromValue<u32> for Value
impl Copy for Value
impl Eq for Value
impl StructuralPartialEq for Value
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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