scutimer: Examples

| scutimer Xilinx SDK Drivers API Documentation

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

Examples

You can refer to the below stated example applications for more details on how to use scutimer driver.

# xscutimer_intr_example.c

Contains an example on how to use the XScutimer driver directly. This example contains the Cortex A9 Scu Private Timer and the driver (XScuTimer) using interrupts.

For details, see xscutimer_intr_example.c.

# xscutimer_polled_example.c

Contains an example on how to use the XScutimer driver directly. This example shows the usage of the Scu Private Timer driver (XScuTimer) and hardware timer device. This test assumes Auto Reload mode is not enabled.

For details, see xscutimer_polled_example.c.