Type Alias atsame53j::ac::winctrl::W

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

Register WINCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn wen0(&mut self) -> WEN0_W<'_, WINCTRL_SPEC, 0>

Bit 0 - Window 0 Mode Enable

source

pub fn wintsel0(&mut self) -> WINTSEL0_W<'_, WINCTRL_SPEC, 1>

Bits 1:2 - Window 0 Interrupt 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