Enum lpc13xx::iocon::dsr_loc::DSRLOCR
[−]
[src]
pub enum DSRLOCR { SELECTS_DSR_FUNCTION_1, SELECTS_DSR_FUNCTION_2, RESERVED_1, RESERVED_2, }
Possible values of the field DSRLOC
Variants
SELECTS_DSR_FUNCTION_1
Selects DSR function in pin location PIO2_1/DSR/SCK1.
SELECTS_DSR_FUNCTION_2
Selects DSR function in pin location PIO3_1/DSR.
RESERVED_1
Reserved.
RESERVED_2
Reserved.
Methods
impl DSRLOCR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_selects_dsr_function_1(&self) -> bool
[src]
Checks if the value of the field is SELECTS_DSR_FUNCTION_1
pub fn is_selects_dsr_function_2(&self) -> bool
[src]
Checks if the value of the field is SELECTS_DSR_FUNCTION_2
pub fn is_reserved_1(&self) -> bool
[src]
Checks if the value of the field is RESERVED_1
pub fn is_reserved_2(&self) -> bool
[src]
Checks if the value of the field is RESERVED_2
Trait Implementations
impl Clone for DSRLOCR
[src]
fn clone(&self) -> DSRLOCR
[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
impl Copy for DSRLOCR
[src]
impl Debug for DSRLOCR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more