#[repr(transparent)]pub struct Xtal32k(pub u32);Expand description
32 KHz Crystal oscillator (XTAL) control register [Reset by: PoR, Brown Out Detectors Reset]
Tuple Fields§
§0: u32Implementations§
Source§impl Xtal32k
impl Xtal32k
Sourcepub const fn set_capbankin(&mut self, val: u8)
pub const fn set_capbankin(&mut self, val: u8)
Capa bank setting input.
Sourcepub const fn capbankout(&self) -> u8
pub const fn capbankout(&self) -> u8
Capa bank setting output.
Sourcepub const fn set_capbankout(&mut self, val: u8)
pub const fn set_capbankout(&mut self, val: u8)
Capa bank setting output.
Sourcepub const fn capteststartsrcsel(&self) -> Capteststartsrcsel
pub const fn capteststartsrcsel(&self) -> Capteststartsrcsel
Source selection for xo32k_captest_start_ao_set.
Sourcepub const fn set_capteststartsrcsel(&mut self, val: Capteststartsrcsel)
pub const fn set_capteststartsrcsel(&mut self, val: Capteststartsrcsel)
Source selection for xo32k_captest_start_ao_set.
Sourcepub const fn capteststart(&self) -> bool
pub const fn capteststart(&self) -> bool
Start test.
Sourcepub const fn set_capteststart(&mut self, val: bool)
pub const fn set_capteststart(&mut self, val: bool)
Start test.
Sourcepub const fn captestenable(&self) -> bool
pub const fn captestenable(&self) -> bool
Enable signal for cap test.
Sourcepub const fn set_captestenable(&mut self, val: bool)
pub const fn set_captestenable(&mut self, val: bool)
Enable signal for cap test.
Sourcepub const fn captestoscinsel(&self) -> Captestoscinsel
pub const fn captestoscinsel(&self) -> Captestoscinsel
Select the input for test.
Sourcepub const fn set_captestoscinsel(&mut self, val: Captestoscinsel)
pub const fn set_captestoscinsel(&mut self, val: Captestoscinsel)
Select the input for test.
Trait Implementations§
impl Copy for Xtal32k
impl Eq for Xtal32k
impl StructuralPartialEq for Xtal32k
Auto Trait Implementations§
impl Freeze for Xtal32k
impl RefUnwindSafe for Xtal32k
impl Send for Xtal32k
impl Sync for Xtal32k
impl Unpin for Xtal32k
impl UnwindSafe for Xtal32k
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