1sample:
2  name: PWM capture
3  description: input capture for PWM signal, time and duration application
4common:
5  tags:
6    - drivers
7    - pwm
8  harness: console
9  harness_config:
10    type: multi_line
11    ordered: true
12    regex:
13      - "timclk ([0-9]*) Hz"
14      - "{period: ([0-9]*)  pulse width: ([0-9]*)} in TIMCLK cycle"
15      - "{period: ([0-9]*) Hz duty: ([0-9]*)}"
16  depends_on: pwm
17tests:
18  sample.drivers.pwm.capture:
19    platform_allow:
20      - lp_mspm0g3507
21