diff options
| author | Ha Thach <[email protected]> | 2025-09-10 17:45:59 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-10 17:45:59 +0700 |
| commit | b6b22096dd5e2f97a98cccc10ad451ffa1b2b88e (patch) | |
| tree | 7263ec4f0d02ab15cde17f8a47730e77b61217c5 /src/common | |
| parent | 4a8b8220d94ccf16bbab47eac6340ce8572eb7b4 (diff) | |
| parent | d70d4043dcccb1628424c39c231ed1f95fb52f8e (diff) | |
Merge pull request #3126 from salkinium/fix/phyc_pll
[stm32] Wait until the PHYC PLL is stable
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/common/tusb_common.h b/src/common/tusb_common.h index 489e09a15..1fb93da11 100644 --- a/src/common/tusb_common.h +++ b/src/common/tusb_common.h @@ -78,10 +78,16 @@ #include "tusb_debug.h" //--------------------------------------------------------------------+ -// Optional API implemented by application if needed +// API implemented by application if needed // TODO move to a more obvious place/file //--------------------------------------------------------------------+ +// Get current milliseconds, required by some port/configuration without RTOS +extern uint32_t tusb_time_millis_api(void); + +// Delay in milliseconds, use tusb_time_millis_api() by default. required by some port/configuration with no RTOS +extern void tusb_time_delay_ms_api(uint32_t ms); + // flush data cache TU_ATTR_WEAK extern void tusb_app_dcache_flush(uintptr_t addr, uint32_t data_size); |
