// simple_uasync.h - Test helpers for uasync mock #ifndef SIMPLE_UASYNC_H #define SIMPLE_UASYNC_H #define ETCP_DEBUG 1 #include // These functions are only available when linking with simple_uasync.o // instead of lib.o // Advance time by delta_tb timebase units and process expired timers void simple_uasync_advance_time(uint32_t delta_tb); // Get current time in timebase units uint32_t simple_uasync_get_time(void); // Clear all pending timers void simple_uasync_clear(void); #endif // SIMPLE_UASYNC_H