Struct rp2040_pac2::dma::regs::SniffCtrl [−][src]
Sniffer Control
Implementations
impl SniffCtrl
[src]
pub const fn out_inv(&self) -> bool
[src]
If set, the result appears inverted (bitwise complement) when read. This does not affect the way the checksum is calculated; the result is transformed on-the-fly between the result register and the bus.
pub fn set_out_inv(&mut self, val: bool)
[src]
If set, the result appears inverted (bitwise complement) when read. This does not affect the way the checksum is calculated; the result is transformed on-the-fly between the result register and the bus.
pub const fn out_rev(&self) -> bool
[src]
If set, the result appears bit-reversed when read. This does not affect the way the checksum is calculated; the result is transformed on-the-fly between the result register and the bus.
pub fn set_out_rev(&mut self, val: bool)
[src]
If set, the result appears bit-reversed when read. This does not affect the way the checksum is calculated; the result is transformed on-the-fly between the result register and the bus.
pub const fn bswap(&self) -> bool
[src]
Locally perform a byte reverse on the sniffed data, before feeding into checksum. Note that the sniff hardware is downstream of the DMA channel byteswap performed in the read master: if channel CTRL_BSWAP and SNIFF_CTRL_BSWAP are both enabled, their effects cancel from the sniffer’s point of view.
pub fn set_bswap(&mut self, val: bool)
[src]
Locally perform a byte reverse on the sniffed data, before feeding into checksum. Note that the sniff hardware is downstream of the DMA channel byteswap performed in the read master: if channel CTRL_BSWAP and SNIFF_CTRL_BSWAP are both enabled, their effects cancel from the sniffer’s point of view.
pub const fn calc(&self) -> SniffCtrlCalc
[src]
pub fn set_calc(&mut self, val: SniffCtrlCalc)
[src]
pub const fn dmach(&self) -> u8
[src]
DMA channel for Sniffer to observe
pub fn set_dmach(&mut self, val: u8)
[src]
DMA channel for Sniffer to observe
pub const fn en(&self) -> bool
[src]
Enable sniffer
pub fn set_en(&mut self, val: bool)
[src]
Enable sniffer
Trait Implementations
impl Clone for SniffCtrl
[src]
fn clone(&self) -> SniffCtrl
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SniffCtrl
[src]
impl Default for SniffCtrl
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,