[−][src]Type Definition stm32f1::stm32f102::otg_fs_device::fs_diepctl0::R
type R = R<u32, FS_DIEPCTL0>;
Reader of register FS_DIEPCTL0
Methods
impl R
[src]
pub fn mpsiz(&self) -> MPSIZ_R
[src]
Bits 0:1 - Maximum packet size
pub fn usbaep(&self) -> USBAEP_R
[src]
Bit 15 - USB active endpoint
pub fn naksts(&self) -> NAKSTS_R
[src]
Bit 17 - NAK status
pub fn eptyp(&self) -> EPTYP_R
[src]
Bits 18:19 - Endpoint type
pub fn stall(&self) -> STALL_R
[src]
Bit 21 - STALL handshake
pub fn txfnum(&self) -> TXFNUM_R
[src]
Bits 22:25 - TxFIFO number
pub fn epdis(&self) -> EPDIS_R
[src]
Bit 30 - Endpoint disable
pub fn epena(&self) -> EPENA_R
[src]
Bit 31 - Endpoint enable