Type Alias atsame54n::gclk::genctrl::R

source ·
pub type R = R<GENCTRL_SPEC>;
Expand description

Register GENCTRL[%s] reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn src(&self) -> SRC_R

Bits 0:3 - Source Select

source

pub fn genen(&self) -> GENEN_R

Bit 8 - Generic Clock Generator Enable

source

pub fn idc(&self) -> IDC_R

Bit 9 - Improve Duty Cycle

source

pub fn oov(&self) -> OOV_R

Bit 10 - Output Off Value

source

pub fn oe(&self) -> OE_R

Bit 11 - Output Enable

source

pub fn divsel(&self) -> DIVSEL_R

Bit 12 - Divide Selection

source

pub fn runstdby(&self) -> RUNSTDBY_R

Bit 13 - Run in Standby

source

pub fn div(&self) -> DIV_R

Bits 16:31 - Division Factor