pub struct Endptctrl2Spec;Expand description
Endpoint 2 Control
You can read this register and get endptctrl2::R. You can reset, write, write_with_zero this register using endptctrl2::W. You can also modify this register. See API.
Trait Implementations§
Source§impl RegisterSpec for Endptctrl2Spec
impl RegisterSpec for Endptctrl2Spec
Source§impl Resettable for Endptctrl2Spec
reset() method sets ENDPTCTRL2 to value 0
impl Resettable for Endptctrl2Spec
reset() method sets ENDPTCTRL2 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 Endptctrl2Spec
write(|w| ..) method takes endptctrl2::W writer structure
impl Writable for Endptctrl2Spec
write(|w| ..) method takes endptctrl2::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 0Source§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 Endptctrl2Spec
read() method returns endptctrl2::R reader structure
Auto Trait Implementations§
impl Freeze for Endptctrl2Spec
impl RefUnwindSafe for Endptctrl2Spec
impl Send for Endptctrl2Spec
impl Sync for Endptctrl2Spec
impl Unpin for Endptctrl2Spec
impl UnwindSafe for Endptctrl2Spec
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