Type Alias d1_pac::twi::twi_efr::DBN_W

source ·
pub type DBN_W<'a, const O: u8> = FieldWriterSafe<'a, u32, TWI_EFR_SPEC, u8, DBN_A, 2, O>;
Expand description

Field dbn writer - Data Byte Number Follow Read Command Control

Aliased Type§

struct DBN_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> DBN_W<'a, O>

source

pub fn b0(self) -> &'a mut W

No data byte can be written after the read command

source

pub fn b1(self) -> &'a mut W

1-byte data can be written after the read command

source

pub fn b2(self) -> &'a mut W

2-byte data can be written after the read command

source

pub fn b3(self) -> &'a mut W

3-byte data can be written after the read command