![]() |
![]() |
Dcd driver actions Structure which collates all actions required by the dcds to implement The protocol core call these actions to generate USB traffic. More...
#include <usb_dev_object.h>
Data Fields | |
| void * | pDcdObject |
| uint32_t(* | pFnDcInit )(struct usbDcd *pDcdObject) |
| uint32_t(* | pFnDcKill )(struct usbDcd *pDcdObject) |
| uint32_t(* | pFnConfigDevChara )(struct usbDcd *pDcdObject, usbDevChara_t *pDevCharecteristic) |
| uint32_t(* | pFnEndpt0Req )(struct usbDcd *pDcdObject, usbEndpt0Request_t req) |
| uint32_t(* | pFnEndptReq )(struct usbDcd *pDcdObject, usbEndptRequest_t req) |
Dcd driver actions Structure which collates all actions required by the dcds to implement The protocol core call these actions to generate USB traffic.
| void* usbDevDcdAction::pDcdObject |
pointer to device control driver object.
| uint32_t(* usbDevDcdAction::pFnConfigDevChara) (struct usbDcd *pDcdObject, usbDevChara_t *pDevCharecteristic) |
Function pointer to function which is used by the core to set device charectristics such as device speed, device address,Number of endpoints required and their endpoint numbers. Fifo config must be done by dcd.
| uint32_t(* usbDevDcdAction::pFnDcInit) (struct usbDcd *pDcdObject) |
Function pointer to init routine for the specific device controller instance.
| uint32_t(* usbDevDcdAction::pFnDcKill) (struct usbDcd *pDcdObject) |
Function pointer to function which deallocates all mem and stops the controller.
| uint32_t(* usbDevDcdAction::pFnEndpt0Req) (struct usbDcd *pDcdObject, usbEndpt0Request_t req) |
Function pointer to start an EP0 IN/OUT request.
| uint32_t(* usbDevDcdAction::pFnEndptReq) (struct usbDcd *pDcdObject, usbEndptRequest_t req) |
Function pointer to start a non control request . The usbEndptRequest_t would have necessary details like add, endpoint number, type of trans, interval etc .