diff options
| author | hathach <[email protected]> | 2013-05-28 15:24:27 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-05-28 15:24:27 +0700 |
| commit | 1e5bd82af28c6005fa0ecf008e44322a6ee46461 (patch) | |
| tree | e9618a6a79880a0c681a6c213d8560c286e3475f /tinyusb/device/dcd.h | |
| parent | 7ae986de95ccb049611340164246e17ee0023c87 (diff) | |
rename NGX to ngx
add a bunch of stub header for dcd (175x_6x, 13xx, 18xx_43xx)
add dcd_nxp_romdriver for handling usb rom driver
add BIT_TEST_ in binary.h
remove mw_usbd_hid.h include due to lexical conflict
Diffstat (limited to 'tinyusb/device/dcd.h')
| -rw-r--r-- | tinyusb/device/dcd.h | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/tinyusb/device/dcd.h b/tinyusb/device/dcd.h index b040bed77..be139b713 100644 --- a/tinyusb/device/dcd.h +++ b/tinyusb/device/dcd.h @@ -57,26 +57,10 @@ #include "common/common.h" -#ifdef DEVICE_ROMDRIVER - #include "romdriver/mw_usbd_rom_api.h" - #define USBD_API ((USBD_API_T*) DEVICE_ROM_DRIVER_ADDR) -#endif - - -/** \brief Initialize DCD - * - * \param[in] para1 - * \param[out] para2 - * \return Error Code of the \ref TUSB_ERROR enum - * \note - */ - -tusb_error_t dcd_init(uint8_t coreid) ATTR_WARN_UNUSED_RESULT; - +tusb_error_t dcd_init(void) ATTR_WARN_UNUSED_RESULT; tusb_error_t dcd_controller_reset(uint8_t coreid) ATTR_WARN_UNUSED_RESULT; -tusb_error_t dcd_controller_connect(uint8_t coreid) ATTR_WARN_UNUSED_RESULT; - -void dcd_isr(uint8_t hostid); +void dcd_controller_connect(uint8_t coreid); +void dcd_isr(uint8_t coreid); #ifdef __cplusplus } |
