Type Alias atsame51g::mclk::cpudiv::W

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

Register CPUDIV writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn div(&mut self) -> DIV_W<'_, CPUDIV_SPEC, 0>

Bits 0:7 - Low-Power Clock Division Factor

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