Enum nrf51822::lpcomp::refsel::REFSELR
[−]
[src]
pub enum REFSELR { SUPPLYONEEIGHTHPRESCALING, SUPPLYTWOEIGHTHSPRESCALING, SUPPLYTHREEEIGHTHSPRESCALING, SUPPLYFOUREIGHTHSPRESCALING, SUPPLYFIVEEIGHTHSPRESCALING, SUPPLYSIXEIGHTHSPRESCALING, SUPPLYSEVENEIGHTHSPRESCALING, AREF, }
Possible values of the field REFSEL
Variants
SUPPLYONEEIGHTHPRESCALING
Use supply with a 1/8 prescaler as reference.
SUPPLYTWOEIGHTHSPRESCALING
Use supply with a 2/8 prescaler as reference.
SUPPLYTHREEEIGHTHSPRESCALING
Use supply with a 3/8 prescaler as reference.
SUPPLYFOUREIGHTHSPRESCALING
Use supply with a 4/8 prescaler as reference.
SUPPLYFIVEEIGHTHSPRESCALING
Use supply with a 5/8 prescaler as reference.
SUPPLYSIXEIGHTHSPRESCALING
Use supply with a 6/8 prescaler as reference.
SUPPLYSEVENEIGHTHSPRESCALING
Use supply with a 7/8 prescaler as reference.
AREF
Use external analog reference as reference.
Methods
impl REFSELR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_supply_one_eighth_prescaling(&self) -> bool
[src]
Checks if the value of the field is SUPPLYONEEIGHTHPRESCALING
pub fn is_supply_two_eighths_prescaling(&self) -> bool
[src]
Checks if the value of the field is SUPPLYTWOEIGHTHSPRESCALING
pub fn is_supply_three_eighths_prescaling(&self) -> bool
[src]
Checks if the value of the field is SUPPLYTHREEEIGHTHSPRESCALING
pub fn is_supply_four_eighths_prescaling(&self) -> bool
[src]
Checks if the value of the field is SUPPLYFOUREIGHTHSPRESCALING
pub fn is_supply_five_eighths_prescaling(&self) -> bool
[src]
Checks if the value of the field is SUPPLYFIVEEIGHTHSPRESCALING
pub fn is_supply_six_eighths_prescaling(&self) -> bool
[src]
Checks if the value of the field is SUPPLYSIXEIGHTHSPRESCALING
pub fn is_supply_seven_eighths_prescaling(&self) -> bool
[src]
Checks if the value of the field is SUPPLYSEVENEIGHTHSPRESCALING
pub fn is_aref(&self) -> bool
[src]
Checks if the value of the field is AREF
Trait Implementations
impl Clone for REFSELR
[src]
fn clone(&self) -> REFSELR
[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 REFSELR
[src]
impl Debug for REFSELR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more