To use ST, pid_ioctl function is required. There are four modes.
Mode | Description |
---|---|
Free mode | normal counter mode |
Output Pulse mode | mode to output pulse signal through a specified pin |
Output Toggle mode | mode to output toggle signal through a specified pin |
Output PWM mode | mode to output infinite pulse through a specified pin |