AM62Ax MCU+ SDK  10.01.00
GTC

The Global Timebase Counter (GTC) driver provides API to enable GTC and to set FID for GTC.

Features Supported

  • Enables GTC
  • Sets FID(Frequency indicator) for GTC
  • Get counter value

SysConfig Features

Note
It is strongly recommend to use SysConfig where it is available instead of using direct SW API calls. This will help simplify the SW application and also catch common mistakes early in the development cycle.
  • Enable GTC

Features NOT Supported

NA

Example Usage

Include the below file to access the APIs

#include <drivers/gtc.h>

Enable GTC

/* Enable GTC */

API

APIs for GTC

gtc.h
GTC_enable
void GTC_enable(void)
This API enables the GTC timer.