#[repr(u8)]pub enum STA_A {
Show 29 variants
BE = 0,
SCT = 8,
RSCT = 16,
AWBT_AR = 24,
AWBT_ANR = 32,
DBTM_AR = 40,
DBTM_ANR = 48,
AL_A_DB = 56,
ARBT_AR = 64,
ARBT_ANR = 72,
DBRM_AT = 80,
DBRM_ANT = 88,
SAWR_AT = 96,
AL_AM_SAWR_AT = 104,
GCAR_AT = 112,
AL_AM_GCAR_AT = 120,
DBR_SAR_AT = 128,
DBR_SAR_ANT = 136,
DBR_GCR_AT = 144,
DBR_GCR_ANT = 152,
SRSCRS = 160,
SARR_AT = 168,
AL_AM_SARR_AT = 176,
DBTS_AR = 184,
DBTS_ANR = 192,
LBTS_AR = 200,
SAWT_AR = 208,
SAWT_ANR = 216,
NRSI = 248,
}
Expand description
Value on reset: 0
Variants§
BE = 0
0: Bus error
SCT = 8
8: START condition transmitted
RSCT = 16
16: Repeated START condition transmitted
AWBT_AR = 24
24: Address + Write bit transmitted, ACK received
AWBT_ANR = 32
32: Address + Write bit transmitted, ACK not received
DBTM_AR = 40
40: Data byte transmitted in master mode, ACK received
DBTM_ANR = 48
48: Data byte transmitted in master mode, ACK not received
AL_A_DB = 56
56: Arbitration lost in address or data byte
ARBT_AR = 64
64: Address + Read bit transmitted, ACK received
ARBT_ANR = 72
72: Address + Read bit transmitted, ACK not received
DBRM_AT = 80
80: Data byte received in master mode, ACK transmitted
DBRM_ANT = 88
88: Data byte received in master mode, not ACK transmitted
SAWR_AT = 96
96: Slave address + Write bit received, ACK transmitted
AL_AM_SAWR_AT = 104
104: Arbitration lost in the address as master, slave address + Write bit received, ACK transmitted
GCAR_AT = 112
112: General Call address received, ACK transmitted
AL_AM_GCAR_AT = 120
120: Arbitration lost in the address as master, General Call address received, ACK transmitted
DBR_SAR_AT = 128
128: Data byte received after slave address received, ACK transmitted
DBR_SAR_ANT = 136
136: Data byte received after slave address received, not ACK transmitted
DBR_GCR_AT = 144
144: Data byte received after General Call received, ACK transmitted
DBR_GCR_ANT = 152
152: Data byte received after General Call received, not ACK transmitted
SRSCRS = 160
160: STOP or repeated START condition received in slave mode
SARR_AT = 168
168: Slave address + Read bit received, ACK transmitted
AL_AM_SARR_AT = 176
176: Arbitration lost in the address as master, slave address + Read bit received, ACK transmitted
DBTS_AR = 184
184: Data byte transmitted in slave mode, ACK received
DBTS_ANR = 192
192: Data byte transmitted in slave mode, ACK not received
LBTS_AR = 200
200: The Last byte transmitted in slave mode, ACK received
SAWT_AR = 208
208: Second Address byte + Write bit transmitted, ACK received
SAWT_ANR = 216
216: Second Address byte + Write bit transmitted, ACK not received
NRSI = 248
248: No relevant status information, INT_FLAG=0
Trait Implementations§
impl Copy for STA_A
impl Eq for STA_A
impl StructuralPartialEq for STA_A
Auto Trait Implementations§
impl Freeze for STA_A
impl RefUnwindSafe for STA_A
impl Send for STA_A
impl Sync for STA_A
impl Unpin for STA_A
impl UnwindSafe for STA_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)