VSF Documented
Typedefs | Functions | Variables
usb.h File Reference
#include "hal/vsf_hal_cfg.h"
#include "../../__device.h"
#include "hal/driver/common/template/vsf_template_usb.h"
#include "./dc/usbd.h"
#include "./hc/usbh.h"

Go to the source code of this file.

Typedefs

typedef struct f1cx00s_usb_otg_t f1cx00s_usb_otg_t
 

Functions

bool f1cx00s_usb_irq (f1cx00s_usb_otg_t *usb)
 

Variables

f1cx00s_usb_otg_t USB_OTG0
 
const i_usb_dc_t VSF_USB_DC0
 

Typedef Documentation

◆ f1cx00s_usb_otg_t

Function Documentation

◆ f1cx00s_usb_irq()

bool f1cx00s_usb_irq ( f1cx00s_usb_otg_t usb)
extern
Note
can be used for polling
Parameters
none
Return values
trueit is safe to enter sleep mode
falsepolling work is on going, please keep calling the function

Variable Documentation

◆ USB_OTG0

f1cx00s_usb_otg_t USB_OTG0
extern

◆ VSF_USB_DC0

const i_usb_dc_t VSF_USB_DC0
extern