MT2523 API Reference  LinkIt SDK v4
Typedefs.
HAL » USB

Overview

Typedefs

typedef void(* hal_usb_driver_interrupt_handler_t) (void)
 Interrupt handler function type. More...
 
typedef void(* hal_usb_dma_handler_t) (void)
 Application DMA callback function type. More...
 

Typedef Documentation

typedef void(* hal_usb_dma_handler_t) (void)

Application DMA callback function type.

It is a callback registered inside hal_usb_start_dma_channel(). The callback is called once the USB DMA is complete.

typedef void(* hal_usb_driver_interrupt_handler_t) (void)

Interrupt handler function type.

It is used in hal_usb_register_driver_callback(). For more details, please refer to how to use this driver section.