diff options
author | Lee Jones <lee.jones@linaro.org> | 2016-08-16 10:35:05 +0100 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2016-09-08 10:55:11 +0200 |
commit | c97267ae831da2711e9592398d490dbd1f4d5ddd (patch) | |
tree | 1e070d4104d060eab3751dc1cd3413e8b382925b /include | |
parent | 25eb53809674a875c64da7f6e1ab9695684e431a (diff) | |
download | linux-c97267ae831da2711e9592398d490dbd1f4d5ddd.tar.gz linux-c97267ae831da2711e9592398d490dbd1f4d5ddd.tar.bz2 linux-c97267ae831da2711e9592398d490dbd1f4d5ddd.zip |
pwm: sti: Add PWM capture callback
Once a PWM capture has been initiated, the capture call enables a rising
edge detection interrupt, then waits. Once each of the 3 phase changes
have been recorded the thread then wakes. The remaining part of the call
carries out the relevant calculations and returns a structure filled out
with the capture data.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions