Type Alias atsame51n::evsys::intpend::W

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

Register INTPEND writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn id(&mut self) -> ID_W<'_, INTPEND_SPEC, 0>

Bits 0:3 - Channel ID

source

pub fn ovr(&mut self) -> OVR_W<'_, INTPEND_SPEC, 8>

Bit 8 - Channel Overrun

source

pub fn evd(&mut self) -> EVD_W<'_, INTPEND_SPEC, 9>

Bit 9 - Channel Event Detected

source

pub fn ready(&mut self) -> READY_W<'_, INTPEND_SPEC, 14>

Bit 14 - Ready

source

pub fn busy(&mut self) -> BUSY_W<'_, INTPEND_SPEC, 15>

Bit 15 - Busy

source

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

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual