rename coreid to port
This commit is contained in:
@@ -74,18 +74,18 @@ extern "C" {
|
||||
bool hal_usb_init(void);
|
||||
|
||||
/** \brief Enable USB Interrupt on a specific USB Controller
|
||||
* \param[in] coreid is a zero-based index to identify USB controller's ID
|
||||
* \param[in] port 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.
|
||||
*/
|
||||
void hal_usb_int_enable(uint8_t coreid);
|
||||
void hal_usb_int_enable(uint8_t port);
|
||||
|
||||
/** \brief Disable USB Interrupt on a specific USB Controller
|
||||
* \param[in] coreid is a zero-based index to identify USB controller's ID
|
||||
* \param[in] port 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.
|
||||
*/
|
||||
void hal_usb_int_disable(uint8_t coreid);
|
||||
void hal_usb_int_disable(uint8_t port);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user