Sign In
Upload
Manuals
Brands
GigaDevice Semiconductor Manuals
Computer Hardware
GD32C103 Series
GigaDevice Semiconductor GD32C103 Series Manuals
Manuals and User Guides for GigaDevice Semiconductor GD32C103 Series. We have
1
GigaDevice Semiconductor GD32C103 Series manual available for free PDF download: User Manual
GigaDevice Semiconductor GD32C103 Series User Manual (65 pages)
Brand:
GigaDevice Semiconductor
| Category:
Computer Hardware
| Size: 2 MB
Table of Contents
Table of Contents
2
List of Figures
4
List of Tables
5
Introduction
7
Table 1-1. Applicable Products
7
Library Architecture and File Structure
8
Library Architecture
8
Figure 2-1. GD32 USBFS Firmware Library Framework
8
File Structure
9
Figure 2-2. USBFS Firmware Library Folder
9
Figure 2-3. Device Folder
9
Figure 2-4. Driver Folder
10
Figure 2-5. Host Folder
10
Figure 2-6. Ustd Folder
11
USBFS Bottom Driver
12
Table 3-1. USBFS Underlying File
12
Table 3-2. Usb_Core.h/.C File Function
12
USBFS Middle Layer Driver
13
Host Middle Layer Driver Function
13
Table 4-1. USBFS Middle Layer Driver File
13
Table 4-2. Drv_Usb_Host.h/.C File Function
13
Table 4-3. Drv_Usbh_Int.h/.C File Function
13
Table 4-4. Usbh_Core.h/.C File Function
14
Table 4-5. Usbh_Enum.h/.C File Function
14
Table 4-6. Usbh_Pipe.h/.C File Function
14
Device Middle Layer Driver Function
15
Table 4-7. Usbh_Transc.h/.C File Function
15
Table 4-8. Drv_Usb_Dev.h/.C File Function
15
Table 4-9. Drv_Usbd_Int.h/.C File Function
16
Table 4-10. Usbd_Core.h/.C File Function
16
Table 4-11. Usbd_Enum.h/.C File Function
16
Table 4-12. Usbd_Transc.h/.C File Function
17
USBFS Device Library
18
Device Library Configuration
18
Usbd_Conf.h
18
Usb_Conf.h
18
Table 5-1. Usbd_Conf.h Configuration Description
18
Firmware Library Process
19
Table 5-2. Usb_Conf.h Configuration Description
19
Descriptor
20
Figure 5-1. Firmware Library Flowchart
20
Figure 5-2. Device Class File Path
21
Interrupt Handling
22
Table 5-3. USBFS Device Interruption
22
USB Device Class Interface
26
Figure 5-3. Device Class File
27
Data Transmission Process
28
IN Direction
28
OUT Direction
28
USB Device Class Routine
29
Audio
29
Figure 5-4. AUDIO Macro Configuration
29
Table 5-4. AUDIO Relevant Descriptors
29
Table 5-5. AUDIO Device Class Interface Function
30
Table 5-6. AUDIO Device Class Request
30
Figure 5-5. AUDIO Device Class
31
Table 5-7. AUDIO User Interface Functions
31
Figure 5-6. Audio Playback File
32
CDC
33
Figure 5-7. Audio System Sound Configuration
33
Figure 5-8. Audio Recording Listening Configuration
33
Table 5-8. CDC Relevant Descriptors
34
Table 5-9. CDC Device Class Interface Functions
34
Figure 5-9. CDC Device Class
35
Table 5-10. CDC Device Class Request
35
Table 5-11. CDC User Interface Functions
35
Dfu
36
Figure 5-10. Virtual Serial Data Transmitting and Receiving
36
Figure 5-11. Virtual Serial Port Large Data Transmitting and Receiving
36
Figure 5-12. DFU State Machine Flow Chart
37
Table 5-12. Dfurelevant Descriptors
37
Table 5-13. DFU Device Class Interface Functions
38
Table 5-14. DFU Device Class Request
38
Figure 5-13. DFU Device Class
39
Table 5-15. DFU User Interface Functions
39
Figure 5-14. All in One Connection
40
Figure 5-15. All in One Uploading
41
Figure 5-16. All in One Option Byte Operation
41
Msc
42
Table 5-16. MSC Device Class Interface Functions
42
Table 5-17. MSC Device Class Request
42
Table 5-18. MSC User Interface Functions
43
Figure 5-17. MSC Device Class
44
Figure 5-18. MSC Device Formatting
44
Figure 5-19. MSC Device Read-Write Test
44
Hid
45
Table 5-19. HID Relevant Descriptors
45
Table 5-20. HID Device Class Interface Functions
45
Table 5-21. HID Device Class Request
45
Figure 5-20. HID Device Class
46
Table 5-22. HID User Interface Functions
46
USB Printer
47
Table 5-23. Printer Device Class Interface Function
47
Table 5-24. Printer Device Class Request
47
Figure 5-21. Printer Device Class
48
USBFS Host Library
49
Host Library Configuration
49
Usbh_Conf.h
49
Usb_Conf.h
49
Table 6-1. Usbh_Conf.h Configuration Description
49
Host VBUS Configuration
50
Table 6-2. Usb_Conf.h Configuration Description
50
Figure 6-1. Construct Circuit through Triode to Control VBUS
51
Interrupt Handling
52
Figure 6-2. Control VBUS by Logic Chip Circuit
52
Table 6-3. USBFS Host Interrupt
52
State Machine Process
56
USB Host Library User Interface
56
Figure 6-3. USB Host State Machine
56
Table 6-4. USB Host Library User Interface Function
57
USB Host Library Device Class Interface
58
HID Device Class
58
Figure 6-4. Host Device Class Interface File Path
58
Table 6-5. HID Host Class Library Function
59
MSC Device Class
60
Table 6-6. MSC Host Class Library Function
60
USB Host Library Routine
61
Hid Host
61
Msc Host
62
Figure 6-5. Hid Host Routine Operation Diagram
62
Figure 6-6. Routine for Mouse-Over Display of HID Host
62
Figure 6-7. Routine for HID Host Keyboard Display
62
Figure 6-8. MSC Host Routine Operation Steps
63
Figure 6-9. MSC Host Routine Display
63
Revision History
64
Table 7-1. Revision History
64
Advertisement
Advertisement
Related Products
GigaDevice Semiconductor GD32F107 Series
GigaDevice Semiconductor GD32F207 Series
GigaDevice Semiconductor GD32F307 Series
GigaDevice Semiconductor GD32E503V-EVAL
GigaDevice Semiconductor GD32F310C-EVAL
GigaDevice Semiconductor GD32VF103R-START
GigaDevice Semiconductor GD32VF103V-EVAL
GigaDevice Semiconductor GD32E103V-EVAL
GigaDevice Semiconductor GD32L233R-EVAL
GigaDevice Semiconductor GD32E502 Series
GigaDevice Semiconductor Categories
Microcontrollers
Computer Hardware
Motherboard
Semiconductors
Adapter
More GigaDevice Semiconductor Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL