pub unsafe extern "C" fn k_uptime_get_32() -> u32
Expand description
@brief Get system uptime (32-bit version).
This routine returns the lower 32 bits of the system uptime in milliseconds.
Because correct conversion requires full precision of the system clock there is no benefit to using this over k_uptime_get() unless you know the application will never run long enough for the system clock to approach 2^32 ticks. Calls to this function may involve interrupt blocking and 64-bit math.
@note While this function returns time in milliseconds, it does not mean it has millisecond resolution. The actual resolution depends on @kconfig{CONFIG_SYS_CLOCK_TICKS_PER_SEC} config option
@return The low 32 bits of the current uptime, in milliseconds.