[][src]Type Definition lpc55s6x_pac::crc_engine::mode::W

type W = W<u32, MODE>;

Writer for register MODE

Methods

impl W[src]

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

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

pub fn bit_rvs_wr(&mut self) -> BIT_RVS_WR_W[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(&mut self) -> CMPL_WR_W[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(&mut self) -> BIT_RVS_SUM_W[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(&mut self) -> CMPL_SUM_W[src]

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