Type Definition stm32f1::stm32f102::otg_fs_device::diepctl2::W[][src]

type W = W<u32, DIEPCTL2>;

Writer for register DIEPCTL2

Implementations

impl W[src]

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

Bit 31 - EPENA

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

Bit 30 - EPDIS

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

Bit 29 - SODDFRM

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

Bit 28 - SD0PID/SEVNFRM

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

Bit 27 - SNAK

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

Bit 26 - CNAK

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

Bits 22:25 - TXFNUM

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

Bit 21 - Stall

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

Bits 18:19 - EPTYP

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

Bit 15 - USBAEP

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

Bits 0:10 - MPSIZ