Type Alias atsame54p::usb::host::host_pipe::pintenset::W

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

Register PINTENSET writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

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

Bit 0 - Transfer Complete 0 Interrupt Enable

source

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

Bit 1 - Transfer Complete 1 Interrupt Enable

source

pub fn trfail(&mut self) -> TRFAIL_W<'_, PINTENSET_SPEC, 2>

Bit 2 - Error Flow Interrupt Enable

source

pub fn perr(&mut self) -> PERR_W<'_, PINTENSET_SPEC, 3>

Bit 3 - Pipe Error Interrupt Enable

source

pub fn txstp(&mut self) -> TXSTP_W<'_, PINTENSET_SPEC, 4>

Bit 4 - Transmit Setup Interrupt Enable

source

pub fn stall(&mut self) -> STALL_W<'_, PINTENSET_SPEC, 5>

Bit 5 - Stall 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