Struct stm32_metapac::rcc::regs::Dckcfgr2
#[repr(transparent)]pub struct Dckcfgr2(pub u32);
Expand description
dedicated clocks configuration register
Tuple Fields§
§0: u32
Implementations§
§impl Dckcfgr2
impl Dckcfgr2
pub fn set_usart1sel(&mut self, val: Usart1sel)
pub fn set_usart1sel(&mut self, val: Usart1sel)
USART 1 clock source selection
pub fn set_usart2sel(&mut self, val: Usart2sel)
pub fn set_usart2sel(&mut self, val: Usart2sel)
USART 2 clock source selection
pub fn set_usart3sel(&mut self, val: Usart2sel)
pub fn set_usart3sel(&mut self, val: Usart2sel)
USART 3 clock source selection
pub fn set_uart4sel(&mut self, val: Usart2sel)
pub fn set_uart4sel(&mut self, val: Usart2sel)
UART 4 clock source selection
pub fn set_uart5sel(&mut self, val: Usart2sel)
pub fn set_uart5sel(&mut self, val: Usart2sel)
UART 5 clock source selection
pub fn set_usart6sel(&mut self, val: Usart1sel)
pub fn set_usart6sel(&mut self, val: Usart1sel)
USART 6 clock source selection
pub fn set_uart7sel(&mut self, val: Usart2sel)
pub fn set_uart7sel(&mut self, val: Usart2sel)
UART 7 clock source selection
pub fn set_uart8sel(&mut self, val: Usart2sel)
pub fn set_uart8sel(&mut self, val: Usart2sel)
UART 8 clock source selection
pub fn set_i2c1sel(&mut self, val: I2csel)
pub fn set_i2c1sel(&mut self, val: I2csel)
I2C1 clock source selection
pub fn set_i2c2sel(&mut self, val: I2csel)
pub fn set_i2c2sel(&mut self, val: I2csel)
I2C2 clock source selection
pub fn set_i2c3sel(&mut self, val: I2csel)
pub fn set_i2c3sel(&mut self, val: I2csel)
I2C3 clock source selection
pub fn set_i2c4sel(&mut self, val: I2csel)
pub fn set_i2c4sel(&mut self, val: I2csel)
I2C4 clock source selection
pub fn set_lptim1sel(&mut self, val: Lptimsel)
pub fn set_lptim1sel(&mut self, val: Lptimsel)
Low power timer 1 clock source selection
pub fn set_cecsel(&mut self, val: Cecsel)
pub fn set_cecsel(&mut self, val: Cecsel)
HDMI-CEC clock source selection
pub fn set_clk48sel(&mut self, val: Clk48sel)
pub fn set_clk48sel(&mut self, val: Clk48sel)
48MHz clock source selection
pub fn set_sdmmc1sel(&mut self, val: Sdmmcsel)
pub fn set_sdmmc1sel(&mut self, val: Sdmmcsel)
SDMMC1 clock source selection
pub fn set_sdmmc2sel(&mut self, val: Sdmmcsel)
pub fn set_sdmmc2sel(&mut self, val: Sdmmcsel)
SDMMC2 clock source selection
pub fn set_dsisel(&mut self, val: Dsisel)
pub fn set_dsisel(&mut self, val: Dsisel)
DSI clock source selection
Trait Implementations§
impl Copy for Dckcfgr2
impl Eq for Dckcfgr2
impl StructuralPartialEq for Dckcfgr2
Auto Trait Implementations§
impl Freeze for Dckcfgr2
impl RefUnwindSafe for Dckcfgr2
impl Send for Dckcfgr2
impl Sync for Dckcfgr2
impl Unpin for Dckcfgr2
impl UnwindSafe for Dckcfgr2
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
)