pub enum IRQCR {
_0000,
_0001,
_0010,
_0011,
_1000,
_1001,
_1010,
_1011,
_1100,
_Reserved(u8),
}
Expand description
Possible values of the field IRQC
Interrupt/DMA Request disabled.
DMA Request on rising edge.
DMA Request on falling edge.
DMA Request on either edge.
Interrupt when logic zero.
Interrupt on rising edge.
Interrupt on falling edge.
Interrupt on either edge.
Interrupt when logic one.
Value of the field as raw bits
Checks if the value of the field is _0000
Checks if the value of the field is _0001
Checks if the value of the field is _0010
Checks if the value of the field is _0011
Checks if the value of the field is _1000
Checks if the value of the field is _1001
Checks if the value of the field is _1010
Checks if the value of the field is _1011
Checks if the value of the field is _1100
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
This method tests for self
and other
values to be equal, and is used
by ==
.
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.