Type Alias atsame54n::mclk::cpudiv::DIV_W

source ·
pub type DIV_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 8, O, DIVSELECT_A>;
Expand description

Field DIV writer - Low-Power Clock Division Factor

Aliased Type§

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

Implementations§

source§

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

source

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

Divide by 1

source

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

Divide by 2

source

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

Divide by 4

source

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

Divide by 8

source

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

Divide by 16

source

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

Divide by 32

source

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

Divide by 64

source

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

Divide by 128