pub enum SMODR {
_0,
_1,
_10,
_100,
_101,
_Reserved(u8),
}
Possible values of the field SMOD
Receive mode. Captures the current Shifter content into the SHIFTBUF on expiration of the Timer.
Transmit mode. Load SHIFTBUF contents into the Shifter on expiration of the Timer.
Match Store mode. Shifter data is compared to SHIFTBUF content on expiration of the Timer.
Match Continuous mode. Shifter data is continuously compared to SHIFTBUF contents.
Value of the field as raw bits
Checks if the value of the field is _0
Checks if the value of the field is _1
Checks if the value of the field is _10
Checks if the value of the field is _100
Checks if the value of the field is _101
Formats the value using the given formatter. Read more
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
🔬 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