[][src]Type Definition lpc55_pac::crc_engine::mode::R

type R = R<u32, MODE>;

Reader of register MODE

Implementations

impl R[src]

pub fn crc_poly(&self) -> CRC_POLY_R[src]

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

pub fn bit_rvs_wr(&self) -> BIT_RVS_WR_R[src]

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)

pub fn cmpl_wr(&self) -> CMPL_WR_R[src]

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

pub fn bit_rvs_sum(&self) -> BIT_RVS_SUM_R[src]

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

pub fn cmpl_sum(&self) -> CMPL_SUM_R[src]

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