rename symbols

This commit is contained in:
hathach
2023-03-16 11:28:10 +07:00
parent bc2127b330
commit 92aed7e3e0
6 changed files with 862 additions and 864 deletions

View File

@@ -35,9 +35,9 @@ extern "C" {
#include "iodefine.h"
#define LINK_REG_BASE (0x000A0000)
#define RUSB2_REG_BASE (0x000A0000)
TU_ATTR_ALWAYS_INLINE static inline void link_int_enable(uint8_t rhport)
TU_ATTR_ALWAYS_INLINE static inline void rusb2_int_enable(uint8_t rhport)
{
(void) rhport;
#if (CFG_TUSB_MCU == OPT_MCU_RX72N)
@@ -47,7 +47,7 @@ TU_ATTR_ALWAYS_INLINE static inline void link_int_enable(uint8_t rhport)
#endif
}
TU_ATTR_ALWAYS_INLINE static inline void link_int_disable(uint8_t rhport)
TU_ATTR_ALWAYS_INLINE static inline void rusb2_int_disable(uint8_t rhport)
{
(void) rhport;
#if (CFG_TUSB_MCU == OPT_MCU_RX72N)
@@ -58,7 +58,7 @@ TU_ATTR_ALWAYS_INLINE static inline void link_int_disable(uint8_t rhport)
}
// MCU specific PHY init
TU_ATTR_ALWAYS_INLINE static inline void link_phy_init(void)
TU_ATTR_ALWAYS_INLINE static inline void rusb2_phy_init(void)
{
#if (CFG_TUSB_MCU == OPT_MCU_RX72N)
IR(PERIB, INTB185) = 0;