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