Type Alias avr_device::atmega2560::twi::twsr::TWPS_W
source · pub type TWPS_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TWSR_SPEC, u8, TWPS_A, 2, O>;Expand description
Field TWPS writer - TWI Prescaler
Aliased Type§
struct TWPS_W<'a, const O: u8> { /* private fields */ }Implementations§
source§impl<'a, const O: u8> TWPS_W<'a, O>
impl<'a, const O: u8> TWPS_W<'a, O>
sourcepub fn prescaler_1(self) -> &'a mut W
pub fn prescaler_1(self) -> &'a mut W
Prescaler Value 1
sourcepub fn prescaler_4(self) -> &'a mut W
pub fn prescaler_4(self) -> &'a mut W
Prescaler Value 4
sourcepub fn prescaler_16(self) -> &'a mut W
pub fn prescaler_16(self) -> &'a mut W
Prescaler Value 16
sourcepub fn prescaler_64(self) -> &'a mut W
pub fn prescaler_64(self) -> &'a mut W
Prescaler Value 64