Type Alias W

Source
pub type W = W<CONFIG_SPEC>;
Expand description

Register config writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn clear(&mut self) -> CLEAR_W<'_, CONFIG_SPEC>

Bit 0 - Write 1 to clear internal checksum states

Source

pub fn endian(&mut self) -> ENDIAN_W<'_, CONFIG_SPEC>

Bit 1 - Sets endian of input data

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual