Type Alias atsame54n::adc0::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 Configuration

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 div2(self) -> &'a mut W<REG>

Peripheral clock divided by 2

source

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

Peripheral clock divided by 4

source

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

Peripheral clock divided by 8

source

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

Peripheral clock divided by 16

source

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

Peripheral clock divided by 32

source

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

Peripheral clock divided by 64

source

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

Peripheral clock divided by 128

source

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

Peripheral clock divided by 256