CTS-SAT-1-OBC-Firmware
Loading...
Searching...
No Matches
stm32_timing_helpers.c File Reference
#include "stm32/stm32_timing_helpers.h"
#include "main.h"
Include dependency graph for stm32_timing_helpers.c:

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.