Type Alias atsamd51p::gclk::genctrl::DIVSEL_W

source ·
pub type DIVSEL_W<'a, REG, const O: u8> = BitWriter<'a, REG, O, DIVSELSELECT_A>;
Expand description

Field DIVSEL writer - Divide Selection

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> DIVSEL_W<'a, REG, O>
where REG: Writable + RegisterSpec,

source

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

Divide input directly by divider factor

source

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

Divide input by 2^(divider factor+ 1)