Type Alias atsamd51p::osc32kctrl::rtcctrl::W

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

Register RTCCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rtcsel(&mut self) -> RTCSEL_W<'_, RTCCTRL_SPEC, 0>

Bits 0:2 - RTC Clock Selection

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