Type Alias avr_device::attiny85::tc1::dtps::DTPS_R

source ·
pub type DTPS_R = FieldReader<u8, DTPS_A>;
Expand description

Field DTPS reader - No Description.

Aliased Type§

struct DTPS_R { /* private fields */ }

Implementations§

source§

impl DTPS_R

source

pub fn variant(&self) -> DTPS_A

Get enumerated values variant

source

pub fn is_direct(&self) -> bool

Checks if the value of the field is DIRECT

source

pub fn is_prescale_2(&self) -> bool

Checks if the value of the field is PRESCALE_2

source

pub fn is_prescale_4(&self) -> bool

Checks if the value of the field is PRESCALE_4

source

pub fn is_prescale_8(&self) -> bool

Checks if the value of the field is PRESCALE_8