pub enum PRESCR {
DIV1,
DIV2,
DIV4,
DIV8,
DIV16,
DIV32,
DIV64,
DIV128,
DIV256,
DIV512,
DIV1024,
_Reserved(u8),
}
Possible values of the field PRESC
The HFPERCLK is undivided
The HFPERCLK is divided by 2
The HFPERCLK is divided by 4
The HFPERCLK is divided by 8
The HFPERCLK is divided by 16
The HFPERCLK is divided by 32
The HFPERCLK is divided by 64
The HFPERCLK is divided by 128
The HFPERCLK is divided by 256
The HFPERCLK is divided by 512
The HFPERCLK is divided by 1024
Value of the field as raw bits
Checks if the value of the field is DIV1
Checks if the value of the field is DIV2
Checks if the value of the field is DIV4
Checks if the value of the field is DIV8
Checks if the value of the field is DIV16
Checks if the value of the field is DIV32
Checks if the value of the field is DIV64
Checks if the value of the field is DIV128
Checks if the value of the field is DIV256
Checks if the value of the field is DIV512
Checks if the value of the field is DIV1024
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