Type Alias atsame54n::supc::bod33::PSEL_W

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

Field PSEL writer - Prescaler Select

Aliased Type§

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

Implementations§

source§

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

source

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

Not divided

source

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

Divide clock by 4

source

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

Divide clock by 8

source

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

Divide clock by 16

source

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

Divide clock by 32

source

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

Divide clock by 64

source

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

Divide clock by 128

source

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

Divide clock by 256