Type Alias avr_device::atmega2560::tc2::tccr2b::CS2_R

source ·
pub type CS2_R = FieldReader<u8, CS2_A>;
Expand description

Field CS2 reader - Clock Select bits

Aliased Type§

struct CS2_R { /* private fields */ }

Implementations§

source§

impl CS2_R

source

pub fn variant(&self) -> CS2_A

Get enumerated values variant

source

pub fn is_no_clock(&self) -> bool

Checks if the value of the field is NO_CLOCK

source

pub fn is_direct(&self) -> bool

Checks if the value of the field is DIRECT

source

pub fn is_prescale_8(&self) -> bool

Checks if the value of the field is PRESCALE_8

source

pub fn is_prescale_32(&self) -> bool

Checks if the value of the field is PRESCALE_32

source

pub fn is_prescale_64(&self) -> bool

Checks if the value of the field is PRESCALE_64

source

pub fn is_prescale_128(&self) -> bool

Checks if the value of the field is PRESCALE_128

source

pub fn is_prescale_256(&self) -> bool

Checks if the value of the field is PRESCALE_256

source

pub fn is_prescale_1024(&self) -> bool

Checks if the value of the field is PRESCALE_1024