Type Alias atsamd21j::adc::ctrlb::PRESCALER_R

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

Field PRESCALER reader - Prescaler Configuration

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_div4(&self) -> bool

Peripheral clock divided by 4

source

pub fn is_div8(&self) -> bool

Peripheral clock divided by 8

source

pub fn is_div16(&self) -> bool

Peripheral clock divided by 16

source

pub fn is_div32(&self) -> bool

Peripheral clock divided by 32

source

pub fn is_div64(&self) -> bool

Peripheral clock divided by 64

source

pub fn is_div128(&self) -> bool

Peripheral clock divided by 128

source

pub fn is_div256(&self) -> bool

Peripheral clock divided by 256

source

pub fn is_div512(&self) -> bool

Peripheral clock divided by 512