Struct Nscr
#[repr(transparent)]pub struct Nscr(pub u32);Expand description
RNG noise source control register.
Tuple Fields§
§0: u32Implementations§
§impl Nscr
impl Nscr
pub const fn en_osc1(&self) -> u8
pub const fn en_osc1(&self) -> u8
Each bit drives one oscillator enable signal input of instance number 1, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator).
pub const fn set_en_osc1(&mut self, val: u8)
pub const fn set_en_osc1(&mut self, val: u8)
Each bit drives one oscillator enable signal input of instance number 1, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator).
pub const fn en_osc2(&self) -> u8
pub const fn en_osc2(&self) -> u8
Each bit drives one oscillator enable signal input of instance number 2, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator).
pub const fn set_en_osc2(&mut self, val: u8)
pub const fn set_en_osc2(&mut self, val: u8)
Each bit drives one oscillator enable signal input of instance number 2, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator).
pub const fn en_osc3(&self) -> u8
pub const fn en_osc3(&self) -> u8
Each bit drives one oscillator enable signal input of instance number 3, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator).
pub const fn set_en_osc3(&mut self, val: u8)
pub const fn set_en_osc3(&mut self, val: u8)
Each bit drives one oscillator enable signal input of instance number 3, gated with the RNGEN bit in RNG_CR (set bit to enable the oscillator).