Type Alias atsame54n::supc::vreg::R

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

Register VREG reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn enable(&self) -> ENABLE_R

Bit 1 - Enable

source

pub fn sel(&self) -> SEL_R

Bit 2 - Voltage Regulator Selection

source

pub fn runbkup(&self) -> RUNBKUP_R

Bit 7 - Run in Backup mode

source

pub fn vsen(&self) -> VSEN_R

Bit 16 - Voltage Scaling Enable

source

pub fn vsper(&self) -> VSPER_R

Bits 24:26 - Voltage Scaling Period