|  |  | 
| SYS/BIOS
    7.00
    | 
CC26xx RTC Timestamp Provider.
| Function | Hwi | Swi | Task | Main** | Startup*** | 
|---|---|---|---|---|---|
| get32 | Y | Y | Y | Y | N | 
| get64 | Y | Y | Y | Y | N | 
| getFreq | Y | Y | Y | Y | N | 
#include <xdc/std.h>#include <stdbool.h>#include <stddef.h>#include <stdint.h>#include <ti/sysbios/runtime/Types.h>#include <ti/sysbios/family/arm/v8m/cc26x4/Timer.h>#include "TimestampProvider_defs.h"
Go to the source code of this file.
| Functions | |
| uint32_t | TimestampProvider_get32 (void) | 
| Return a 32-bit timestamp.  More... | |
| void | TimestampProvider_get64 (Types_Timestamp64 *timestamp64) | 
| Return a 64-bit timestamp.  More... | |
| void | TimestampProvider_getFreq (Types_FreqHz *freq) | 
| Get the timestamp timer's frequency (in Hz)  More... | |
| uint32_t TimestampProvider_get32 | ( | void | ) | 
Return a 32-bit timestamp.
Returns a 32-bit timestamp value. Use TimestampProvider_getFreq to convert this value into units of real time.
| 32-bit | timestamp | 
| void TimestampProvider_get64 | ( | Types_Timestamp64 * | timestamp64 | ) | 
Return a 64-bit timestamp.
This parameter is a pointer to a structure representing a 64-bit wide timestamp value where the current timestamp is written.
If the underlying hardware does not support 64-bit resolution, the hi field of result is always set to 0. So, it is possible for the lo field to wrap around without any change to the hi field. Use TimestampProvider_getFreq to convert this value into units of real time.
| timestamp64 | pointer to 64-bit result | 
| void TimestampProvider_getFreq | ( | Types_FreqHz * | freq | ) | 
Get the timestamp timer's frequency (in Hz)
This parameter is a pointer to a structure representing a 64-bit wide frequency value where the timer's frequency (in Hz) is written. This function provides a way of converting timestamp values into units of real time.
| freq | pointer to a 64-bit result |