Type Alias avr_device::attiny85::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

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