| 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;
55 const USBD_CORE_API_T *core;
58 const USBD_MSC_API_T *msc;
61 const USBD_DFU_API_T *dfu;
64 const USBD_HID_API_T *hid;
67 const USBD_CDC_API_T *cdc;
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*/
USBD_HID_API_T
HID class API functions structure.This structure contains pointers to all the function exposed by HID...
Definition: mw_usbd_hiduser.h:345
mw_usbd_core.h
ROM API for USB device stack.
mw_usbd_hw.h
USB Hardware Function prototypes.
mw_usbd_cdcuser.h
Communication Device Class (CDC) API structures and function prototypes.
USBD_API_T
Main USBD API functions structure.This structure contains pointer to various USB Device stack&#39;s sub-m...
Definition: mw_usbd_rom_api.h:51
USBD_API_T::msc
const USBD_MSC_API_T * msc
Definition: mw_usbd_rom_api.h:58
error.h
Error code returned by Boot ROM drivers/library functions.This file contains unified error codes to b...
USBD_API_T::hw
const USBD_HW_API_T * hw
Definition: mw_usbd_rom_api.h:52
USBD_API_T::cdc
const USBD_CDC_API_T * cdc
Definition: mw_usbd_rom_api.h:67
USBD_API_T::core
const USBD_CORE_API_T * core
Definition: mw_usbd_rom_api.h:55
USBD_MSC_API_T
MSC class API functions structure.This module exposes functions which interact directly with USB devi...
Definition: mw_usbd_mscuser.h:189
USBD_API_T::dfu
const USBD_DFU_API_T * dfu
Definition: mw_usbd_rom_api.h:61
USBD_DFU_API_T
DFU class API functions structure.This module exposes functions which interact directly with USB devi...
Definition: mw_usbd_dfuuser.h:209
mw_usbd_dfuuser.h
Device Firmware Upgrade (DFU) API structures and function prototypes.
USBD_CDC_API_T
CDC class API functions structure.This module exposes functions which interact directly with USB devi...
Definition: mw_usbd_cdcuser.h:389
USBD_CORE_API_T
USBD stack Core API functions structure.
Definition: mw_usbd_core.h:321
mw_usbd.h
Common definitions and declarations for the USB stack.
mw_usbd_mscuser.h
Mass Storage Class (MSC) API structures and function prototypes.
USBD_API_T::reserved6
const uint32_t * reserved6
Definition: mw_usbd_rom_api.h:70
USBD_API_T::version
const uint32_t version
Definition: mw_usbd_rom_api.h:72
mw_usbd_hiduser.h
Human Interface Device (HID) API structures and function prototypes.
USBD_API_T::hid
const USBD_HID_API_T * hid
Definition: mw_usbd_rom_api.h:64
USBD_HW_API_T
Hardware API functions structure.This module exposes functions which interact directly with USB devic...
Definition: mw_usbd_hw.h:75