pub struct SNIFF_DATA_SPEC;Expand description
Data accumulator for sniff hardware
Write an initial seed value here before starting a DMA transfer on the channel indicated by SNIFF_CTRL_DMACH. The hardware will update this register each time it observes a read from the indicated channel. Once the channel completes, the final result can be read from this register.
You can read this register and get sniff_data::R. You can reset, write, write_with_zero this register using sniff_data::W. You can also modify this register. See API.
Trait Implementations§
Source§impl RegisterSpec for SNIFF_DATA_SPEC
impl RegisterSpec for SNIFF_DATA_SPEC
Source§impl Resettable for SNIFF_DATA_SPEC
reset() method sets SNIFF_DATA to value 0
impl Resettable for SNIFF_DATA_SPEC
reset() method sets SNIFF_DATA to value 0
Source§const RESET_VALUE: u32 = 0u32
const RESET_VALUE: u32 = 0u32
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 SNIFF_DATA_SPEC
write(|w| ..) method takes sniff_data::W writer structure
impl Writable for SNIFF_DATA_SPEC
write(|w| ..) method takes sniff_data::W writer structure
Source§const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
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: u32 = 0u32
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0u32
Specifies the register bits that are not changed if you pass
0 and are changed if you pass 1impl Readable for SNIFF_DATA_SPEC
read() method returns sniff_data::R reader structure
Auto Trait Implementations§
impl Freeze for SNIFF_DATA_SPEC
impl RefUnwindSafe for SNIFF_DATA_SPEC
impl Send for SNIFF_DATA_SPEC
impl Sync for SNIFF_DATA_SPEC
impl Unpin for SNIFF_DATA_SPEC
impl UnwindSafe for SNIFF_DATA_SPEC
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