Type Alias ADPS_R

Source
pub type ADPS_R = FieldReader<u8, ADPS_A>;
Expand description

Field ADPS reader - ADC Prescaler Select Bits

Aliased Type§

struct ADPS_R { /* private fields */ }

Implementations§

Source§

impl ADPS_R

Source

pub fn variant(&self) -> Option<ADPS_A>

Get enumerated values variant

Source

pub fn is_prescaler_2(&self) -> bool

Checks if the value of the field is PRESCALER_2

Source

pub fn is_prescaler_4(&self) -> bool

Checks if the value of the field is PRESCALER_4

Source

pub fn is_prescaler_8(&self) -> bool

Checks if the value of the field is PRESCALER_8

Source

pub fn is_prescaler_16(&self) -> bool

Checks if the value of the field is PRESCALER_16

Source

pub fn is_prescaler_32(&self) -> bool

Checks if the value of the field is PRESCALER_32

Source

pub fn is_prescaler_64(&self) -> bool

Checks if the value of the field is PRESCALER_64

Source

pub fn is_prescaler_128(&self) -> bool

Checks if the value of the field is PRESCALER_128