Struct zinc_hal_lpc11xx::ioregs::I2C_data_buffer
[−]
[src]
pub struct I2C_data_buffer { // some fields omitted }
Register DATA_BUFFER
: Data buffer register. The contents of the 8 MSBs of the I2DAT shift register will be transferred to the DATA_BUFFER automatically after every nine bits (8 bits of data plus ACK or NACK) has been received on the bus.
Methods
impl I2C_data_buffer
fn get(&self) -> I2C_data_buffer_Get
Fetch the value of the DATA_BUFFER
register.
fn data(&self) -> u32
Get value of Data
field.