[][src]Type Definition cc2538::i2cm::ctrl::R

type R = R<u32, CTRL>;

Reader of register CTRL

Methods

impl R[src]

pub fn reserved28(&self) -> RESERVED28_R[src]

Bits 4:31 - 31:4] Software should not rely on the value of a reserved bit. To provide compatibility with future products, the value of a reserved bit should be preserved across a read-modify-write operation.

pub fn ack(&self) -> ACK_R[src]

Bit 3 - 3:3] Data acknowledge enable 0: The received data byte is not acknowledged automatically by the master. 1: The received data byte is acknowledged automatically by the master.

pub fn stop(&self) -> STOP_R[src]

Bit 2 - 2:2] Generate STOP 0: The controller does not generate the STOP condition. 1: The controller generates the STOP condition.

pub fn start(&self) -> START_R[src]

Bit 1 - 1:1] Generate START 0: The controller does not generate the START condition. 1: The controller generates the START condition.

pub fn run(&self) -> RUN_R[src]

Bit 0 - 0:0] I2C master enable 0: The master is disabled. 1: The master is enabled to transmit or receive data. When the BUSY bit is set, the other status bits are not valid.