|
Herzog Library 00.00.01
rel_libdev.herzog.00.00.01.10606
|
Go to the source code of this file.
Data Structures | |
| struct | SysTick_Device_t |
| A structure to represent WDT device. More... | |
Typedefs | |
| typedef void(* | systick_cb_func_t) (SysTick_Device_t *dev) |
| The SysTick timer interrupt call back function. More... | |
Enumerations | |
| enum | { SYSTICK_MODE_DISABLE, SYSTICK_MODE_ENABLE, SYSTICK_MODE_ENABLE_INTERRUPT } |
Functions | |
| SysTick_Device_t * | SysTick_devRequest (void) |
| Request a SysTick Device. More... | |
| 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... | |
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.
| typedef void(* systick_cb_func_t) (SysTick_Device_t *dev) |
The SysTick timer interrupt call back function.
| 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.
1.8.9.1