Command-Line Options
Running the Ethernet timestamps sample with the
-h
option yields the following usage message:Usage: tcc_ethernet_timestamps_sample --tgpio <device_name> [pin]
--pps <device_name> [pin]
[--period [value]]
[--verbose]
Option | Description |
---|---|
-t | --tgpio | Specify the output TGPIO device (required) and pin index (optional).
Default pin: 0. |
-p | --pps | Specify the output PPS device (required) and pin index (optional).
Default pin: 0. |
-T | --period | Specify the output period in nanoseconds.
Default: 1000000000 (1 second). |
-v | --verbose | Enable verbose output mode. |