SYS/BIOS  7.00
Functions
Timestamp.h File Reference

Detailed Description

Timestamp services.

This module provides a portable API for getting a 32 or 64-bit timestamp.

This module calls a family-specific TimestampProvider function that does the real work.

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <ti/sysbios/runtime/Types.h>
Include dependency graph for Timestamp.h:

Go to the source code of this file.

Functions

uint32_t Timestamp_get32 (void)
 get 32-bit timestamp More...
 
void Timestamp_get64 (Types_Timestamp64 *timestamp64)
 get 64-bit timestamp More...
 
void Timestamp_getFreq (Types_FreqHz *freq)
 get timestamp frequency More...
 

Function Documentation

§ Timestamp_get32()

uint32_t Timestamp_get32 ( void  )

get 32-bit timestamp

Returns
32-bit timestamp

§ Timestamp_get64()

void Timestamp_get64 ( Types_Timestamp64 timestamp64)

get 64-bit timestamp

Parameters
timestamp64pointer to a 64-bit timestamp structure

§ Timestamp_getFreq()

void Timestamp_getFreq ( Types_FreqHz freq)

get timestamp frequency

Get the frequency of the timestamp counter in Hz. This function fills in a Types_FreqHz structure with the high and low 64 bit frequency.

Parameters
freqpointer to a 64-bit frequency structure
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale