![GigaDevice Semiconductor GD32F10 Series Скачать руководство пользователя страница 839](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32f10-series/gd32f10-series_user-manual_2225800839.webp)
GD32F10x User Manual
839
01: Isochronous
10: Bulk
11: Interrupt
17
NAKS
NAK status
This bit controls the NAK status of USBFS when both STALL bit in this register and
GONS bit in USBFS_DCTL register are cleared:
0: USBFS sends handshake packets according to the status of the endpoint
’s Rx
FIFO.
1: USBFS always sends NAK handshake to the OUT token.
This bit is read-only and software should use CNAK and SNAK in this register to
control this bit.
16
EOFRM
DPID
Even/odd frame (For isochronous OUT endpoints)
For isochronous transfers, software can use this bit to control that USBFS only
receives data packets in even or odd frames. If the current frame number
’s parity
doesn
’t match with this bit, USBFS just drops the data packet.
0: Only sends data in even frames
1: Only sends data in odd frames
Endpoint data PID (For interrupt/bulk OUT endpoints)
These is a data PID toggle scheme in interrupt or bulk transfer. Software should set
SD0PID to set this bit before a transfer starts and USBFS maintains this bit during
transfers following the data toggle scheme described in USB protocol.
0: Data packet
’s PID is DATA0
1: Data packet
’s PID is DATA1
15
EPACT
Endpoint active
This bit controls whether this endpoint is active. If an endpoint is not active, it ignores
all tokens and doesn
’t make any response.
14:11
Reserved
Must be kept at reset value.
10:0
MPL[10:0]
This field defines the maximum packet length in bytes.
Device IN endpoint-x interrupt flag register (USBFS_DIEPxINTF) (x = 0..3, where
x = endpoint_number)
Address offset: (endpoint_number × 0x20)
Reset value: 0x0000 0080
This register contains the status and events of an IN endpoint, when an IN endpoint interrupt
occurs, read this register for the respective endpoint to know the source of the interrupt. The
flag bits in this register are all set by hardware and cleared by writing 1 except the read-only
TXFE bit.
This register has to be accessed by word (32-bit)
Содержание GD32F10 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F10x Arm Cortex M3 32 bit MCU User Manual Revision 2 6 Jun 2022 ...
Страница 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Страница 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Страница 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Страница 427: ...GD32F10x User Manual 427 value ...
Страница 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...