Type Alias atsamd51p::pdec::prescbuf::PRESCBUF_W

source ·
pub type PRESCBUF_W<'a, REG, const O: u8> = FieldWriter<'a, REG, 4, O, PRESCBUFSELECT_A>;
Expand description

Field PRESCBUF writer - Prescaler Buffer Value

Aliased Type§

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

Implementations§

source§

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

source

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

No division

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

source

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

Divide by 256

source

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

Divide by 512

source

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

Divide by 1024