Type Alias atsame54n::tc0::count8::ctrla::PRESCALER_W

source ·
pub type PRESCALER_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 3, O, PRESCALERSELECT_A>;
Expand description

Field PRESCALER writer - Prescaler

Aliased Type§

struct PRESCALER_W<'a, REG, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, REG, const O: u8> PRESCALER_W<'a, REG, O>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn div1(self) -> &'a mut W<REG>

Prescaler: GCLK_TC

source

pub fn div2(self) -> &'a mut W<REG>

Prescaler: GCLK_TC/2

source

pub fn div4(self) -> &'a mut W<REG>

Prescaler: GCLK_TC/4

source

pub fn div8(self) -> &'a mut W<REG>

Prescaler: GCLK_TC/8

source

pub fn div16(self) -> &'a mut W<REG>

Prescaler: GCLK_TC/16

source

pub fn div64(self) -> &'a mut W<REG>

Prescaler: GCLK_TC/64

source

pub fn div256(self) -> &'a mut W<REG>

Prescaler: GCLK_TC/256

source

pub fn div1024(self) -> &'a mut W<REG>

Prescaler: GCLK_TC/1024