Type Alias gd32f1::gd32f130::opa_ivref::ivref_ctl::R

source ·
pub type R = R<IvrefCtlSpec>;
Expand description

Register IVREF_CTL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn csdt(&self) -> CsdtR

Bits 0:5 - Current step data

source

pub fn scmod(&self) -> ScmodR

Bit 7 - Sink current mode

source

pub fn cpt(&self) -> CptR

Bits 8:12 - Current precision trim

source

pub fn ssel(&self) -> SselR

Bit 14 - Step selection

source

pub fn cren(&self) -> CrenR

Bit 15 - Current reference enable

source

pub fn vpt(&self) -> VptR

Bits 24:28 - Voltage precision tirm

source

pub fn decap(&self) -> DecapR

Bit 30 - Disconnect external capacitor

source

pub fn vren(&self) -> VrenR

Bit 31 - Voltage reference enable