CMSIS OS Tick header file. More...
#include <stdint.h>
Go to the source code of this file.
Macros | |
#define | IRQHANDLER_T |
IRQ Handler. More... | |
Functions | |
int32_t | OS_Tick_Setup (uint32_t freq, IRQHandler_t handler) |
Setup OS Tick timer to generate periodic RTOS Kernel Ticks. More... | |
void | OS_Tick_Enable (void) |
Enable OS Tick timer interrupt. More... | |
void | OS_Tick_Disable (void) |
Disable OS Tick timer interrupt. More... | |
void | OS_Tick_AcknowledgeIRQ (void) |
Acknowledge execution of OS Tick timer interrupt. More... | |
int32_t | OS_Tick_GetIRQn (void) |
Get OS Tick timer IRQ number. More... | |
uint32_t | OS_Tick_GetClock (void) |
Get OS Tick timer clock frequency. More... | |
uint32_t | OS_Tick_GetInterval (void) |
Get OS Tick timer interval reload value. More... | |
uint32_t | OS_Tick_GetCount (void) |
Get OS Tick timer counter value. More... | |
uint32_t | OS_Tick_GetOverflow (void) |
Get OS Tick timer overflow status. More... | |
void OS_Tick_AcknowledgeIRQ | ( | void | ) |
Acknowledge execution of OS Tick timer interrupt.
void OS_Tick_Disable | ( | void | ) |
Disable OS Tick timer interrupt.
void OS_Tick_Enable | ( | void | ) |
Enable OS Tick timer interrupt.
uint32_t OS_Tick_GetClock | ( | void | ) |
Get OS Tick timer clock frequency.
uint32_t OS_Tick_GetCount | ( | void | ) |
Get OS Tick timer counter value.
uint32_t OS_Tick_GetInterval | ( | void | ) |
Get OS Tick timer interval reload value.
int32_t OS_Tick_GetIRQn | ( | void | ) |
Get OS Tick timer IRQ number.
uint32_t OS_Tick_GetOverflow | ( | void | ) |
Get OS Tick timer overflow status.
int32_t OS_Tick_Setup | ( | uint32_t | freq, |
IRQHandler_t | handler | ||
) |
Setup OS Tick timer to generate periodic RTOS Kernel Ticks.
[in] | freq | tick frequency in Hz |
[in] | handler | tick IRQ handler |