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

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

Register EPINTENCLR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0 - Transfer Complete 0 Interrupt Disable

source

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

Bit 1 - Transfer Complete 1 Interrupt Disable

source

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

Bit 2 - Error Flow 0 Interrupt Disable

source

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

Bit 3 - Error Flow 1 Interrupt Disable

source

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

Bit 4 - Received Setup Interrupt Disable

source

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

Bit 5 - Stall 0 In/Out Interrupt Disable

source

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

Bit 6 - Stall 1 In/Out Interrupt Disable

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