Struct stm32_metapac::rcc::regs::Ccipr
#[repr(transparent)]pub struct Ccipr(pub u32);
Expand description
RCC peripherals independent clock configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Ccipr
impl Ccipr
pub const fn usart1sel(&self) -> Usart1sel
pub const fn usart1sel(&self) -> Usart1sel
USART1 clock source selection This bitfield is controlled by software to select USART1 clock source as follows:
pub fn set_usart1sel(&mut self, val: Usart1sel)
pub fn set_usart1sel(&mut self, val: Usart1sel)
USART1 clock source selection This bitfield is controlled by software to select USART1 clock source as follows:
pub const fn i2c1sel(&self) -> I2c1sel
pub const fn i2c1sel(&self) -> I2c1sel
I2C1 clock source selection This bitfield is controlled by software to select I2C1 clock source as follows:
pub fn set_i2c1sel(&mut self, val: I2c1sel)
pub fn set_i2c1sel(&mut self, val: I2c1sel)
I2C1 clock source selection This bitfield is controlled by software to select I2C1 clock source as follows:
pub const fn i2s1sel(&self) -> I2s1sel
pub const fn i2s1sel(&self) -> I2s1sel
I2S1 clock source selection This bitfield is controlled by software to select I2S1 clock source as follows:
pub fn set_i2s1sel(&mut self, val: I2s1sel)
pub fn set_i2s1sel(&mut self, val: I2s1sel)
I2S1 clock source selection This bitfield is controlled by software to select I2S1 clock source as follows:
pub const fn adcsel(&self) -> Adcsel
pub const fn adcsel(&self) -> Adcsel
ADCs clock source selection This bitfield is controlled by software to select the clock source for ADC:
pub fn set_adcsel(&mut self, val: Adcsel)
pub fn set_adcsel(&mut self, val: Adcsel)
ADCs clock source selection This bitfield is controlled by software to select the clock source for ADC:
Trait Implementations§
impl Copy for Ccipr
impl Eq for Ccipr
impl StructuralPartialEq for Ccipr
Auto Trait Implementations§
impl Freeze for Ccipr
impl RefUnwindSafe for Ccipr
impl Send for Ccipr
impl Sync for Ccipr
impl Unpin for Ccipr
impl UnwindSafe for Ccipr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)