| M480 BSP V3.05.001 The Board Support Package for M480 Series

Typedefs
USB Host Typedef
Library » USB Host Library

## Typedefs
typedef void() | CONN_FUNC(struct udev_t *udev, int param)
typedef void() | CDC_CB_FUNC(struct cdc_dev_t *cdev, uint8_t *rdata, int data_len)
typedef void() | HID_IR_FUNC(struct usbhid_dev *hdev, uint16_t ep_addr, int status, uint8_t *rdata, uint32_t data_len)
typedef void() | HID_IW_FUNC(struct usbhid_dev *hdev, uint16_t ep_addr, int status, uint8_t *wbuff, uint32_t *data_len)
typedef int() | UAC_CB_FUNC(struct uac_dev_t *dev, uint8_t *data, int len)

## Detailed Description

## Typedef Documentation

## ◆ CDC_CB_FUNC

typedef void() CDC_CB_FUNC(struct cdc_dev_t *cdev, uint8_t *rdata, int data_len)

Definition at line 120 of file usbh_lib.h.

## ◆ CONN_FUNC

typedef void() CONN_FUNC(struct udev_t *udev, int param)

Definition at line 116 of file usbh_lib.h.

## ◆ HID_IR_FUNC

typedef void() HID_IR_FUNC(struct usbhid_dev *hdev, uint16_t ep_addr, int status, uint8_t *rdata, uint32_t data_len)

interrupt in callback function

Definition at line 123 of file usbh_lib.h.

## ◆ HID_IW_FUNC

typedef void() HID_IW_FUNC(struct usbhid_dev *hdev, uint16_t ep_addr, int status, uint8_t *wbuff, uint32_t *data_len)

interrupt out callback function

Definition at line 124 of file usbh_lib.h.

## ◆ UAC_CB_FUNC

typedef int() UAC_CB_FUNC(struct uac_dev_t *dev, uint8_t *data, int len)

audio in callback function

Definition at line 127 of file usbh_lib.h.