CmdW

Type Alias CmdW 

pub type CmdW<'a, REG> = FieldWriter<'a, REG, 3, Cmd, Safe>;
Expand description

Field CMD writer - Command Data

Aliased Type§

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

Implementations§

§

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

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

Transmit DATA[7:0].

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

Receive (DATA[7:0] + 1) bytes.

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

Generate STOP condition.

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

Receive and discard (DATA[7:0] + 1) bytes.

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

Generate (repeated) START and transmit address in DATA[7:0].

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

Generate (repeated) START and transmit address in DATA[7:0]. This transfer expects a NACK to be returned.

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

Generate (repeated) START and transmit address in DATA[7:0] using high speed mode.

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

Generate (repeated) START and transmit address in DATA[7:0] using high speed mode. This transfer expects a NACK to be returned.