Struct Ccipr2
#[repr(transparent)]pub struct Ccipr2(pub u32);Expand description
RCC peripheral independent clock configuration register 2.
Tuple Fields§
§0: u32Implementations§
§impl Ccipr2
impl Ccipr2
pub fn set_adf1sel(&mut self, val: Adfsel)
pub fn set_adf1sel(&mut self, val: Adfsel)
ADF1 kernel clock source selection.
pub fn set_spi3sel(&mut self, val: Spi3sel)
pub fn set_spi3sel(&mut self, val: Spi3sel)
SPI3 kernel clock source selection.
pub fn set_sai1sel(&mut self, val: Saisel)
pub fn set_sai1sel(&mut self, val: Saisel)
SAI1 kernel clock source selection.
pub fn set_rngsel(&mut self, val: Rngsel)
pub fn set_rngsel(&mut self, val: Rngsel)
RNG kernel clock source selection.
pub fn set_adcdacpre(&mut self, val: Adcdacpre)
pub fn set_adcdacpre(&mut self, val: Adcdacpre)
ADC12 and DAC1 kernel clock prescaler.
pub const fn adcdacsel(&self) -> Adcdacsel
pub const fn adcdacsel(&self) -> Adcdacsel
ADC12 and DAC1 intermediate kernel clock source selection.
pub fn set_adcdacsel(&mut self, val: Adcdacsel)
pub fn set_adcdacsel(&mut self, val: Adcdacsel)
ADC12 and DAC1 intermediate kernel clock source selection.
pub fn set_dac1shsel(&mut self, val: Dacshsel)
pub fn set_dac1shsel(&mut self, val: Dacshsel)
DAC1 sample and hold clock source selection.
pub const fn octospisel(&self) -> Octospisel
pub const fn octospisel(&self) -> Octospisel
OCTOSPI1 kernel clock source selection.
pub fn set_octospisel(&mut self, val: Octospisel)
pub fn set_octospisel(&mut self, val: Octospisel)
OCTOSPI1 kernel clock source selection.
Trait Implementations§
impl Copy for Ccipr2
impl Eq for Ccipr2
impl StructuralPartialEq for Ccipr2
Auto Trait Implementations§
impl Freeze for Ccipr2
impl RefUnwindSafe for Ccipr2
impl Send for Ccipr2
impl Sync for Ccipr2
impl Unpin for Ccipr2
impl UnwindSafe for Ccipr2
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