[−][src]Struct rp2040::dma::sniff_ctrl::CALC_W
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]
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>,