[][src]Type Definition cc3220sf::gprcm::nwp_pwr_state::W

type W = W<u32, NWP_PWR_STATE>;

Writer for register NWP_PWR_STATE

Implementations

impl W[src]

pub fn nwp_pwr_state_ps(&mut self) -> NWP_PWR_STATE_PS_W[src]

Bits 8:11 - "0000"- PORZ :- NWP is yet to be enabled by APPS during powerup (from HIB/OFF) ; "0011"- ACTIVE :- NWP is enabled, clocks and resets to NWP-SubSystem are enabled ; "0010"- LPDS :- NWP is in LPDS-mode ; Clocks and reset to NWP-SubSystem are gated ; "0101"- WAIT_FOR_OPP :- NWP is in transition from LPDS to ACTIVE, where it is waiting for OPP to be stable ; "1000"- WAKE_TIMER_OPP_REQ :- NWP is in transition from LPDS, where the wakeup cause is LPDS_Wake timer OTHERS : NA

pub fn nwp_rcm_ps(&mut self) -> NWP_RCM_PS_W[src]

Bits 0:2 - "000" - NWP_RUN : NWP is in RUN state (default) - Applicable only when NWP_PWR_STATE_PS = ACTIVE ; "001" - NWP_SLP : NWP is in SLEEP state (default) - Applicable only when NWP_PWR_STATE_PS = ACTIVE ; "010" - NWP_DSLP : NWP is in Deep-Sleep state (default) - Applicable only when NWP_PWR_STATE_PS = ACTIVE ; "011" - WAIT_FOR_ACTIVE : NWP is in transition from Deep-sleep to Run, where it is waiting for OPP to be stable ; "100" - WAIT_FOR_DSLP_TIMER_WAKE_REQ : NWP is in transition from Deep-sleep to Run, where the wakeup cause is deep-sleep wake-timer