Type Alias gd32f1::gd32f190::i2c0::saddr0::AddformatW

source ·
pub type AddformatW<'a, REG> = BitWriter<'a, REG, Addformat>;
Expand description

Field ADDFORMAT writer - Address mode for the I2C slave

Aliased Type§

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

Implementations§

source§

impl<'a, REG> AddformatW<'a, REG>
where REG: Writable + RegisterSpec,

source

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

7-bit slave address (note that you’ll need to shift the address by 1b)

source

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

10-bit slave address