atsamd11d::sysctrl::bod33

Type Alias W

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

Register BOD33 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn enable(&mut self) -> EnableW<'_, Bod33Spec>

Bit 1 - Enable

Source

pub fn hyst(&mut self) -> HystW<'_, Bod33Spec>

Bit 2 - Hysteresis

Source

pub fn action(&mut self) -> ActionW<'_, Bod33Spec>

Bits 3:4 - BOD33 Action

Source

pub fn runstdby(&mut self) -> RunstdbyW<'_, Bod33Spec>

Bit 6 - Run in Standby

Source

pub fn mode(&mut self) -> ModeW<'_, Bod33Spec>

Bit 8 - Operation Mode

Source

pub fn cen(&mut self) -> CenW<'_, Bod33Spec>

Bit 9 - Clock Enable

Source

pub fn psel(&mut self) -> PselW<'_, Bod33Spec>

Bits 12:15 - Prescaler Select

Source

pub fn level(&mut self) -> LevelW<'_, Bod33Spec>

Bits 16:21 - BOD33 Threshold Level