Struct Cr3
#[repr(transparent)]pub struct Cr3(pub u32);
Expand description
Control register 3
Tuple Fields§
§0: u32
Implementations§
§impl Cr3
impl Cr3
pub fn set_onebit(&mut self, val: bool)
pub fn set_onebit(&mut self, val: bool)
One sample bit method enable
pub fn set_ovrdis(&mut self, val: bool)
pub fn set_ovrdis(&mut self, val: bool)
Overrun Disable
pub fn set_scarcnt(&mut self, val: u8)
pub fn set_scarcnt(&mut self, val: u8)
Smartcard auto-retry count
pub fn set_txftie(&mut self, val: bool)
pub fn set_txftie(&mut self, val: bool)
TXFIFO threshold interrupt enable
pub fn set_rxftcfg(&mut self, val: u8)
pub fn set_rxftcfg(&mut self, val: u8)
Receive FIFO threshold configuration
pub fn set_rxftie(&mut self, val: bool)
pub fn set_rxftie(&mut self, val: bool)
RXFIFO threshold interrupt enable
pub fn set_txftcfg(&mut self, val: u8)
pub fn set_txftcfg(&mut self, val: u8)
TXFIFO threshold configuration
Trait Implementations§
impl Copy for Cr3
impl Eq for Cr3
impl StructuralPartialEq for Cr3
Auto Trait Implementations§
impl Freeze for Cr3
impl RefUnwindSafe for Cr3
impl Send for Cr3
impl Sync for Cr3
impl Unpin for Cr3
impl UnwindSafe for Cr3
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)