Type Definition stm32f2::stm32f215::otg_hs_device::otg_hs_diepctl7::W[][src]

type W = W<u32, OTG_HS_DIEPCTL7>;

Writer for register OTG_HS_DIEPCTL7

Implementations

impl W[src]

pub fn mpsiz(&mut self) -> MPSIZ_W<'_>[src]

Bits 0:10 - Maximum packet size

pub fn usbaep(&mut self) -> USBAEP_W<'_>[src]

Bit 15 - USB active endpoint

pub fn eptyp(&mut self) -> EPTYP_W<'_>[src]

Bits 18:19 - Endpoint type

pub fn stall(&mut self) -> STALL_W<'_>[src]

Bit 21 - STALL handshake

pub fn txfnum(&mut self) -> TXFNUM_W<'_>[src]

Bits 22:25 - TxFIFO number

pub fn cnak(&mut self) -> CNAK_W<'_>[src]

Bit 26 - Clear NAK

pub fn snak(&mut self) -> SNAK_W<'_>[src]

Bit 27 - Set NAK

pub fn sd0pid_sevnfrm(&mut self) -> SD0PID_SEVNFRM_W<'_>[src]

Bit 28 - Set DATA0 PID

pub fn soddfrm(&mut self) -> SODDFRM_W<'_>[src]

Bit 29 - Set odd frame

pub fn epdis(&mut self) -> EPDIS_W<'_>[src]

Bit 30 - Endpoint disable

pub fn epena(&mut self) -> EPENA_W<'_>[src]

Bit 31 - Endpoint enable