Type Alias atsamd51j::rtc::mode1::gp::W

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

Register GP[%s] writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn gp(&mut self) -> GP_W<'_, GP_SPEC, 0>

Bits 0:31 - General Purpose

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual