Struct zinc_hal_lpc11xx::ioregs::I2C_data_buffer_Get
[−]
[src]
pub struct I2C_data_buffer_Get { // some fields omitted }
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_Get
fn new(reg: &I2C_data_buffer) -> I2C_data_buffer_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn data(&self) -> u32
Get value of Data
field: This register holds contents of the 8 MSBs of the DAT shift register.