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