scutimer: XScuTimer Struct Reference

| scutimer Xilinx SDK Drivers API Documentation

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

- Data Structures
- Data Fields

Data Fields
XScuTimer Struct Reference
Scutimer_v2_1

The XScuTimer driver instance data. More...

## Data Fields
XScuTimer_Config | Config
| Hardware Configuration. More...
u32 | IsReady
| Device is initialized and ready. More...
u32 | IsStarted
| Device timer is running. More...

## Detailed Description

The XScuTimer driver instance data.

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

## Field Documentation

XScuTimer_Config XScuTimer::Config

Hardware Configuration.

Referenced by XScuTimer_CfgInitialize(), XScuTimer_GetPrescaler(), XScuTimer_SelfTest(), XScuTimer_SetPrescaler(), XScuTimer_Start(), and XScuTimer_Stop().

u32 XScuTimer::IsReady

Device is initialized and ready.

Referenced by XScuTimer_CfgInitialize(), XScuTimer_GetPrescaler(), XScuTimer_SelfTest(), XScuTimer_SetPrescaler(), XScuTimer_Start(), and XScuTimer_Stop().

u32 XScuTimer::IsStarted

Device timer is running.

Referenced by XScuTimer_CfgInitialize(), XScuTimer_Start(), and XScuTimer_Stop().