[−][src]Type Definition cc2538::i2cm::ctrl::W
type W = W<u32, CTRL>;
Writer for register CTRL
Methods
impl W
[src]
pub fn reserved28(&mut self) -> RESERVED28_W
[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(&mut self) -> ACK_W
[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(&mut self) -> STOP_W
[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(&mut self) -> START_W
[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(&mut self) -> RUN_W
[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.