ttcps: XTtcPs Struct Reference

| ttcps Xilinx SDK Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XTtcPs Struct Reference
Ttcps_v3_10

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_SelfTest(), XTtcPs_SetMatchValue(), XTtcPs_SetOptions(), and XTtcPs_SetPrescaler().

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.

Referenced by XTtcPs_InterruptHandler(), and XTtcPs_SetStatusHandler().