Type Alias atsame54n::usb::device::device_endpoint::epintenset::W

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

Register EPINTENSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn trcpt0(&mut self) -> TRCPT0_W<'_, EPINTENSET_SPEC, 0>

Bit 0 - Transfer Complete 0 Interrupt Enable

source

pub fn trcpt1(&mut self) -> TRCPT1_W<'_, EPINTENSET_SPEC, 1>

Bit 1 - Transfer Complete 1 Interrupt Enable

source

pub fn trfail0(&mut self) -> TRFAIL0_W<'_, EPINTENSET_SPEC, 2>

Bit 2 - Error Flow 0 Interrupt Enable

source

pub fn trfail1(&mut self) -> TRFAIL1_W<'_, EPINTENSET_SPEC, 3>

Bit 3 - Error Flow 1 Interrupt Enable

source

pub fn rxstp(&mut self) -> RXSTP_W<'_, EPINTENSET_SPEC, 4>

Bit 4 - Received Setup Interrupt Enable

source

pub fn stall0(&mut self) -> STALL0_W<'_, EPINTENSET_SPEC, 5>

Bit 5 - Stall 0 In/out Interrupt enable

source

pub fn stall1(&mut self) -> STALL1_W<'_, EPINTENSET_SPEC, 6>

Bit 6 - Stall 1 In/out Interrupt 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