Type Alias avr_device::attiny85::cpu::clkpr::CLKPS_R

source ·
pub type CLKPS_R = FieldReader<u8, CLKPS_A>;
Expand description

Field CLKPS reader - Clock Prescaler Select Bits

Aliased Type§

struct CLKPS_R { /* private fields */ }

Implementations§

source§

impl CLKPS_R

source

pub fn variant(&self) -> Option<CLKPS_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_2(&self) -> bool

Checks if the value of the field is PRESCALER_2

source

pub fn is_prescaler_4(&self) -> bool

Checks if the value of the field is PRESCALER_4

source

pub fn is_prescaler_8(&self) -> bool

Checks if the value of the field is PRESCALER_8

source

pub fn is_prescaler_16(&self) -> bool

Checks if the value of the field is PRESCALER_16

source

pub fn is_prescaler_32(&self) -> bool

Checks if the value of the field is PRESCALER_32

source

pub fn is_prescaler_64(&self) -> bool

Checks if the value of the field is PRESCALER_64

source

pub fn is_prescaler_128(&self) -> bool

Checks if the value of the field is PRESCALER_128

source

pub fn is_prescaler_256(&self) -> bool

Checks if the value of the field is PRESCALER_256