Type Alias W

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

Register cgen_cfg1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn cgen_s1_gpip(&mut self) -> CGEN_S1_GPIP_W<'_, CGEN_CFG1_SPEC>

Bit 2

Source

pub fn cgen_s1_sec_dbg(&mut self) -> CGEN_S1_SEC_DBG_W<'_, CGEN_CFG1_SPEC>

Bit 3

Source

pub fn cgen_s1_sec_eng(&mut self) -> CGEN_S1_SEC_ENG_W<'_, CGEN_CFG1_SPEC>

Bit 4

Source

pub fn cgen_s1_tz(&mut self) -> CGEN_S1_TZ_W<'_, CGEN_CFG1_SPEC>

Bit 5

Source

pub fn cgen_s1_ef_ctrl(&mut self) -> CGEN_S1_EF_CTRL_W<'_, CGEN_CFG1_SPEC>

Bit 7

Source

pub fn cgen_s1_sf_ctrl(&mut self) -> CGEN_S1_SF_CTRL_W<'_, CGEN_CFG1_SPEC>

Bit 11

Source

pub fn cgen_s1_dma(&mut self) -> CGEN_S1_DMA_W<'_, CGEN_CFG1_SPEC>

Bit 12

Source

pub fn cgen_s1_usb(&mut self) -> CGEN_S1_USB_W<'_, CGEN_CFG1_SPEC>

Bit 13

Source

pub fn cgen_s1a_uart0(&mut self) -> CGEN_S1A_UART0_W<'_, CGEN_CFG1_SPEC>

Bit 16

Source

pub fn cgen_s1a_uart1(&mut self) -> CGEN_S1A_UART1_W<'_, CGEN_CFG1_SPEC>

Bit 17

Source

pub fn cgen_s1a_spi(&mut self) -> CGEN_S1A_SPI_W<'_, CGEN_CFG1_SPEC>

Bit 18

Source

pub fn cgen_s1a_i2c(&mut self) -> CGEN_S1A_I2C_W<'_, CGEN_CFG1_SPEC>

Bit 19

Source

pub fn cgen_s1a_pwm(&mut self) -> CGEN_S1A_PWM_W<'_, CGEN_CFG1_SPEC>

Bit 20

Source

pub fn cgen_s1a_timer(&mut self) -> CGEN_S1A_TIMER_W<'_, CGEN_CFG1_SPEC>

Bit 21

Source

pub fn cgen_s1a_ir(&mut self) -> CGEN_S1A_IR_W<'_, CGEN_CFG1_SPEC>

Bit 22

Source

pub fn cgen_s1a_cks(&mut self) -> CGEN_S1A_CKS_W<'_, CGEN_CFG1_SPEC>

Bit 23

Source

pub fn cgen_s1a_dbi(&mut self) -> CGEN_S1A_DBI_W<'_, CGEN_CFG1_SPEC>

Bit 24

Source

pub fn cgen_s1a_i2c1(&mut self) -> CGEN_S1A_I2C1_W<'_, CGEN_CFG1_SPEC>

Bit 25

Source

pub fn cgen_s1a_uart2(&mut self) -> CGEN_S1A_UART2_W<'_, CGEN_CFG1_SPEC>

Bit 26

Source

pub fn cgen_s1a_i2s(&mut self) -> CGEN_S1A_I2S_W<'_, CGEN_CFG1_SPEC>

Bit 27

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