Struct Pllsai1cfgr
#[repr(transparent)]pub struct Pllsai1cfgr(pub u32);
Expand description
PLLSAI1 configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Pllsai1cfgr
impl Pllsai1cfgr
pub const fn pllsai1src(&self) -> u8
pub const fn pllsai1src(&self) -> u8
PLLSAI1SRC
pub fn set_pllsai1src(&mut self, val: u8)
pub fn set_pllsai1src(&mut self, val: u8)
PLLSAI1SRC
pub fn set_pllsai1m(&mut self, val: u8)
pub fn set_pllsai1m(&mut self, val: u8)
Division factor for PLLSAI1 input clock
pub fn set_pllsai1n(&mut self, val: u8)
pub fn set_pllsai1n(&mut self, val: u8)
SAI1PLL multiplication factor for VCO
pub const fn pllsai1pen(&self) -> bool
pub const fn pllsai1pen(&self) -> bool
SAI1PLL PLLSAI1CLK output enable
pub fn set_pllsai1pen(&mut self, val: bool)
pub fn set_pllsai1pen(&mut self, val: bool)
SAI1PLL PLLSAI1CLK output enable
pub fn set_pllsai1p(&mut self, val: bool)
pub fn set_pllsai1p(&mut self, val: bool)
SAI1PLL division factor for PLLSAI1CLK (SAI1 or SAI2 clock)
pub const fn pllsai1qen(&self) -> bool
pub const fn pllsai1qen(&self) -> bool
SAI1PLL PLLUSB2CLK output enable
pub fn set_pllsai1qen(&mut self, val: bool)
pub fn set_pllsai1qen(&mut self, val: bool)
SAI1PLL PLLUSB2CLK output enable
pub fn set_pllsai1q(&mut self, val: u8)
pub fn set_pllsai1q(&mut self, val: u8)
SAI1PLL division factor for PLLUSB2CLK (48 MHz clock)
pub const fn pllsai1ren(&self) -> bool
pub const fn pllsai1ren(&self) -> bool
PLLSAI1 PLLADC1CLK output enable
pub fn set_pllsai1ren(&mut self, val: bool)
pub fn set_pllsai1ren(&mut self, val: bool)
PLLSAI1 PLLADC1CLK output enable
pub fn set_pllsai1r(&mut self, val: u8)
pub fn set_pllsai1r(&mut self, val: u8)
PLLSAI1 division factor for PLLADC1CLK (ADC clock)
pub const fn pllsai1pdiv(&self) -> u8
pub const fn pllsai1pdiv(&self) -> u8
PLLSAI1 division factor for PLLSAI1CLK
pub fn set_pllsai1pdiv(&mut self, val: u8)
pub fn set_pllsai1pdiv(&mut self, val: u8)
PLLSAI1 division factor for PLLSAI1CLK
Trait Implementations§
§impl Clone for Pllsai1cfgr
impl Clone for Pllsai1cfgr
§fn clone(&self) -> Pllsai1cfgr
fn clone(&self) -> Pllsai1cfgr
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for Pllsai1cfgr
impl Default for Pllsai1cfgr
§fn default() -> Pllsai1cfgr
fn default() -> Pllsai1cfgr
Returns the “default value” for a type. Read more
§impl PartialEq for Pllsai1cfgr
impl PartialEq for Pllsai1cfgr
impl Copy for Pllsai1cfgr
impl Eq for Pllsai1cfgr
impl StructuralPartialEq for Pllsai1cfgr
Auto Trait Implementations§
impl Freeze for Pllsai1cfgr
impl RefUnwindSafe for Pllsai1cfgr
impl Send for Pllsai1cfgr
impl Sync for Pllsai1cfgr
impl Unpin for Pllsai1cfgr
impl UnwindSafe for Pllsai1cfgr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more