Type Alias atsame54n::osc32kctrl::cfdctrl::W

source ·
pub type W = W<CFDCTRL_SPEC>;
Expand description

Register CFDCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cfden(&mut self) -> CFDEN_W<'_, CFDCTRL_SPEC, 0>

Bit 0 - Clock Failure Detector Enable

source

pub fn swback(&mut self) -> SWBACK_W<'_, CFDCTRL_SPEC, 1>

Bit 1 - Clock Switch Back

source

pub fn cfdpresc(&mut self) -> CFDPRESC_W<'_, CFDCTRL_SPEC, 2>

Bit 2 - Clock Failure Detector Prescaler

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual