Functions | |
static void | SysTickEnable (void) |
Enables the SysTick counter. More... | |
static void | SysTickDisable (void) |
Disables the SysTick counter. More... | |
static void | SysTickIntRegister (void(*pfnHandler)(void)) |
Registers an interrupt handler for the SysTick interrupt. More... | |
static void | SysTickIntUnregister (void) |
Unregisters the interrupt handler for the SysTick interrupt. More... | |
static void | SysTickIntEnable (void) |
Enables the SysTick interrupt. More... | |
static void | SysTickIntDisable (void) |
Disables the SysTick interrupt. More... | |
static void | SysTickPeriodSet (uint32_t ui32Period) |
Sets the period of the SysTick counter. More... | |
static uint32_t | SysTickPeriodGet (void) |
Gets the period of the SysTick counter. More... | |
static uint32_t | SysTickValueGet (void) |
Gets the current value of the SysTick counter. More... | |
|
inlinestatic |
|
inlinestatic |
Enables the SysTick counter.
This will start the SysTick counter. If an interrupt handler has been registered, it will be called when the SysTick counter rolls over.
|
inlinestatic |
|
inlinestatic |
Enables the SysTick interrupt.
This function will enable the SysTick interrupt, allowing it to be reflected to the processor.
|
inlinestatic |
Registers an interrupt handler for the SysTick interrupt.
This sets the handler to be called when a SysTick interrupt occurs.
pfnHandler | is a pointer to the function to be called when the SysTick interrupt occurs. |
Definition at line 138 of file systick.h.
|
inlinestatic |
Unregisters the interrupt handler for the SysTick interrupt.
This function will clear the handler to be called when a SysTick interrupt occurs.
Definition at line 165 of file systick.h.
|
inlinestatic |
|
inlinestatic |
Sets the period of the SysTick counter.
This function sets the rate at which the SysTick counter wraps; this equals to the number of processor clocks between interrupts.
ui32Period
supplied here on the next clock after the SysTick is enabled.ui32Period | is the number of clock ticks in each period of the SysTick counter; must be between 1 and 16,777,216 (0x1000000), both included. |
|
inlinestatic |