Type Alias avr_device::atmega2560::twi::twsr::TWPS_R
source · pub type TWPS_R = FieldReader<u8, TWPS_A>;Expand description
Field TWPS reader - TWI Prescaler
Aliased Type§
struct TWPS_R { /* private fields */ }Implementations§
source§impl TWPS_R
impl TWPS_R
sourcepub fn is_prescaler_1(&self) -> bool
pub fn is_prescaler_1(&self) -> bool
Checks if the value of the field is PRESCALER_1
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_16(&self) -> bool
pub fn is_prescaler_16(&self) -> bool
Checks if the value of the field is PRESCALER_16
sourcepub fn is_prescaler_64(&self) -> bool
pub fn is_prescaler_64(&self) -> bool
Checks if the value of the field is PRESCALER_64