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

type R = R<u32, RNDH>;

Reader of register RNDH

Methods

impl R[src]

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

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

pub fn rndh(&self) -> RNDH_R[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.