| 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
Macros | Functions | Variables
HAL_LPC18xx.h File Reference
`#include "chip.h"`
`#include "../../USBMode.h"`

Go to the source code of this file.

## Macros
#define | USBRAM_SECTION RAM2
#define | USBDEV_ADDR_AD (1 << 24)
#define | USBDEV_ADDR(n) (((n) & 0x7F) << 25)
#define | LPC18_43_MAX_USB_CORE 2
#define | USB_REG(CoreID) USB_REG_BASE_ADDR[CoreID]
#define | LINK_TERMINATE 0x01

## Functions
void | HcdIrqHandler (uint8_t HostID)
| Interrupt Handler (Host side). This handler is known as interrupt service routine of USB Host.
void | DcdIrqHandler (uint8_t corenum)
| Interrupt Handler (Device side). This handler is known as interrupt service routine of USB Device.
void | HAL_Reset (uint8_t corenum)

## Variables
IP_USBHS_001_T *const | USB_REG_BASE_ADDR []