Type Definition gd32f1::gd32f170::opa_ivref::ivref_ctl::W[][src]

type W = W<u32, IVREF_CTL>;

Writer for register IVREF_CTL

Implementations

impl W[src]

pub fn csdt(&mut self) -> CSDT_W<'_>[src]

Bits 0:5 - Current step data

pub fn scmod(&mut self) -> SCMOD_W<'_>[src]

Bit 7 - Sink current mode

pub fn cpt(&mut self) -> CPT_W<'_>[src]

Bits 8:12 - Current precision trim

pub fn ssel(&mut self) -> SSEL_W<'_>[src]

Bit 14 - Step selection

pub fn cren(&mut self) -> CREN_W<'_>[src]

Bit 15 - Current reference enable

pub fn vpt(&mut self) -> VPT_W<'_>[src]

Bits 24:28 - Voltage precision tirm

pub fn decap(&mut self) -> DECAP_W<'_>[src]

Bit 30 - Disconnect external capacitor

pub fn vren(&mut self) -> VREN_W<'_>[src]

Bit 31 - Voltage reference enable