#[repr(transparent)]pub struct Presetctrl1(pub u32);Expand description
Peripheral reset control 1
Tuple Fields§
§0: u32Implementations§
Source§impl Presetctrl1
impl Presetctrl1
Sourcepub const fn set_mrt_rst(&mut self, val: MrtRst)
pub const fn set_mrt_rst(&mut self, val: MrtRst)
MRT reset control.
Sourcepub const fn ostimer_rst(&self) -> OstimerRst
pub const fn ostimer_rst(&self) -> OstimerRst
OS Event Timer reset control.
Sourcepub const fn set_ostimer_rst(&mut self, val: OstimerRst)
pub const fn set_ostimer_rst(&mut self, val: OstimerRst)
OS Event Timer reset control.
Sourcepub const fn set_sct_rst(&mut self, val: SctRst)
pub const fn set_sct_rst(&mut self, val: SctRst)
SCT reset control.
Sourcepub const fn sctipu_rst(&self) -> SctipuRst
pub const fn sctipu_rst(&self) -> SctipuRst
SCTIPU reset control.
Sourcepub const fn set_sctipu_rst(&mut self, val: SctipuRst)
pub const fn set_sctipu_rst(&mut self, val: SctipuRst)
SCTIPU reset control.
Sourcepub const fn set_utick_rst(&mut self, val: UtickRst)
pub const fn set_utick_rst(&mut self, val: UtickRst)
UTICK reset control.
Sourcepub const fn set_fc_rst(&mut self, n: usize, val: FcRst)
pub const fn set_fc_rst(&mut self, n: usize, val: FcRst)
FC0 reset control.
Sourcepub const fn timer2_rst(&self) -> Timer2Rst
pub const fn timer2_rst(&self) -> Timer2Rst
Timer 2 reset control.
Sourcepub const fn set_timer2_rst(&mut self, val: Timer2Rst)
pub const fn set_timer2_rst(&mut self, val: Timer2Rst)
Timer 2 reset control.
Sourcepub const fn usb0_dev_rst(&self) -> Usb0DevRst
pub const fn usb0_dev_rst(&self) -> Usb0DevRst
USB0 DEV reset control.
Sourcepub const fn set_usb0_dev_rst(&mut self, val: Usb0DevRst)
pub const fn set_usb0_dev_rst(&mut self, val: Usb0DevRst)
USB0 DEV reset control.
Sourcepub const fn timer0_rst(&self) -> Timer0Rst
pub const fn timer0_rst(&self) -> Timer0Rst
Timer 0 reset control.
Sourcepub const fn set_timer0_rst(&mut self, val: Timer0Rst)
pub const fn set_timer0_rst(&mut self, val: Timer0Rst)
Timer 0 reset control.
Sourcepub const fn timer1_rst(&self) -> Timer1Rst
pub const fn timer1_rst(&self) -> Timer1Rst
Timer 1 reset control.
Sourcepub const fn set_timer1_rst(&mut self, val: Timer1Rst)
pub const fn set_timer1_rst(&mut self, val: Timer1Rst)
Timer 1 reset control.
Trait Implementations§
Source§impl Clone for Presetctrl1
impl Clone for Presetctrl1
Source§fn clone(&self) -> Presetctrl1
fn clone(&self) -> Presetctrl1
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Presetctrl1
impl Debug for Presetctrl1
Source§impl Default for Presetctrl1
impl Default for Presetctrl1
Source§fn default() -> Presetctrl1
fn default() -> Presetctrl1
Returns the “default value” for a type. Read more
Source§impl PartialEq for Presetctrl1
impl PartialEq for Presetctrl1
impl Copy for Presetctrl1
impl Eq for Presetctrl1
impl StructuralPartialEq for Presetctrl1
Auto Trait Implementations§
impl Freeze for Presetctrl1
impl RefUnwindSafe for Presetctrl1
impl Send for Presetctrl1
impl Sync for Presetctrl1
impl Unpin for Presetctrl1
impl UnwindSafe for Presetctrl1
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