Type Alias atsamd51n::tc0::count32::ctrla::PRESCALER_R

source ·
pub type PRESCALER_R = FieldReader<PRESCALERSELECT_A>;
Expand description

Field PRESCALER reader - Prescaler

Aliased Type§

struct PRESCALER_R { /* private fields */ }

Implementations§

source§

impl PRESCALER_R

source

pub const fn variant(&self) -> PRESCALERSELECT_A

Get enumerated values variant

source

pub fn is_div1(&self) -> bool

Prescaler: GCLK_TC

source

pub fn is_div2(&self) -> bool

Prescaler: GCLK_TC/2

source

pub fn is_div4(&self) -> bool

Prescaler: GCLK_TC/4

source

pub fn is_div8(&self) -> bool

Prescaler: GCLK_TC/8

source

pub fn is_div16(&self) -> bool

Prescaler: GCLK_TC/16

source

pub fn is_div64(&self) -> bool

Prescaler: GCLK_TC/64

source

pub fn is_div256(&self) -> bool

Prescaler: GCLK_TC/256

source

pub fn is_div1024(&self) -> bool

Prescaler: GCLK_TC/1024