Struct Dchpri2Spec
pub struct Dchpri2Spec;Expand description
Channel n Priority Register
You can read this register and get dchpri2::R. You can reset, write, write_with_zero this register using dchpri2::W. You can also modify this register. See API.
Trait Implementations§
§impl RegisterSpec for Dchpri2Spec
impl RegisterSpec for Dchpri2Spec
§impl Resettable for Dchpri2Spec
reset() method sets DCHPRI2 to value 0x02
impl Resettable for Dchpri2Spec
reset() method sets DCHPRI2 to value 0x02
§const RESET_VALUE: u8 = 2u8
const RESET_VALUE: u8 = 2u8
Reset value of the register.
§fn reset_value() -> Self::Ux
fn reset_value() -> Self::Ux
Reset value of the register.
§impl Writable for Dchpri2Spec
write(|w| ..) method takes dchpri2::W writer structure
impl Writable for Dchpri2Spec
write(|w| ..) method takes dchpri2::W writer structure
§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§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 1impl Readable for Dchpri2Spec
read() method returns dchpri2::R reader structure
Auto Trait Implementations§
impl Freeze for Dchpri2Spec
impl RefUnwindSafe for Dchpri2Spec
impl Send for Dchpri2Spec
impl Sync for Dchpri2Spec
impl Unpin for Dchpri2Spec
impl UnwindSafe for Dchpri2Spec
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