Enum lpc82x::sct::res::O3RESR
[−]
[src]
pub enum O3RESR { NO_CHANGE, SET_OUTPUT_OR_CLEAR, CLEAR_OUTPUT_OR_SET, TOGGLE_OUTPUT, }
Possible values of the field O3RES
Variants
NO_CHANGE
No change.
SET_OUTPUT_OR_CLEAR
Set output (or clear based on the SETCLR3 field).
CLEAR_OUTPUT_OR_SET
Clear output (or set based on the SETCLR3 field).
TOGGLE_OUTPUT
Toggle output.
Methods
impl O3RESR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_no_change(&self) -> bool
[src]
Checks if the value of the field is NO_CHANGE
fn is_set_output_or_clear(&self) -> bool
[src]
Checks if the value of the field is SET_OUTPUT_OR_CLEAR
fn is_clear_output_or_set(&self) -> bool
[src]
Checks if the value of the field is CLEAR_OUTPUT_OR_SET
fn is_toggle_output(&self) -> bool
[src]
Checks if the value of the field is TOGGLE_OUTPUT
Trait Implementations
impl Clone for O3RESR
[src]
fn clone(&self) -> O3RESR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more