pub type R = R<VREG_SPEC>;
Expand description

Register VREG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn en(&self) -> EN_R

Bit 0 - enable
0=not enabled, 1=enabled

source

pub fn hiz(&self) -> HIZ_R

Bit 1 - high impedance mode select
0=not in high impedance mode, 1=in high impedance mode

source

pub fn vsel(&self) -> VSEL_R

Bits 4:7 - Output voltage select for on-chip voltage regulator.

source

pub fn rok(&self) -> ROK_R

Bit 12 - regulation status
0=not in regulation, 1=in regulation