pub type DATA_SIZE_W<'a, REG> = FieldWriter<'a, REG, 2, DATA_SIZE_A>;
Expand description

Field DATA_SIZE writer - Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer.

Aliased Type§

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

Implementations§

source§

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

source

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

0

source

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

1

source

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

10