CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
stm32_timing_helpers.h File Reference
#include <stdint.h>
Include dependency graph for stm32_timing_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void TIM_delay_blocking_ms (uint32_t delay_time_ms)
 Delay blocking, not yielding to other RTOS tasks.
 
uint32_t TIM_get_uptime_ms ()
 Get the uptime of the system in milliseconds.
 

Function Documentation

◆ TIM_delay_blocking_ms()

void TIM_delay_blocking_ms ( uint32_t delay_time_ms)

Delay blocking, not yielding to other RTOS tasks.

Parameters
delay_time_msDuration to delay, in milliseconds.

◆ TIM_get_uptime_ms()

uint32_t TIM_get_uptime_ms ( )

Get the uptime of the system in milliseconds.

Returns
The number of milliseconds since the system started/booted.