[][src]Type Definition cc2538::soc_adc::rndh::W

type W = W<u32, RNDH>;

Writer for register RNDH

Methods

impl W[src]

pub fn reserved32(&mut self) -> RESERVED32_W[src]

Bits 8:31 - 31:8] This register is 8 bits in a 32-bit address space.

pub fn rndh(&mut self) -> RNDH_W[src]

Bits 0:7 - 7:0] Random value or CRC result/input data, high byte When written, a CRC16 calculation is triggered, and the data value written is processed starting with the MSB. The value returned when reading from this register is the 8 MSBs of the LFSR. When used for random-number generation, reading this register returns the 8 MSBs of the random number. When used for CRC calculations, reading this register returns the 8 MSBs of the CRC result.