Struct stm32_metapac::rcc::regs::Ahb4enr
#[repr(transparent)]pub struct Ahb4enr(pub u32);
Expand description
RCC AHB4 peripheral clock enable register
Tuple Fields§
§0: u32
Implementations§
§impl Ahb4enr
impl Ahb4enr
pub const fn pwren(&self) -> bool
pub const fn pwren(&self) -> bool
PWR bus clock enable Set and cleared by software. Can only be accessed secure when one or more features in the PWR is/are secure. 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_pwren(&mut self, val: bool)
pub fn set_pwren(&mut self, val: bool)
PWR bus clock enable Set and cleared by software. Can only be accessed secure when one or more features in the PWR is/are secure. 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 adc4en(&self) -> bool
pub const fn adc4en(&self) -> bool
ADC4 bus and kernel clocks enable Set and cleared by software. Access can be secured by GTZC_TZSC ADC4SEC. 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_adc4en(&mut self, val: bool)
pub fn set_adc4en(&mut self, val: bool)
ADC4 bus and kernel clocks enable Set and cleared by software. Access can be secured by GTZC_TZSC ADC4SEC. 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 Ahb4enr
impl Eq for Ahb4enr
impl StructuralPartialEq for Ahb4enr
Auto Trait Implementations§
impl Freeze for Ahb4enr
impl RefUnwindSafe for Ahb4enr
impl Send for Ahb4enr
impl Sync for Ahb4enr
impl Unpin for Ahb4enr
impl UnwindSafe for Ahb4enr
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
)