
USB Basic Firmware <Short Sheet>
R01AN0495EJ0100 Rev.1.00 Page 28 of 32
Apr 15, 2011
Table 4.1 Task Functions
No Module Name Function
1 USB interrupt handler
void usb_cstd_UsbHandler(void)
• USB interrupt handler
(USB packet transmit/receive end and special
signal detection)
2 Peripheral driver(PCD)
void usb_pstd_PcdTask(USBC_VP_INT_t)
• Hardware control in peripheral function mode
• Peripheral transaction management
3 Host driver (HCD)
void usb2_hstd_HcdTask(USBC_VP_INT_t)
• Hardware control in host function mode
• Host transaction management
4 Host manager (MGR)
void usb2_hstd_MgrTask(USBC_VP_INT_t)
• Device state management
• Enumeration
• HCD/HUBCD control message determination
5 Hub class driver (HUBCD)
void usb2_hhub_Task(USBC_VP_INT_t)
• HUB down port device state management
• HUB down port enumeration
6 USB Peripheral Device class driver(PDCD)
Provided by the customer as appropriate for the
system.
Refer to Chapter.3.2 to how to provide.
7 USB Host Device class driver (HDCD)
Provided by the customer as appropriate for the
system.
Refer to Chapter.3.3 to how to provide.
8 Application (APL)
Provided by the customer as appropriate for the
system.
In the same manner USB-BASIC-F/W comprises tasks that implement control functions for USB data transmit and
receive operations, USB-BASIC-F/W comprises tasks that implement control functions for USB data transmit and
receive operations. When an interrupt occurs, the selected function mode is checked and notification is sent by means of
a message to PCD/HCD.
Refer to the sample file ‘r_usb_PSMPL_apl.c’ and Figure. 4.2 for USB peripheral function.
Refer to the sample file ‘r_usb_HSMPL_apl.c’ and Fig. 4.3 for USB Host function.
Comentarios a estos manuales