USBD ROM Stack  2.0
ROM based USB device stack
mw_usbd_rom_api.h
Go to the documentation of this file.
1 /***********************************************************************
2  * $Id:: mw_usbd_rom_api.h 331 2012-08-09 18:54:34Z usb10131 $
3  *
4  * Project: USB device ROM Stack
5  *
6  * Description:
7  * ROM API Module definitions.
8  *
9  ***********************************************************************
10  * Copyright(C) 2011, NXP Semiconductor
11  * All rights reserved.
12  *
13  * Software that is described herein is for illustrative purposes only
14  * which provides customers with programming information regarding the
15  * products. This software is supplied "AS IS" without any warranties.
16  * NXP Semiconductors assumes no responsibility or liability for the
17  * use of the software, conveys no license or title under any patent,
18  * copyright, or mask work right to the product. NXP Semiconductors
19  * reserves the right to make changes in the software without
20  * notification. NXP Semiconductors also make no representation or
21  * warranty that such application will be suitable for the specified
22  * use without further testing or modification.
23  **********************************************************************/
24 #ifndef __MW_USBD_ROM_API_H
25 #define __MW_USBD_ROM_API_H
26 
33 #include "error.h"
34 #include "mw_usbd.h"
35 #include "mw_usbd_hw.h"
36 #include "mw_usbd_core.h"
37 #include "mw_usbd_mscuser.h"
38 #include "mw_usbd_dfuuser.h"
39 #include "mw_usbd_hiduser.h"
40 #include "mw_usbd_cdcuser.h"
41 
51 typedef struct USBD_API {
52  const USBD_HW_API_T *hw;
70  const uint32_t *reserved6;
72  const uint32_t version;
84 } USBD_API_T;
85 
86 extern const USBD_API_T usb_api;
87 
88 #endif /*__MW_USBD_ROM_API_H*/
HID class API functions structure.This structure contains pointers to all the function exposed by HID...
Definition: mw_usbd_hiduser.h:345
ROM API for USB device stack.
USB Hardware Function prototypes.
Communication Device Class (CDC) API structures and function prototypes.
Main USBD API functions structure.This structure contains pointer to various USB Device stack's sub-m...
Definition: mw_usbd_rom_api.h:51
const USBD_MSC_API_T * msc
Definition: mw_usbd_rom_api.h:58
Error code returned by Boot ROM drivers/library functions.This file contains unified error codes to b...
const USBD_HW_API_T * hw
Definition: mw_usbd_rom_api.h:52
const USBD_CDC_API_T * cdc
Definition: mw_usbd_rom_api.h:67
const USBD_CORE_API_T * core
Definition: mw_usbd_rom_api.h:55
MSC class API functions structure.This module exposes functions which interact directly with USB devi...
Definition: mw_usbd_mscuser.h:189
const USBD_DFU_API_T * dfu
Definition: mw_usbd_rom_api.h:61
DFU class API functions structure.This module exposes functions which interact directly with USB devi...
Definition: mw_usbd_dfuuser.h:209
Device Firmware Upgrade (DFU) API structures and function prototypes.
CDC class API functions structure.This module exposes functions which interact directly with USB devi...
Definition: mw_usbd_cdcuser.h:389
USBD stack Core API functions structure.
Definition: mw_usbd_core.h:320
Common definitions and declarations for the USB stack.
Mass Storage Class (MSC) API structures and function prototypes.
const uint32_t * reserved6
Definition: mw_usbd_rom_api.h:70
const uint32_t version
Definition: mw_usbd_rom_api.h:72
Human Interface Device (HID) API structures and function prototypes.
const USBD_HID_API_T * hid
Definition: mw_usbd_rom_api.h:64
Hardware API functions structure.This module exposes functions which interact directly with USB devic...
Definition: mw_usbd_hw.h:75