#[repr(transparent)]pub struct MegaPupscr(pub u32);Expand description
PGC Mega Power Up Sequence Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl MegaPupscr
impl MegaPupscr
Sourcepub const fn sw(&self) -> u8
pub const fn sw(&self) -> u8
After a power-up request (pup_req assertion), the PGC waits a number of IPG clocks equal to the value of SW before asserting power toggle on/off signal (switch_b) to switch on power
Sourcepub const fn set_sw(&mut self, val: u8)
pub const fn set_sw(&mut self, val: u8)
After a power-up request (pup_req assertion), the PGC waits a number of IPG clocks equal to the value of SW before asserting power toggle on/off signal (switch_b) to switch on power
Sourcepub const fn sw2iso(&self) -> u8
pub const fn sw2iso(&self) -> u8
After asserting power toggle on/off signal (switch_b) to switch on power, the PGC waits a number of IPG clocks equal to the value of SW2ISO before negating isolation
Sourcepub const fn set_sw2iso(&mut self, val: u8)
pub const fn set_sw2iso(&mut self, val: u8)
After asserting power toggle on/off signal (switch_b) to switch on power, the PGC waits a number of IPG clocks equal to the value of SW2ISO before negating isolation
Trait Implementations§
Source§impl Clone for MegaPupscr
impl Clone for MegaPupscr
Source§fn clone(&self) -> MegaPupscr
fn clone(&self) -> MegaPupscr
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 MegaPupscr
impl Debug for MegaPupscr
Source§impl Default for MegaPupscr
impl Default for MegaPupscr
Source§fn default() -> MegaPupscr
fn default() -> MegaPupscr
Returns the “default value” for a type. Read more
Source§impl PartialEq for MegaPupscr
impl PartialEq for MegaPupscr
impl Copy for MegaPupscr
impl Eq for MegaPupscr
impl StructuralPartialEq for MegaPupscr
Auto Trait Implementations§
impl Freeze for MegaPupscr
impl RefUnwindSafe for MegaPupscr
impl Send for MegaPupscr
impl Sync for MegaPupscr
impl Unpin for MegaPupscr
impl UnwindSafe for MegaPupscr
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