add rusb2_module_start(), more update for multiple ports for dcd rusb2

This commit is contained in:
hathach
2023-07-06 15:54:07 +07:00
parent f308435b64
commit 95b77a0e73
5 changed files with 190 additions and 142 deletions

View File

@@ -37,6 +37,12 @@ extern "C" {
#define RUSB2_REG_BASE (0x000A0000)
// Start/Stop MSTP TODO implement later
TU_ATTR_ALWAYS_INLINE static inline void rusb2_module_start(uint8_t rhport, bool start) {
(void) rhport;
(void) start;
}
TU_ATTR_ALWAYS_INLINE static inline void rusb2_int_enable(uint8_t rhport)
{
(void) rhport;