Struct 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 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.