Struct Ccipr2
#[repr(transparent)]pub struct Ccipr2(pub u32);Expand description
RCC peripheral kernel clock selection register 2.
Tuple Fields§
§0: u32Implementations§
§impl Ccipr2
impl Ccipr2
pub const fn uart234578sel(&self) -> Uart234578sel
pub const fn uart234578sel(&self) -> Uart234578sel
USART2,3, UART4,5,7,8 (APB1) kernel clock source selection.
pub const fn set_uart234578sel(&mut self, val: Uart234578sel)
pub const fn set_uart234578sel(&mut self, val: Uart234578sel)
USART2,3, UART4,5,7,8 (APB1) kernel clock source selection.
pub const fn set_spi23sel(&mut self, val: Spi23sel)
pub const fn set_spi23sel(&mut self, val: Spi23sel)
SPI/I2S2 and SPI/I2S3 kernel clock source selection.
pub const fn set_i2c123sel(&mut self, val: I2c123sel)
pub const fn set_i2c123sel(&mut self, val: I2c123sel)
I2C1, I2C2, I2C3 kernel clock source selection.
pub const fn set_i3c1sel(&mut self, val: I3c1sel)
pub const fn set_i3c1sel(&mut self, val: I3c1sel)
I3C1 kernel clock source selection.
pub const fn set_lptim1sel(&mut self, val: Lptim1sel)
pub const fn set_lptim1sel(&mut self, val: Lptim1sel)
LPTIM1 kernel clock source selection.
pub const fn set_fdcansel(&mut self, val: Fdcansel)
pub const fn set_fdcansel(&mut self, val: Fdcansel)
FDCAN 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 UnsafeUnpin 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