Type Alias mcxn947_pac::usbfs0::keep_alive_ctrl::W

source ·
pub type W = W<KEEP_ALIVE_CTRL_SPEC>;
Expand description

Register KEEP_ALIVE_CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn keep_alive_en(&mut self) -> KEEP_ALIVE_EN_W<'_, KEEP_ALIVE_CTRL_SPEC>

Bit 0 - Keep Alive Mode Enable

source

pub fn own_overrd_en(&mut self) -> OWN_OVERRD_EN_W<'_, KEEP_ALIVE_CTRL_SPEC>

Bit 1 - OWN Bit Override Enable

source

pub fn stop_ack_dly_en(&mut self) -> STOP_ACK_DLY_EN_W<'_, KEEP_ALIVE_CTRL_SPEC>

Bit 2 - Stop Acknowledge Delay Enable

source

pub fn wake_req_en(&mut self) -> WAKE_REQ_EN_W<'_, KEEP_ALIVE_CTRL_SPEC>

Bit 3 - Wakeup Request Enable

source

pub fn wake_int_en(&mut self) -> WAKE_INT_EN_W<'_, KEEP_ALIVE_CTRL_SPEC>

Bit 4 - Wakeup Interrupt Enable

source

pub fn wake_int_sts(&mut self) -> WAKE_INT_STS_W<'_, KEEP_ALIVE_CTRL_SPEC>

Bit 7 - Wakeup Interrupt Status Flag

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual