ttcps: Examples

| ttcps 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 ttcps driver.

# xttcps_intr_example.c

Contains an example on how to use the XTtcps driver directly. This example shows the usage of the driver in interrupt mode.

For details, see xttcps_intr_example.c.

# xttcps_low_level_example.c

Contains an example on how to use the XTtcps driver directly. This example shows the usage of the Triple Timer Counter hardware and driver in polled mode.

For details, see xttcps_low_level_example.c.

# xttcps_rtc_example.c

Contains an example on how to use the XTtcps driver directly. This example uses one timer/counter to make a real time clock. The number of minutes and seconds is displayed on the console.

For details, see xttcps_rtc_example.c.

# xttcps_tapp_example.c

Contains an example on how to use the XTtcps driver directly. This example uses ttc to generate interrupt and update a flag which is checked in interrupt example to confirm whether the interrupt is generated or not.

For details, see xttcps_tapp_example.c.