Type Alias avr_device::atmega2560::adc::adcsra::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
impl ADPS_R
sourcepub fn is_prescaler_2(&self) -> bool
pub fn is_prescaler_2(&self) -> bool
Checks if the value of the field is PRESCALER_2
sourcepub fn is_prescaler_4(&self) -> bool
pub fn is_prescaler_4(&self) -> bool
Checks if the value of the field is PRESCALER_4
sourcepub fn is_prescaler_8(&self) -> bool
pub fn is_prescaler_8(&self) -> bool
Checks if the value of the field is PRESCALER_8
sourcepub fn is_prescaler_16(&self) -> bool
pub fn is_prescaler_16(&self) -> bool
Checks if the value of the field is PRESCALER_16
sourcepub fn is_prescaler_32(&self) -> bool
pub fn is_prescaler_32(&self) -> bool
Checks if the value of the field is PRESCALER_32
sourcepub fn is_prescaler_64(&self) -> bool
pub fn is_prescaler_64(&self) -> bool
Checks if the value of the field is PRESCALER_64
sourcepub fn is_prescaler_128(&self) -> bool
pub fn is_prescaler_128(&self) -> bool
Checks if the value of the field is PRESCALER_128