HT provides four operation modes and you need to use required commands of pid_ioctl function in each mode.
|Output Pulse mode||mode to output pulse signal through an HT pin|
|Output Toggle mode||mode to output toggle signal through an HT pin|
|Output PWM mode||mode to output infinite pulse through an HT pin|
|Capture mode||mode to capture signals from an HT pin|