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 sai1sel(&self) -> Sai1sel
pub const fn sai1sel(&self) -> Sai1sel
SAI1 kernel clock source selection These bits allow to select the SAI1 kernel clock source. Access can be secured by GTZC_TZSC SAI1SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_sai1sel(&mut self, val: Sai1sel)
pub fn set_sai1sel(&mut self, val: Sai1sel)
SAI1 kernel clock source selection These bits allow to select the SAI1 kernel clock source. Access can be secured by GTZC_TZSC SAI1SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub const fn rngsel(&self) -> Rngsel
pub const fn rngsel(&self) -> Rngsel
RNGSEL kernel clock source selection These bits allow to select the RNG kernel clock source. Access can be secured by GTZC_TZSC RNGSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_rngsel(&mut self, val: Rngsel)
pub fn set_rngsel(&mut self, val: Rngsel)
RNGSEL kernel clock source selection These bits allow to select the RNG kernel clock source. Access can be secured by GTZC_TZSC RNGSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_otghssel(&mut self, val: Otghssel)
pub fn set_otghssel(&mut self, val: Otghssel)
USB OTG_HS PHY kernel clock source selection.
pub const fn assel(&self) -> Assel
pub const fn assel(&self) -> Assel
RCC audio synchronization kernel clock source selection This bit allows to select the audio synchronization kernel clock source. Access can be secured by GTZC_TZSC SAI1SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
pub fn set_assel(&mut self, val: Assel)
pub fn set_assel(&mut self, val: Assel)
RCC audio synchronization kernel clock source selection This bit allows to select the audio synchronization kernel clock source. Access can be secured by GTZC_TZSC SAI1SEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with RCC SPRIV or when non-secure with RCC NSPRIV.
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
)