pub enum IC_RESTART_EN_A {
DISABLED = 0,
ENABLED = 1,
}
Expand description
Determines whether RESTART conditions may be sent when acting as a master. Some older slaves do not support handling RESTART conditions; however, RESTART conditions are used in several DW_apb_i2c operations. When RESTART is disabled, the master is prohibited from performing the following functions: - Sending a START BYTE - Performing any high-speed mode operation - High-speed mode operation - Performing direction changes in combined format mode - Performing a read operation with a 10-bit address By replacing RESTART condition followed by a STOP and a subsequent START condition, split operations are broken down into multiple DW_apb_i2c transfers. If the above operations are performed, it will result in setting bit 6 (TX_ABRT) of the IC_RAW_INTR_STAT register.
Reset value: ENABLED
Value on reset: 1
Variants§
Trait Implementations§
Source§impl Clone for IC_RESTART_EN_A
impl Clone for IC_RESTART_EN_A
Source§fn clone(&self) -> IC_RESTART_EN_A
fn clone(&self) -> IC_RESTART_EN_A
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more