atsamd21j::sysctrl::bod33

Type Alias R

Source
pub type R = R<Bod33Spec>;
Expand description

Register BOD33 reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn enable(&self) -> EnableR

Bit 1 - Enable

Source

pub fn hyst(&self) -> HystR

Bit 2 - Hysteresis

Source

pub fn action(&self) -> ActionR

Bits 3:4 - BOD33 Action

Source

pub fn runstdby(&self) -> RunstdbyR

Bit 6 - Run in Standby

Source

pub fn mode(&self) -> ModeR

Bit 8 - Operation Mode

Source

pub fn cen(&self) -> CenR

Bit 9 - Clock Enable

Source

pub fn psel(&self) -> PselR

Bits 12:15 - Prescaler Select

Source

pub fn level(&self) -> LevelR

Bits 16:21 - BOD33 Threshold Level