pub struct APB2ENRrs;
Expand description
APB2 peripheral clock enable register (RCC_APB2ENR)
You can read
this register and get apb2enr::R
. You can reset
, write
, write_with_zero
this register using apb2enr::W
. You can also modify
this register. See API.
See register structure
Trait Implementations§
Source§impl Resettable for APB2ENRrs
reset()
method sets APB2ENR to value 0
impl Resettable for APB2ENRrs
reset()
method sets APB2ENR to value 0
Source§const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
const RESET_VALUE: Self::Ux = <Self::Ux>::ZERO
Reset value of the register.
Source§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
Source§impl Writable for APB2ENRrs
write(|w| ..)
method takes apb2enr::W
writer structure
impl Writable for APB2ENRrs
write(|w| ..)
method takes apb2enr::W
writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
1
and are changed if you pass 0
Source§const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = <Self::Ux>::ZERO
Specifies the register bits that are not changed if you pass
0
and are changed if you pass 1
impl Readable for APB2ENRrs
read()
method returns apb2enr::R
reader structure
Auto Trait Implementations§
impl Freeze for APB2ENRrs
impl RefUnwindSafe for APB2ENRrs
impl Send for APB2ENRrs
impl Sync for APB2ENRrs
impl Unpin for APB2ENRrs
impl UnwindSafe for APB2ENRrs
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