[][src]Type Definition gd32vf103_pac::usbfs_device::doep0ctl::R

type R = R<u32, DOEP0CTL>;

Reader of register DOEP0CTL

Implementations

impl R[src]

pub fn epen(&self) -> EPEN_R[src]

Bit 31 - Endpoint enable

pub fn epd(&self) -> EPD_R[src]

Bit 30 - Endpoint disable

pub fn stall(&self) -> STALL_R[src]

Bit 21 - STALL handshake

pub fn snoop(&self) -> SNOOP_R[src]

Bit 20 - Snoop mode

pub fn eptype(&self) -> EPTYPE_R[src]

Bits 18:19 - Endpoint type

pub fn naks(&self) -> NAKS_R[src]

Bit 17 - NAK status

pub fn epact(&self) -> EPACT_R[src]

Bit 15 - Endpoint active

pub fn mpl(&self) -> MPL_R[src]

Bits 0:1 - Maximum packet length