Type Alias W

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

Register ldo18 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn pu_ldo18io(&mut self) -> PU_LDO18IO_W<'_, LDO18_SPEC>

Bit 0

Source

pub fn ldo18io_bypass(&mut self) -> LDO18IO_BYPASS_W<'_, LDO18_SPEC>

Bit 1

Source

pub fn ten_ldo18io(&mut self) -> TEN_LDO18IO_W<'_, LDO18_SPEC>

Bit 2

Source

pub fn ldo18io_ocp_out(&mut self) -> LDO18IO_OCP_OUT_W<'_, LDO18_SPEC>

Bit 3

Source

pub fn ldo18io_bm(&mut self) -> LDO18IO_BM_W<'_, LDO18_SPEC>

Bits 4:6

Source

pub fn ldo18io_cc(&mut self) -> LDO18IO_CC_W<'_, LDO18_SPEC>

Bits 8:10

Source

pub fn ldo18io_ocp_th(&mut self) -> LDO18IO_OCP_TH_W<'_, LDO18_SPEC>

Bits 12:14

Source

pub fn ldo18io_ocp_en(&mut self) -> LDO18IO_OCP_EN_W<'_, LDO18_SPEC>

Bit 15

Source

pub fn ldo18io_pulldown(&mut self) -> LDO18IO_PULLDOWN_W<'_, LDO18_SPEC>

Bit 16

Source

pub fn ldo18io_pulldown_sel(&mut self) -> LDO18IO_PULLDOWN_SEL_W<'_, LDO18_SPEC>

Bit 17

Source

pub fn ldo18io_sstart_delay(&mut self) -> LDO18IO_SSTART_DELAY_W<'_, LDO18_SPEC>

Bits 20:22

Source

pub fn ldo18io_sstart_en(&mut self) -> LDO18IO_SSTART_EN_W<'_, LDO18_SPEC>

Bit 23

Source

pub fn ldo18io_vout_sel(&mut self) -> LDO18IO_VOUT_SEL_W<'_, LDO18_SPEC>

Bits 24:27

Source

pub fn ldo18io_vout_trim(&mut self) -> LDO18IO_VOUT_TRIM_W<'_, LDO18_SPEC>

Bits 28:31

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