readCaps reads PTP capabilities using ioctl
()
| 113 | |
| 114 | // readCaps reads PTP capabilities using ioctl |
| 115 | func (dev *Device) readCaps() (*PtpClockCaps, error) { |
| 116 | return unix.IoctlPtpClockGetcaps(int(dev.Fd())) |
| 117 | } |
| 118 | |
| 119 | // setPinFunc sets the function on a single PTP pin descriptor |
| 120 | func (dev *Device) setPinFunc(index uint, pf int, ch uint) error { |
no test coverage detected