Type Alias xmc4300::usb0_ep0::doepctl0::W

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

Register DOEPCTL0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn snp(&mut self) -> SnpW<'_, Doepctl0Spec>

Bit 20 - Snoop Mode

source

pub fn stall(&mut self) -> StallW<'_, Doepctl0Spec>

Bit 21 - STALL Handshake

source

pub fn cnak(&mut self) -> CnakW<'_, Doepctl0Spec>

Bit 26 - Clear NAK

source

pub fn snak(&mut self) -> SnakW<'_, Doepctl0Spec>

Bit 27 - Set NAK

source

pub fn epena(&mut self) -> EpenaW<'_, Doepctl0Spec>

Bit 31 - Endpoint Enable