Struct zinc_hal_lpc11xx::ioregs::SYSCON_mainclksel
[−]
[src]
pub struct SYSCON_mainclksel { // some fields omitted }
Register MAINCLKSEL
: Main clock source select
Methods
impl SYSCON_mainclksel
fn get(&self) -> SYSCON_mainclksel_Get
Fetch the value of the MAINCLKSEL
register.
fn sel(&self) -> SYSCON_mainclksel_sel
Get value of SEL
field.
fn ignoring_state(&self) -> SYSCON_mainclksel_Update
Create new updater that ignores current value of the MAINCLKSEL
register.
fn set_sel<'a>(&'a mut self, new_value: SYSCON_mainclksel_sel) -> SYSCON_mainclksel_Update<'a>
Set value of SEL
field.