Type Alias gd32f1::gd32f190::crc::ctl::RevIW

source ·
pub type RevIW<'a, REG> = FieldWriterSafe<'a, REG, 2, RevI>;
Expand description

Field REV_I writer - Input Data Reverse Function

Aliased Type§

struct RevIW<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> RevIW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn normal(self) -> &'a mut W<REG>

Bit order not affected

source

pub fn byte(self) -> &'a mut W<REG>

Bit reversal done by byte

source

pub fn half_word(self) -> &'a mut W<REG>

Bit reversal done by half-word

source

pub fn word(self) -> &'a mut W<REG>

Bit reversal done by word