Renesas REJ10J1837-0100 Guía de instalación Pagina 15

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 35
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 14
USB Basic Firmware <Short Sheet>
R01AN0495EJ0100 Rev.1.00 Page 15 of 32
Apr 15, 2011
(2) Register the PDCD
The structure used to register information in PDCD is described below. The call-back function is executed when the
device state changes, etc.
The sample application is described in the R_usb_pstd_SmplRegistration function in r_usb_PSMPL_apl.c.
typedef struct {
uint16_t **pipetbl; /* Pipe Define Table address */
uint8_t *devicetbl; /* Device descriptor address */
uint8_t *qualitbl; /* Qualifier descriptor address */
uint8_t **configtbl; /* Configuration descriptor address */
uint8_t **othertbl; /* Other speed descriptor address */
uint8_t **stringtbl; /* String descriptor address */
USBC_CB_INFO_t classinit; /* Driver init */
USBC_CB_INFO_t devdefault; /* Device default */
USBC_CB_INFO_t devconfig; /* Device configuered */
USBC_CB_INFO_t devdetach; /* Device detach */
USBC_CB_INFO_t devsuspend; /* Device suspend */
USBC_CB_INFO_t devresume; /* Device resume */
USBC_CB_INFO_t interface ; /* Interface changed */
USBC_CB_TRN_t ctrltrans; /* Control Transfer */
}USBC_PCDREG_t;
Vista de pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 34 35

Comentarios a estos manuales

Sin comentarios