aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFabrice Gasnier <[email protected]>2024-03-07 14:33:06 +0100
committerWilliam Breathitt Gray <[email protected]>2024-04-02 13:10:34 -0400
commit1aed15275b7ce17b5ebdfc112a76e0d7165ed46b (patch)
treeeb18ea0c6b1c12e35bcd93fffc902c850ffbee34 /tools/perf/scripts/python/bin
parent2c70ccd45985f1e458f9785fc8cf9b8c48e3807f (diff)
counter: stm32-timer-cnt: add support for capture events
Add support for capture events. Captured counter value for each channel can be retrieved through CCRx register. STM32 timers can have up to 4 capture channels (on input channel 1 to channel 4), hence need to check the number of channels before reading the capture data. The capture configuration is hard-coded to capture signals on both edges (non-inverted). Interrupts are used to report events independently for each channel. Reviewed-by: William Breathitt Gray <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Fabrice Gasnier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: William Breathitt Gray <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions