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

source

pub fn variant(&self) -> TWPS_A

Get enumerated values variant

source

pub fn is_prescaler_1(&self) -> bool

Checks if the value of the field is PRESCALER_1

source

pub fn is_prescaler_4(&self) -> bool

Checks if the value of the field is PRESCALER_4

source

pub fn is_prescaler_16(&self) -> bool

Checks if the value of the field is PRESCALER_16

source

pub fn is_prescaler_64(&self) -> bool

Checks if the value of the field is PRESCALER_64