diff options
| author | hathach <[email protected]> | 2013-11-06 14:20:45 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-06 14:20:45 +0700 |
| commit | 58b41a05db5bf564a4d93312d8fdee368604ed55 (patch) | |
| tree | 5726caec0315f99407035168a81613994025999e /tinyusb/hal/hal.h | |
| parent | b2b53e61fbf7a449f1c3db78df0bb2beddb80984 (diff) | |
refractor for device able to work on usb1 of lpc43xx. But could not get it work on EA4357
Diffstat (limited to 'tinyusb/hal/hal.h')
| -rw-r--r-- | tinyusb/hal/hal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tinyusb/hal/hal.h b/tinyusb/hal/hal.h index b90085db6..a53f3e0db 100644 --- a/tinyusb/hal/hal.h +++ b/tinyusb/hal/hal.h @@ -61,7 +61,7 @@ // HAL API //--------------------------------------------------------------------+ // callback from tusb.h -extern void tusb_isr(uint8_t controller_id); +extern void tusb_isr(uint8_t coreid); /** \brief Initialize USB controller hardware * \returns \ref tusb_error_t type to indicate success or error condition. @@ -70,18 +70,18 @@ extern void tusb_isr(uint8_t controller_id); tusb_error_t hal_init(void); /** \brief Enable USB Interrupt on a specific USB Controller - * \param[in] controller_id is a zero-based index to identify USB controller's ID + * \param[in] coreid is a zero-based index to identify USB controller's ID * \note Some MCUs such as NXP LPC43xx has multiple USB controllers. It is necessary to know which USB controller for * those MCUs. */ -static inline void hal_interrupt_enable(uint8_t controller_id) ATTR_ALWAYS_INLINE; +static inline void hal_interrupt_enable(uint8_t coreid) ATTR_ALWAYS_INLINE; /** \brief Disable USB Interrupt on a specific USB Controller - * \param[in] controller_id is a zero-based index to identify USB controller's ID + * \param[in] coreid is a zero-based index to identify USB controller's ID * \note Some MCUs such as NXP LPC43xx has multiple USB controllers. It is necessary to know which USB controller for * those MCUs. */ -static inline void hal_interrupt_disable(uint8_t controller_id) ATTR_ALWAYS_INLINE; +static inline void hal_interrupt_disable(uint8_t coreid) ATTR_ALWAYS_INLINE; //--------------------------------------------------------------------+ // INCLUDE DRIVEN |
