[−][src]Type Definition rp2040::dma::sniff_ctrl::R
type R = R<u32, SNIFF_CTRL>;
Reader of register SNIFF_CTRL
Implementations
impl R
[src]
pub fn out_inv(&self) -> OUT_INV_R
[src]
Bit 11 - 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 out_rev(&self) -> OUT_REV_R
[src]
Bit 10 - 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 bswap(&self) -> BSWAP_R
[src]
Bit 9 - Locally perform a byte reverse on the sniffed data, before feeding into checksum.\n\n 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 calc(&self) -> CALC_R
[src]
Bits 5:8
pub fn dmach(&self) -> DMACH_R
[src]
Bits 1:4 - DMA channel for Sniffer to observe
pub fn en(&self) -> EN_R
[src]
Bit 0 - Enable sniffer