Type Alias W

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

Register cgen_cfg2 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn cgen_s0(&mut self) -> CGEN_S0_W<'_, CGEN_CFG2_SPEC>

Bit 0

Source

pub fn cgen_s2_wifi(&mut self) -> CGEN_S2_WIFI_W<'_, CGEN_CFG2_SPEC>

Bit 4

Source

pub fn cgen_s3_bt_ble2(&mut self) -> CGEN_S3_BT_BLE2_W<'_, CGEN_CFG2_SPEC>

Bit 10

Source

pub fn cgen_s3_m1542(&mut self) -> CGEN_S3_M1542_W<'_, CGEN_CFG2_SPEC>

Bit 11

Source

pub fn cgen_s1_ext_emi_misc( &mut self, ) -> CGEN_S1_EXT_EMI_MISC_W<'_, CGEN_CFG2_SPEC>

Bit 16

Source

pub fn cgen_s1_ext_psram0_ctrl( &mut self, ) -> CGEN_S1_EXT_PSRAM0_CTRL_W<'_, CGEN_CFG2_SPEC>

Bit 17

Source

pub fn cgen_s1_ext_psram_ctrl( &mut self, ) -> CGEN_S1_EXT_PSRAM_CTRL_W<'_, CGEN_CFG2_SPEC>

Bit 18

Source

pub fn cgen_s1_ext_usb(&mut self) -> CGEN_S1_EXT_USB_W<'_, CGEN_CFG2_SPEC>

Bit 19

Source

pub fn cgen_s1_ext_mix2(&mut self) -> CGEN_S1_EXT_MIX2_W<'_, CGEN_CFG2_SPEC>

Bit 20

Source

pub fn cgen_s1_ext_audio(&mut self) -> CGEN_S1_EXT_AUDIO_W<'_, CGEN_CFG2_SPEC>

Bit 21

Source

pub fn cgen_s1_ext_sdh(&mut self) -> CGEN_S1_EXT_SDH_W<'_, CGEN_CFG2_SPEC>

Bit 22

Source

pub fn cgen_s1_ext_emac(&mut self) -> CGEN_S1_EXT_EMAC_W<'_, CGEN_CFG2_SPEC>

Bit 23

Source

pub fn cgen_s1_ext_dma2(&mut self) -> CGEN_S1_EXT_DMA2_W<'_, CGEN_CFG2_SPEC>

Bit 24

Source

pub fn cgen_s1_ext_pio(&mut self) -> CGEN_S1_EXT_PIO_W<'_, CGEN_CFG2_SPEC>

Bit 25

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