[][src]Struct rp2040::dma::sniff_ctrl::CALC_W

pub struct CALC_W<'a> { /* fields omitted */ }

Write proxy for field CALC

Implementations

impl<'a> CALC_W<'a>[src]

pub fn variant(self, variant: CALC_A) -> &'a mut W[src]

Writes variant to the field

pub fn crc32(self) -> &'a mut W[src]

Calculate a CRC-32 (IEEE802.3 polynomial)

pub fn crc32r(self) -> &'a mut W[src]

Calculate a CRC-32 (IEEE802.3 polynomial) with bit reversed data

pub fn crc16(self) -> &'a mut W[src]

Calculate a CRC-16-CCITT

pub fn crc16r(self) -> &'a mut W[src]

Calculate a CRC-16-CCITT with bit reversed data

pub fn even(self) -> &'a mut W[src]

XOR reduction over all data. == 1 if the total 1 population count is odd.

pub fn sum(self) -> &'a mut W[src]

Calculate a simple 32-bit checksum (addition with a 32 bit accumulator)

pub unsafe fn bits(self, value: u8) -> &'a mut W[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for CALC_W<'a>[src]

impl<'a> !Sync for CALC_W<'a>[src]

impl<'a> Unpin for CALC_W<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.