Developer Guide

  • 2021.2
  • 06/11/2021
  • Public
Contents

Advanced Time-Aware GPIO (TGPIO) Sample

Samples demonstrate how to write code using certain features. They are not performance benchmarks. The output examples shown here are for illustration only. Your output may vary.
The advanced TGPIO sample (
tcc_tgpio_advanced_sample
) demonstrates output scenarios with software GPIO and Time-Aware GPIO (TGPIO).

File Locations

After installing the Intel® TCC Tools package on the target system, you can find sample sources and binaries in the following directories:
Target system:
  • Sample sources:
    /usr/share/tcc_tools/samples/tcc_tgpio_samples/tcc_tgpio_advanced_sample
  • Sample binaries:
    /usr/bin

Source Files

File
Description
src/main.c
Main file containing the TGPIO sample
src/tgpio_sample.h
TGPIO sample header
../../common/src/swgpio.c
Software GPIO service functions
../../common/include/swgpio.h
Software GPIO service functions
../../common/src/tgpio.c
TGPIO service functions
../../common/include/tgpio.h
TGPIO service functions
../../common/include/tgpio_defs.h
Definitions for extended PTP-interface functions used by the TGPIO driver interface
../../common/src/time_convert.c
Time convert service functions
../../common/include/time_convert.h
Time convert service functions
../../../plot_scripts/tcc_signal_analyzer_plotter.py
Data analysis script

Learn More

Read more about this sample and run the examples:

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.