Type Alias xmc4300::usb0_ep1::doepctl_isocont::W

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

Register DOEPCTL_ISOCONT writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn mps(&mut self) -> MpsW<'_, DoepctlIsocontSpec>

Bits 0:10 - Maximum Packet Size

source

pub fn usbact_ep(&mut self) -> UsbactEpW<'_, DoepctlIsocontSpec>

Bit 15 - USB Active Endpoint

source

pub fn eptype(&mut self) -> EptypeW<'_, DoepctlIsocontSpec>

Bits 18:19 - Endpoint Type

source

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

Bit 20 - Snoop Mode

source

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

Bit 21 - STALL Handshake

source

pub fn tx_fnum(&mut self) -> TxFnumW<'_, DoepctlIsocontSpec>

Bits 22:25 - TxFIFO Number

source

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

Bit 26 - Clear NAK

source

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

Bit 27 - Set NAK

source

pub fn set_even_fr(&mut self) -> SetEvenFrW<'_, DoepctlIsocontSpec>

Bit 28 - In non-Scatter/Gather DMA mode: Set Even frame

source

pub fn set_odd_fr(&mut self) -> SetOddFrW<'_, DoepctlIsocontSpec>

Bit 29 - Set Odd frame

source

pub fn epdis(&mut self) -> EpdisW<'_, DoepctlIsocontSpec>

Bit 30 - Endpoint Disable

source

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

Bit 31 - Endpoint Enable