Struct stm32f072_hal::stm32::i2c1::isr::R

source ·
pub struct R { /* private fields */ }
Expand description

Value read from the register

Implementations§

Value of the register as raw bits

Bits 17:23 - Address match code (Slave mode)

Bit 16 - Transfer direction (Slave mode)

Bit 15 - Bus busy

Bit 13 - SMBus alert

Bit 12 - Timeout or t_low detection flag

Bit 11 - PEC Error in reception

Bit 10 - Overrun/Underrun (slave mode)

Bit 9 - Arbitration lost

Bit 8 - Bus error

Bit 7 - Transfer Complete Reload

Bit 6 - Transfer Complete (master mode)

Bit 5 - Stop detection flag

Bit 4 - Not acknowledge received flag

Bit 3 - Address matched (slave mode)

Bit 2 - Receive data register not empty (receivers)

Bit 1 - Transmit interrupt status (transmitters)

Bit 0 - Transmit data register empty (transmitters)

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.