AM62Ax MCU+ SDK  10.01.00

Introduction

This module contains APIs to program and use GTC.

Files

file  gtc/v0/gtc.h
 GTC Driver API/interface file.
 

Functions

int32_t GTC_setFID (void)
 This API sets the FID for GTC. More...
 
void GTC_enable (void)
 This API enables the GTC timer. More...
 
int32_t GTC_init (void)
 Initialize GTC after setting FID. More...
 
uint64_t GTC_getCount64 (void)
 Get the GTC count value. More...
 

Function Documentation

◆ GTC_setFID()

int32_t GTC_setFID ( void  )

This API sets the FID for GTC.

Returns
SystemP_SUCCESS on success, else failure

◆ GTC_enable()

void GTC_enable ( void  )

This API enables the GTC timer.

◆ GTC_init()

int32_t GTC_init ( void  )

Initialize GTC after setting FID.

Returns
SystemP_SUCCESS on success, else failure

◆ GTC_getCount64()

uint64_t GTC_getCount64 ( void  )

Get the GTC count value.

Returns
Returns GTC count