summaryrefslogtreecommitdiff
path: root/tinyusb/hal
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-04 10:43:58 +0700
committerhathach <[email protected]>2013-06-04 10:43:58 +0700
commitcdc830782f3795cd841cd5d95fecfcad2ce06f21 (patch)
treee212e6fca2be378b30545afbfb3654eb1c242c1e /tinyusb/hal
parenta3ed66344d893c2c3ba4be2319af93448d4acb9f (diff)
rename tusb_device_is_configured
remove dcd_lpc18xx_lpc43xx.h and dcd_lpc11uxx_lpc13xx move define to hal
Diffstat (limited to 'tinyusb/hal')
-rw-r--r--tinyusb/hal/hal_lpc11uxx.h3
-rw-r--r--tinyusb/hal/hal_lpc13uxx.h3
-rw-r--r--tinyusb/hal/hal_lpc43xx.h3
3 files changed, 9 insertions, 0 deletions
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