Struct stm32_metapac::rcc::regs::Ccipr
#[repr(transparent)]pub struct Ccipr(pub u32);
Expand description
CCIPR
Tuple Fields§
§0: u32
Implementations§
§impl Ccipr
impl Ccipr
pub fn set_usart1sel(&mut self, val: u8)
pub fn set_usart1sel(&mut self, val: u8)
USART1 clock source selection
pub fn set_usart2sel(&mut self, val: u8)
pub fn set_usart2sel(&mut self, val: u8)
USART2 clock source selection
pub fn set_usart3sel(&mut self, val: u8)
pub fn set_usart3sel(&mut self, val: u8)
USART3 clock source selection
pub fn set_uart4sel(&mut self, val: u8)
pub fn set_uart4sel(&mut self, val: u8)
UART4 clock source selection
pub fn set_uart5sel(&mut self, val: u8)
pub fn set_uart5sel(&mut self, val: u8)
UART5 clock source selection
pub const fn lpuart1sel(&self) -> u8
pub const fn lpuart1sel(&self) -> u8
LPUART1 clock source selection
pub fn set_lpuart1sel(&mut self, val: u8)
pub fn set_lpuart1sel(&mut self, val: u8)
LPUART1 clock source selection
pub fn set_i2c1sel(&mut self, val: u8)
pub fn set_i2c1sel(&mut self, val: u8)
I2C1 clock source selection
pub fn set_i2c2sel(&mut self, val: u8)
pub fn set_i2c2sel(&mut self, val: u8)
I2C2 clock source selection
pub fn set_i2c3sel(&mut self, val: u8)
pub fn set_i2c3sel(&mut self, val: u8)
I2C3 clock source selection
pub fn set_lptim1sel(&mut self, val: u8)
pub fn set_lptim1sel(&mut self, val: u8)
Low power timer 1 clock source selection
pub fn set_lptim2sel(&mut self, val: u8)
pub fn set_lptim2sel(&mut self, val: u8)
Low power timer 2 clock source selection
pub fn set_lptim3sel(&mut self, val: u8)
pub fn set_lptim3sel(&mut self, val: u8)
Low-power timer 3 clock source selection
pub fn set_fdcansel(&mut self, val: Fdcansel)
pub fn set_fdcansel(&mut self, val: Fdcansel)
FDCAN clock source selection
pub fn set_clk48sel(&mut self, val: Clk48sel)
pub fn set_clk48sel(&mut self, val: Clk48sel)
48 MHz clock source selection
pub fn set_adcsel(&mut self, val: Adcsel)
pub fn set_adcsel(&mut self, val: Adcsel)
ADCs clock source selection
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)