| ttcps Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

- Data Structures
- Data Fields

Data Fields
XTtcPs Struct Reference
Overview

The XTtcPs driver instance data. More...

## Data Fields
XTtcPs_Config | Config
| Configuration structure. More...
u32 | IsReady
| Device is initialized and ready. More...
void * | StatusRef
| Callback reference for status handler. More...

## Detailed Description

The XTtcPs driver instance data.

The user is required to allocate a variable of this type for each PS timer/counter device in the system. A pointer to a variable of this type is then passed to various driver API functions.

## Field Documentation

XTtcPs_Config XTtcPs::Config

Configuration structure.

Referenced by XTtcPs_CalcIntervalFromFreq(), XTtcPs_CfgInitialize(), XTtcPs_GetMatchValue(), XTtcPs_GetOptions(), XTtcPs_GetPrescaler(), XTtcPs_InterruptHandler(), XTtcPs_Release(), XTtcPs_SelfTest(), XTtcPs_SetMatchValue(), XTtcPs_SetOptions(), XTtcPs_SetPrescaler(), and XTtcPs_SetStatusHandler().

u32 XTtcPs::IsReady

Device is initialized and ready.

Referenced by XTtcPs_CfgInitialize(), XTtcPs_GetMatchValue(), XTtcPs_GetOptions(), XTtcPs_GetPrescaler(), XTtcPs_SelfTest(), XTtcPs_SetMatchValue(), XTtcPs_SetOptions(), XTtcPs_SetPrescaler(), and XTtcPs_SetStatusHandler().

void* XTtcPs::StatusRef

Callback reference for status handler.