Skip to content

Adlink-ROS/testptp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

testptp

Build

gcc testptp.c -o testptp

Usage

Here we use Intel I210 for example.

Set SDP0 channel 0 as PPS output with 1Hz

sudo ./testptp -d /dev/ptp0 -L0,2 -i 0
sudo ./testptp -d /dev/ptp0 -p 1000000000

Set SDP1 channel 1 as PPS input

sudo ./testptp -d /dev/ptp0 -L1,1 -i 1

Listen PPS input event for channel 1

sudo ./testptp -d /dev/ptp0 -e 100 -i 1

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages