Type Alias atsamd51p::dmac::channel::chevctrl::W

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

Register CHEVCTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn evact(&mut self) -> EVACT_W<'_, CHEVCTRL_SPEC, 0>

Bits 0:2 - Channel Event Input Action

source

pub fn evomode(&mut self) -> EVOMODE_W<'_, CHEVCTRL_SPEC, 4>

Bits 4:5 - Channel Event Output Mode

source

pub fn evie(&mut self) -> EVIE_W<'_, CHEVCTRL_SPEC, 6>

Bit 6 - Channel Event Input Enable

source

pub fn evoe(&mut self) -> EVOE_W<'_, CHEVCTRL_SPEC, 7>

Bit 7 - Channel Event Output Enable

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