STM32 Traffic Control
Loading...
Searching...
No Matches
systick.h
Go to the documentation of this file.
1
5
6#ifndef SYSTICK_H_
7#define SYSTICK_H_
8
9#include "stm32f446xx.h"
10
11// Function Prototypes
12void SysTick_Handler(void);
13void systick_init(void);
14uint32_t systickGetMillis(void);
15void systickDelayMs(int delay);
16
17#endif /* SYSTICK_H_ */
uint32_t systickGetMillis(void)
Get the current system uptime in milliseconds.
Definition systick.c:65
void systickDelayMs(int delay)
Busy-wait delay for a specified number of milliseconds.
Definition systick.c:79
void SysTick_Handler(void)
SysTick interrupt handler called every 1 millisecond.
Definition systick.c:37
void systick_init(void)
Initialize the SysTick timer for 1ms tick interrupts.
Definition systick.c:49