Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Data Structures | |
struct | SysTick_State_t |
A structure to represent the state of a Systick device. More... | |
Functions | |
SysTick_Device_t * | SysTick_devRequest (void) |
Request a SysTick Device. More... | |
void | SysTick_Handler (void) |
int32_t | SysTick_devDelayTicks (SysTick_Device_t *dev, uint32_t ticks) |
SysTick time delay in tick. More... | |
int32_t | SysTick_devDelayMs (SysTick_Device_t *dev, uint32_t ms) |
SysTick time delay in ms. More... | |
int32_t | SysTick_devGetInterruptCounts (SysTick_Device_t *dev) |
Get Systick interrupt counts. More... | |
int64_t | SysTick_devGetElapsedMs (SysTick_Device_t *dev) |
Get elapsed time in ms since last systick initialization. More... | |
int32_t | SysTick_devInit (SysTick_Device_t *dev, uint8_t mode, uint32_t ticks, void *cb) |
Initialize SysTick Timer. More... | |
Variables | |
static const SysTick_Device_t | SysTick_Device |
The instance of SysTick device. More... | |
SysTick_State_t | SysTick_State |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
int32_t SysTick_devDelayMs | ( | SysTick_Device_t * | dev, |
uint32_t | ms | ||
) |
SysTick time delay in ms.
dev | The pointer to SysTick device, |
ms | The time delay in ms. |
int32_t SysTick_devDelayTicks | ( | SysTick_Device_t * | dev, |
uint32_t | ticks | ||
) |
SysTick time delay in tick.
dev | The pointer to SysTick device, |
ticks | The time delay in ticks. |
int64_t SysTick_devGetElapsedMs | ( | SysTick_Device_t * | dev | ) |
Get elapsed time in ms since last systick initialization.
dev | The pointer to SysTick device, |
int32_t SysTick_devGetInterruptCounts | ( | SysTick_Device_t * | dev | ) |
Get Systick interrupt counts.
dev | The pointer to SysTick device, |
int32_t SysTick_devInit | ( | SysTick_Device_t * | dev, |
uint8_t | mode, | ||
uint32_t | ticks, | ||
void * | cb | ||
) |
Initialize SysTick Timer.
dev | The pointer to SysTick device, |
mode | The enumeration of SysTick timer mode. |
ticks | The reload counter settings. |
cb | The pointer to the call back function if it is set to interrupt mode. |
SysTick_Device_t* SysTick_devRequest | ( | void | ) |
Request a SysTick Device.
void SysTick_Handler | ( | void | ) |
|
static |
The instance of SysTick device.
SysTick_State_t SysTick_State |