#[repr(transparent)]pub struct Aux1pllclkdiv(pub u32);Expand description
aux1 pll clk divider
Tuple Fields§
§0: u32Implementations§
Source§impl Aux1pllclkdiv
impl Aux1pllclkdiv
Sourcepub const fn div(&self) -> u8
pub const fn div(&self) -> u8
Clock Divider Value Selection. . . 0: Divide by 1. … 255: Divide by 256.
Sourcepub const fn set_div(&mut self, val: u8)
pub const fn set_div(&mut self, val: u8)
Clock Divider Value Selection. . . 0: Divide by 1. … 255: Divide by 256.
Sourcepub const fn reset(&self) -> bool
pub const fn reset(&self) -> bool
Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count.
Sourcepub const fn set_reset(&mut self, val: bool)
pub const fn set_reset(&mut self, val: bool)
Resets the divider counter. Can be used to make sure a new divider value is used right away rather than completing the previous count.
Sourcepub const fn halt(&self) -> bool
pub const fn halt(&self) -> bool
Halts the divider counter. The intent is to allow the divider’s clock source to be changed without the risk of a glitch at the output.
Sourcepub const fn set_halt(&mut self, val: bool)
pub const fn set_halt(&mut self, val: bool)
Halts the divider counter. The intent is to allow the divider’s clock source to be changed without the risk of a glitch at the output.
Sourcepub const fn reqflag(&self) -> bool
pub const fn reqflag(&self) -> bool
Divider status flag. Set when a change is made to the divider value, cleared when the change is complete.
Sourcepub const fn set_reqflag(&mut self, val: bool)
pub const fn set_reqflag(&mut self, val: bool)
Divider status flag. Set when a change is made to the divider value, cleared when the change is complete.
Trait Implementations§
Source§impl Clone for Aux1pllclkdiv
impl Clone for Aux1pllclkdiv
Source§fn clone(&self) -> Aux1pllclkdiv
fn clone(&self) -> Aux1pllclkdiv
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more