From cdc830782f3795cd841cd5d95fecfcad2ce06f21 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 4 Jun 2013 10:43:58 +0700 Subject: rename tusb_device_is_configured remove dcd_lpc18xx_lpc43xx.h and dcd_lpc11uxx_lpc13xx move define to hal --- tinyusb/hal/hal_lpc11uxx.h | 3 +++ tinyusb/hal/hal_lpc13uxx.h | 3 +++ tinyusb/hal/hal_lpc43xx.h | 3 +++ 3 files changed, 9 insertions(+) (limited to 'tinyusb/hal') diff --git a/tinyusb/hal/hal_lpc11uxx.h b/tinyusb/hal/hal_lpc11uxx.h index 77d03e3fb..e4841af3c 100644 --- a/tinyusb/hal/hal_lpc11uxx.h +++ b/tinyusb/hal/hal_lpc11uxx.h @@ -54,6 +54,9 @@ #include "LPC11Uxx.h" +#define NXP_ROMDRIVER_REG_BASE LPC_USB_BASE +#define NXP_ROMDRIVER_FUNCTION_ADDR 0x1FFF1FF8 + #ifdef __cplusplus extern "C" { #endif diff --git a/tinyusb/hal/hal_lpc13uxx.h b/tinyusb/hal/hal_lpc13uxx.h index 259f9de11..86d8d87a7 100644 --- a/tinyusb/hal/hal_lpc13uxx.h +++ b/tinyusb/hal/hal_lpc13uxx.h @@ -54,6 +54,9 @@ #include "LPC13Uxx.h" +#define NXP_ROMDRIVER_REG_BASE LPC_USB_BASE +#define NXP_ROMDRIVER_FUNCTION_ADDR 0x1FFF1FF8 + #ifdef __cplusplus extern "C" { #endif diff --git a/tinyusb/hal/hal_lpc43xx.h b/tinyusb/hal/hal_lpc43xx.h index 77a0332de..5cb2bbbbe 100644 --- a/tinyusb/hal/hal_lpc43xx.h +++ b/tinyusb/hal/hal_lpc43xx.h @@ -54,6 +54,9 @@ #include "LPC43xx.h" +#define NXP_ROMDRIVER_REG_BASE LPC_USB0_BASE // TODO USB1 +#define NXP_ROMDRIVER_FUNCTION_ADDR 0x1040011C + #ifdef __cplusplus extern "C" { #endif -- cgit v1.3.1