Struct zinc_hal_lpc11xx::ioregs::SYSCON_bodctrl [] [src]

pub struct SYSCON_bodctrl {
    // some fields omitted
}

Register BODCTRL: BOD control

Methods

impl SYSCON_bodctrl

fn get(&self) -> SYSCON_bodctrl_Get

Fetch the value of the BODCTRL register.

fn bodrstlev(&self) -> SYSCON_bodctrl_bodrstlev

Get value of BODRSTLEV field.

fn bodintval(&self) -> SYSCON_bodctrl_bodintval

Get value of BODINTVAL field.

fn bodrstena(&self) -> SYSCON_bodctrl_bodrstena

Get value of BODRSTENA field.

fn ignoring_state(&self) -> SYSCON_bodctrl_Update

Create new updater that ignores current value of the BODCTRL register.

fn set_bodrstlev<'a>(&'a mut self, new_value: SYSCON_bodctrl_bodrstlev) -> SYSCON_bodctrl_Update<'a>

Set value of BODRSTLEV field.

fn set_bodintval<'a>(&'a mut self, new_value: SYSCON_bodctrl_bodintval) -> SYSCON_bodctrl_Update<'a>

Set value of BODINTVAL field.

fn set_bodrstena<'a>(&'a mut self, new_value: SYSCON_bodctrl_bodrstena) -> SYSCON_bodctrl_Update<'a>

Set value of BODRSTENA field.

Trait Implementations

impl Copy for SYSCON_bodctrl

Derived Implementations

impl Clone for SYSCON_bodctrl

fn clone(&self) -> SYSCON_bodctrl

fn clone_from(&mut self, source: &Self)