Type Alias xmc4800::usb0_ep0::doepctl0::W

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

Register DOEPCTL0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn snp(&mut self) -> SNP_W<'_, DOEPCTL0_SPEC>

Bit 20 - Snoop Mode

source

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

Bit 21 - STALL Handshake

source

pub fn cnak(&mut self) -> CNAK_W<'_, DOEPCTL0_SPEC>

Bit 26 - Clear NAK

source

pub fn snak(&mut self) -> SNAK_W<'_, DOEPCTL0_SPEC>

Bit 27 - Set NAK

source

pub fn epena(&mut self) -> EPENA_W<'_, DOEPCTL0_SPEC>

Bit 31 - Endpoint Enable