Struct stm32_metapac::rcc::regs::Ccipr2
#[repr(transparent)]pub struct Ccipr2(pub u32);
Expand description
RCC peripherals independent clock configuration register 2
Tuple Fields§
§0: u32
Implementations§
§impl Ccipr2
impl Ccipr2
pub const fn mdf1sel(&self) -> Mdfsel
pub const fn mdf1sel(&self) -> Mdfsel
MDF1 kernel clock source selection These bits are used to select the MDF1 kernel clock source. others: reserved
pub fn set_mdf1sel(&mut self, val: Mdfsel)
pub fn set_mdf1sel(&mut self, val: Mdfsel)
MDF1 kernel clock source selection These bits are used to select the MDF1 kernel clock source. others: reserved
pub const fn sai1sel(&self) -> Saisel
pub const fn sai1sel(&self) -> Saisel
SAI1 kernel clock source selection These bits are used to select the SAI1 kernel clock source. others: reserved Note: If the selected clock is the external clock and this clock is stopped, a switch to another clock is impossible.
pub fn set_sai1sel(&mut self, val: Saisel)
pub fn set_sai1sel(&mut self, val: Saisel)
SAI1 kernel clock source selection These bits are used to select the SAI1 kernel clock source. others: reserved Note: If the selected clock is the external clock and this clock is stopped, a switch to another clock is impossible.
pub const fn sai2sel(&self) -> Saisel
pub const fn sai2sel(&self) -> Saisel
SAI2 kernel clock source selection These bits are used to select the SAI2 kernel clock source. others: reserved Note: If the selected clock is the external clock and this clock is stopped, a switch to another clock is impossible.
pub fn set_sai2sel(&mut self, val: Saisel)
pub fn set_sai2sel(&mut self, val: Saisel)
SAI2 kernel clock source selection These bits are used to select the SAI2 kernel clock source. others: reserved Note: If the selected clock is the external clock and this clock is stopped, a switch to another clock is impossible.
pub const fn saessel(&self) -> Saessel
pub const fn saessel(&self) -> Saessel
SAES kernel clock source selection This bit is used to select the SAES kernel clock source.
pub fn set_saessel(&mut self, val: Saessel)
pub fn set_saessel(&mut self, val: Saessel)
SAES kernel clock source selection This bit is used to select the SAES kernel clock source.
pub const fn rngsel(&self) -> Rngsel
pub const fn rngsel(&self) -> Rngsel
RNGSEL kernel clock source selection These bits are used to select the RNG kernel clock source.
pub fn set_rngsel(&mut self, val: Rngsel)
pub fn set_rngsel(&mut self, val: Rngsel)
RNGSEL kernel clock source selection These bits are used to select the RNG kernel clock source.
pub const fn sdmmcsel(&self) -> Sdmmcsel
pub const fn sdmmcsel(&self) -> Sdmmcsel
SDMMC1 and SDMMC2 kernel clock source selection This bit is used to select the SDMMC kernel clock source. It is recommended to change this bit only after reset and before enabling the SDMMC.
pub fn set_sdmmcsel(&mut self, val: Sdmmcsel)
pub fn set_sdmmcsel(&mut self, val: Sdmmcsel)
SDMMC1 and SDMMC2 kernel clock source selection This bit is used to select the SDMMC kernel clock source. It is recommended to change this bit only after reset and before enabling the SDMMC.
pub const fn dsisel(&self) -> Dsisel
pub const fn dsisel(&self) -> Dsisel
DSI kernel clock source selection This bit is used to select the DSI kernel clock source. This bit is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. Note: If not present, consider this bit as reserved and keep it at reset value.
pub fn set_dsisel(&mut self, val: Dsisel)
pub fn set_dsisel(&mut self, val: Dsisel)
DSI kernel clock source selection This bit is used to select the DSI kernel clock source. This bit is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. Note: If not present, consider this bit as reserved and keep it at reset value.
pub const fn usart6sel(&self) -> Usartsel
pub const fn usart6sel(&self) -> Usartsel
USART6 kernel clock source selection These bits are used to select the USART6 kernel clock source. The USART6 is functional in Stop 0 and Stop 1 modes only when the kernel clock is HSI or LSE. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub fn set_usart6sel(&mut self, val: Usartsel)
pub fn set_usart6sel(&mut self, val: Usartsel)
USART6 kernel clock source selection These bits are used to select the USART6 kernel clock source. The USART6 is functional in Stop 0 and Stop 1 modes only when the kernel clock is HSI or LSE. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub const fn ltdcsel(&self) -> Ltdcsel
pub const fn ltdcsel(&self) -> Ltdcsel
LTDC kernel clock source selection This bit is used to select the LTDC kernel clock source. Note: This bit is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bit as reserved and keep it at reset value.
pub fn set_ltdcsel(&mut self, val: Ltdcsel)
pub fn set_ltdcsel(&mut self, val: Ltdcsel)
LTDC kernel clock source selection This bit is used to select the LTDC kernel clock source. Note: This bit is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bit as reserved and keep it at reset value.
pub const fn octospisel(&self) -> Octospisel
pub const fn octospisel(&self) -> Octospisel
OCTOSPI1 and OCTOSPI2 kernel clock source selection These bits are used to select the OCTOSPI1 and OCTOSPI2 kernel clock source.
pub fn set_octospisel(&mut self, val: Octospisel)
pub fn set_octospisel(&mut self, val: Octospisel)
OCTOSPI1 and OCTOSPI2 kernel clock source selection These bits are used to select the OCTOSPI1 and OCTOSPI2 kernel clock source.
pub const fn hspi1sel(&self) -> Hspisel
pub const fn hspi1sel(&self) -> Hspisel
HSPI1 kernel clock source selection These bits are used to select the HSPI1 kernel clock source. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub fn set_hspi1sel(&mut self, val: Hspisel)
pub fn set_hspi1sel(&mut self, val: Hspisel)
HSPI1 kernel clock source selection These bits are used to select the HSPI1 kernel clock source. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub const fn i2c5sel(&self) -> I2csel
pub const fn i2c5sel(&self) -> I2csel
I2C5 kernel clock source selection These bits are used to select the I2C5 kernel clock source. The I2C5 is functional in Stop 0 and Stop 1 modes only when the kernel clock is HSI�or MSIK. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub fn set_i2c5sel(&mut self, val: I2csel)
pub fn set_i2c5sel(&mut self, val: I2csel)
I2C5 kernel clock source selection These bits are used to select the I2C5 kernel clock source. The I2C5 is functional in Stop 0 and Stop 1 modes only when the kernel clock is HSI�or MSIK. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub const fn i2c6sel(&self) -> I2csel
pub const fn i2c6sel(&self) -> I2csel
I2C6 kernel clock source selection These bits are used to select the I2C6 kernel clock source. The I2C6 is functional in Stop 0 and Stop 1 modes only when the kernel clock is HSI�or MSIK. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub fn set_i2c6sel(&mut self, val: I2csel)
pub fn set_i2c6sel(&mut self, val: I2csel)
I2C6 kernel clock source selection These bits are used to select the I2C6 kernel clock source. The I2C6 is functional in Stop 0 and Stop 1 modes only when the kernel clock is HSI�or MSIK. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub const fn otghssel(&self) -> Otghssel
pub const fn otghssel(&self) -> Otghssel
OTG_HS PHY kernel clock source selection These bits are used to select the OTG_HS PHY kernel clock source. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
pub fn set_otghssel(&mut self, val: Otghssel)
pub fn set_otghssel(&mut self, val: Otghssel)
OTG_HS PHY kernel clock source selection These bits are used to select the OTG_HS PHY kernel clock source. Note: This bitfield is only available on some devices in the STM32U5 Series. Refer to the device datasheet for availability of its associated peripheral. If not present, consider this bitfield as reserved and keep it at reset value.
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
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
)