[][src]Struct trinket_m0::sysctrl::bod33::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn enable(&mut self) -> _ENABLEW[src]

Bit 1 - Enable

pub fn hyst(&mut self) -> _HYSTW[src]

Bit 2 - Hysteresis

pub fn action(&mut self) -> _ACTIONW[src]

Bits 3:4 - BOD33 Action

pub fn runstdby(&mut self) -> _RUNSTDBYW[src]

Bit 6 - Run in Standby

pub fn mode(&mut self) -> _MODEW[src]

Bit 8 - Operation Mode

pub fn cen(&mut self) -> _CENW[src]

Bit 9 - Clock Enable

pub fn psel(&mut self) -> _PSELW[src]

Bits 12:15 - Prescaler Select

pub fn level(&mut self) -> _LEVELW[src]

Bits 16:21 - BOD33 Threshold Level

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]