Type Alias avr_device::atmega2560::adc::adcsra::ADPS_W
source · pub type ADPS_W<'a, const O: u8> = FieldWriter<'a, u8, ADCSRA_SPEC, u8, ADPS_A, 3, O>;Expand description
Field ADPS writer - ADC Prescaler Select Bits
Aliased Type§
struct ADPS_W<'a, const O: u8> { /* private fields */ }Implementations§
source§impl<'a, const O: u8> ADPS_W<'a, O>
impl<'a, const O: u8> ADPS_W<'a, O>
sourcepub fn prescaler_2(self) -> &'a mut W
pub fn prescaler_2(self) -> &'a mut W
Prescaler Value 2
sourcepub fn prescaler_4(self) -> &'a mut W
pub fn prescaler_4(self) -> &'a mut W
Prescaler Value 4
sourcepub fn prescaler_8(self) -> &'a mut W
pub fn prescaler_8(self) -> &'a mut W
Prescaler Value 8
sourcepub fn prescaler_16(self) -> &'a mut W
pub fn prescaler_16(self) -> &'a mut W
Prescaler Value 16
sourcepub fn prescaler_32(self) -> &'a mut W
pub fn prescaler_32(self) -> &'a mut W
Prescaler Value 32
sourcepub fn prescaler_64(self) -> &'a mut W
pub fn prescaler_64(self) -> &'a mut W
Prescaler Value 64
sourcepub fn prescaler_128(self) -> &'a mut W
pub fn prescaler_128(self) -> &'a mut W
Prescaler Value 128