| ttcps Vitis Drivers API Documentation

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

Functions
xttcps_low_level_example.c File Reference

## Overview

This file contains a design example using the Triple Timer Counter hardware and driver in polled mode.

The example generates a square wave output on the waveform out pin.

Note

None

     MODIFICATION HISTORY:

     Ver  Who    Date     Changes

     1.00 drg/jz 01/23/10 First release
     3.0  pkp         12/09/14 Change TTC_NUM_DEVICES for Zynq Ultrascale MP support
     3.9  mus    04/09/19 Updated SettingsTable values as per TmrCntrSetup
                          template
     3.18 dp     05/23/23 Update checks for Intervalvalue and Matchvalue based on
                          platform.
     3.18 ml     03/06/24 Added support for system device-tree flow.
     3.21 vmt    03/28/25 Fixed signedness warning by explicitly casting to u8.

## Functions
int | main (void)
| This function is the main function of the Timer/Counter example. More...

## Function Documentation

int main | ( | void |  | ) |

This function is the main function of the Timer/Counter example.

Parameters

  None |

Returns
  XST_SUCCESS to indicate success, else XST_FAILURE to indicate a Failure.

Note
  None.