Struct lpc81x_pac::lpc812::crc::mode::R

source ·
pub struct R(_);
Expand description

Register MODE reader

Implementations§

Bits 0:1 - CRC polynomial: 1X = CRC-32 polynomial 01 = CRC-16 polynomial 00 = CRC-CCITT polynomial

Bit 2 - Data bit order: 1 = Bit order reverse for CRC_WR_DATA (per byte) 0 = No bit order reverse for CRC_WR_DATA (per byte)

Bit 3 - Data complement: 1 = 1’s complement for CRC_WR_DATA 0 = No 1’s complement for CRC_WR_DATA

Bit 4 - CRC sum bit order: 1 = Bit order reverse for CRC_SUM 0 = No bit order reverse for CRC_SUM

Bit 5 - CRC sum complement: 1 = 1’s complement for CRC_SUM 0 = No 1’s complement for CRC_SUM

Methods from Deref<Target = R<MODE_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.