Type Alias W

Source
pub type W = W<CGEN_M_SPEC>;
Expand description

Register cgen_m writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn cgen_m_cpu(&mut self) -> CGEN_M_CPU_W<'_, CGEN_M_SPEC>

Bit 0

Source

pub fn cgen_m_sdu(&mut self) -> CGEN_M_SDU_W<'_, CGEN_M_SPEC>

Bit 1

Source

pub fn cgen_m_sec(&mut self) -> CGEN_M_SEC_W<'_, CGEN_M_SPEC>

Bit 2

Source

pub fn cgen_m_dma(&mut self) -> CGEN_M_DMA_W<'_, CGEN_M_SPEC>

Bit 3

Source

pub fn cgen_m_cci(&mut self) -> CGEN_M_CCI_W<'_, CGEN_M_SPEC>

Bit 4

Source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual