![]() |
scutimer
Xilinx SDK Drivers API Documentation
|
This file contains a design example using the Cortex A9 Scu Private Timer and the driver (XScuTimer) using interrupts.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00a nm 03/10/10 First release
Functions | |
| int | ScuTimerIntrExample (XScuGic *IntcInstancePtr, XScuTimer *TimerInstancePtr, u16 TimerDeviceId, u16 TimerIntrId) |
| This function tests the functioning of the Cortex A9 Scu Private Timer driver and hardware using interrupts. More... | |
| int | main (void) |
| Main function to call the Cortex A9 Scu Private Timer interrupt example. More... | |
| int main | ( | void | ) |
Main function to call the Cortex A9 Scu Private Timer interrupt example.
| None. |
References ScuTimerIntrExample().
| int ScuTimerIntrExample | ( | XScuGic * | IntcInstancePtr, |
| XScuTimer * | TimerInstancePtr, | ||
| u16 | TimerDeviceId, | ||
| u16 | TimerIntrId | ||
| ) |
This function tests the functioning of the Cortex A9 Scu Private Timer driver and hardware using interrupts.
| IntcInstancePtr | is a pointer to the instance of XScuGic driver. |
| TimerInstancePtr | is a pointer to the instance of XScuTimer driver. |
| TimerDeviceId | is the Device ID of the XScuTimer device. |
| TimerIntrId | is the Interrupt Id of the XScuTimer device. |
References XScuTimer_Config::BaseAddr, XScuTimer_CfgInitialize(), XScuTimer_LookupConfig(), and XScuTimer_SelfTest().
Referenced by main().