pub enum STATER {
IDLE,
WAIT,
START,
ADDR,
ADDRACK,
DATA,
DATAACK,
_Reserved(u8),
}
Possible values of the field STATE
No transmission is being performed.
Waiting for idle. Will send a start condition as soon as the bus is idle.
Start transmitted or received
Address transmitted or received
Address ack/nack transmitted or received
Data transmitted or received
Data ack/nack transmitted or received
Value of the field as raw bits
Checks if the value of the field is IDLE
Checks if the value of the field is WAIT
Checks if the value of the field is START
Checks if the value of the field is ADDR
Checks if the value of the field is ADDRACK
Checks if the value of the field is DATA
Checks if the value of the field is DATAACK
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static