Type Alias OPCODE_W

Source
pub type OPCODE_W<'a, REG> = FieldWriter<'a, REG, 3, OPCODE>;
Expand description

Field OPCODE writer - Opcode part of command %s.

Aliased Type§

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

Implementations§

Source§

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

Source

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

WRITE opcode

Source

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

STOP opcode

Source

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

READ opcode

Source

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

END opcode

Source

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

RSTART opcode