#[repr(transparent)]pub struct CpuPupscr(pub u32);Expand description
PGC CPU Power Up Sequence Control Register
Tuple Fields§
§0: u32Implementations§
Source§impl CpuPupscr
impl CpuPupscr
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§
impl Copy for CpuPupscr
impl Eq for CpuPupscr
impl StructuralPartialEq for CpuPupscr
Auto Trait Implementations§
impl Freeze for CpuPupscr
impl RefUnwindSafe for CpuPupscr
impl Send for CpuPupscr
impl Sync for CpuPupscr
impl Unpin for CpuPupscr
impl UnwindSafe for CpuPupscr
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