pub enum MODER {
DISABLE,
OVSSINGLE,
EXTCLKSINGLE,
EXTCLKQUAD,
OVSQUAD1X,
OVSQUAD2X,
OVSQUAD4X,
_Reserved(u8),
}
Possible values of the field MODE
Single input LFACLK oversampling mode (available in EM0-EM3).
Externally clocked single input counter mode (available in EM0-EM3).
Externally clocked quadrature decoder mode (available in EM0-EM3).
LFACLK oversampling quadrature decoder 1X mode (available in EM0-EM3).
LFACLK oversampling quadrature decoder 2X mode (available in EM0-EM3).
LFACLK oversampling quadrature decoder 4X mode (available in EM0-EM3).
Value of the field as raw bits
Checks if the value of the field is DISABLE
Checks if the value of the field is OVSSINGLE
Checks if the value of the field is EXTCLKSINGLE
Checks if the value of the field is EXTCLKQUAD
Checks if the value of the field is OVSQUAD1X
Checks if the value of the field is OVSQUAD2X
Checks if the value of the field is OVSQUAD4X
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