| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
usbd_rom_api.h File Reference

## Detailed Description

ROM API for USB device stack.

Definition of functions exported by ROM based USB device stack.

Definition in file usbd_rom_api.h.

`#include "error.h"`
`#include "usbd.h"`
`#include "usbd_hw.h"`
`#include "usbd_core.h"`
`#include "usbd_mscuser.h"`
`#include "usbd_dfuuser.h"`
`#include "usbd_hiduser.h"`
`#include "usbd_cdcuser.h"`

Go to the source code of this file.

## Data Structures
struct | USBD_API_T
| Main USBD API functions structure.This structure contains pointer to various USB Device stack's sub-module function tables. This structure is used as main entry point to access various methods (grouped in sub-modules) exposed by ROM based USB device stack. More...
struct | ROM_FUNCTION_TABLE

## Macros
#define | ROM_FUNCTION_TABLE_PTR_ADDR (0x10400104UL)
#define | ROM_USBD_PTR (((ROM_FUNCTION_TABLE *) (ROM_FUNCTION_TABLE_PTR_ADDR))->p_usbd)
#define | USBD_API (((USBD_API_T*)(ROM_USBD_PTR)))

## Macro Definition Documentation

#define ROM_FUNCTION_TABLE_PTR_ADDR (0x10400104UL)

Definition at line 101 of file usbd_rom_api.h.

#define ROM_USBD_PTR (((ROM_FUNCTION_TABLE *) (ROM_FUNCTION_TABLE_PTR_ADDR))->p_usbd)

Definition at line 102 of file usbd_rom_api.h.

#define USBD_API (((USBD_API_T*)(ROM_USBD_PTR)))

Definition at line 104 of file usbd_rom_api.h.