Struct zinc_hal_lpc11xx::ioregs::SYSCON_mainclksel_Get [] [src]

pub struct SYSCON_mainclksel_Get {
    // some fields omitted
}

MAINCLKSEL: Main clock source select

Methods

impl SYSCON_mainclksel_Get

fn new(reg: &SYSCON_mainclksel) -> SYSCON_mainclksel_Get

Create a getter reflecting the current value of the given register.

fn raw(&self) -> u32

Get the raw value of the register.

fn sel(&self) -> SYSCON_mainclksel_sel

Get value of SEL field: Clock source for main clock

Trait Implementations

impl Copy for SYSCON_mainclksel_Get

Derived Implementations

impl Clone for SYSCON_mainclksel_Get

fn clone(&self) -> SYSCON_mainclksel_Get

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