[][src]Struct imxrt1062_pgc::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _MEGA_CTRL>>[src]

pub fn pcr(&mut self) -> PCR_W[src]

Bit 0 - Power Control PCR must not change from power-down request (pdn_req) assertion until the target subsystem is completely powered up

impl W<u32, Reg<u32, _MEGA_PUPSCR>>[src]

pub fn sw(&mut self) -> SW_W[src]

Bits 0:5 - 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)

pub fn sw2iso(&mut self) -> SW2ISO_W[src]

Bits 8:13 - After asserting power toggle on/off signal (switch_b), the PGC waits a number of IPG clocks equal to the value of SW2ISO before negating isolation

impl W<u32, Reg<u32, _MEGA_PDNSCR>>[src]

pub fn iso(&mut self) -> ISO_W[src]

Bits 0:5 - After a power-down request (pdn_req assertion), the PGC waits a number of IPG clocks equal to the value of ISO before asserting isolation

pub fn iso2sw(&mut self) -> ISO2SW_W[src]

Bits 8:13 - After asserting isolation, the PGC waits a number of IPG clocks equal to the value of ISO2SW before negating power toggle on/off signal (switch_b)

impl W<u32, Reg<u32, _MEGA_SR>>[src]

pub fn psr(&mut self) -> PSR_W[src]

Bit 0 - Power status

impl W<u32, Reg<u32, _CPU_CTRL>>[src]

pub fn pcr(&mut self) -> PCR_W[src]

Bit 0 - Power Control PCR must not change from power-down request (pdn_req) assertion until the target subsystem is completely powered up

impl W<u32, Reg<u32, _CPU_PUPSCR>>[src]

pub fn sw(&mut self) -> SW_W[src]

Bits 0:5 - There are two different silicon revisions: 1

pub fn sw2iso(&mut self) -> SW2ISO_W[src]

Bits 8:13 - There are two different silicon revisions: 1

impl W<u32, Reg<u32, _CPU_PDNSCR>>[src]

pub fn iso(&mut self) -> ISO_W[src]

Bits 0:5 - After a power-down request (pdn_req assertion), the PGC waits a number of 32k clocks equal to the value of ISO before asserting isolation

pub fn iso2sw(&mut self) -> ISO2SW_W[src]

Bits 8:13 - After asserting isolation, the PGC waits a number of 32k clocks equal to the value of ISO2SW before negating

impl W<u32, Reg<u32, _CPU_SR>>[src]

pub fn psr(&mut self) -> PSR_W[src]

Bit 0 - Power status

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.