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

source

pub fn prescaler_2(self) -> &'a mut W

Prescaler Value 2

source

pub fn prescaler_4(self) -> &'a mut W

Prescaler Value 4

source

pub fn prescaler_8(self) -> &'a mut W

Prescaler Value 8

source

pub fn prescaler_16(self) -> &'a mut W

Prescaler Value 16

source

pub fn prescaler_32(self) -> &'a mut W

Prescaler Value 32

source

pub fn prescaler_64(self) -> &'a mut W

Prescaler Value 64

source

pub fn prescaler_128(self) -> &'a mut W

Prescaler Value 128