File: pwmtestperf.1

package info (click to toggle)
libpwm 1.0~rc2-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,596 kB
  • sloc: sh: 4,443; ansic: 859; makefile: 58
file content (76 lines) | stat: -rw-r--r-- 1,352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.TH "PWMTESTPERF" "1"
.SH "NAME"
pwmtestperf \- Applies a simple test pattern to a PWM output
.SH "SYNOPSIS"
.
.PP
.SY pwmtestperf
.RB [ \-c\~\c
.IB chipno ]
.RB [ \-p\~\c
.IB pwmno ]
.RB [ \-P\~\c
.IB periodlength ]
.RB [ \-S\~\c
.IB step ]
.RB [ \-v ]
.YS
.SH Description
.
.I pwmtestperf 
is a debug tool to test repeated setting of the output waveform emitted by a
PWM.
The PWM that is used by this test is specified by
.I chipno
and
.IR pwmno .

The fixed period is specified by
.I periodlength
and the duty length is increased in each steps by
.I step 
up from 0 to
.IR periodlength .
(If
.I step 
is negative, it decreases from
.I periodlength
to 0.
.
.SH Options
.
.TP
.BI \-c\~ chipno
Each PWM chip has an identifying chip number.
.I pwmtestperf
configures a PWM line provided by chip number
.IR chipno .
.I chipno
defaults to 0.
.
.TP
.BI \-p\~ pwmno
Each PWM chip provides a number of PWM outputs.
.I pwmtestperf
configures the
.IR pwmno th
PWM output of the selected chip.
.I pwmno
defaults to 0.
.
.TP
.BI \-P\~ periodlength
.I periodlength
in nanoseconds defines the length of the periods of the waveform to be set.
.
.TP
.BI \-S\~ step
in nanoseconds defines the step the duty length is increased in each step. (Or decreased if negative.)
.
.TP
.B \-v
Emit some information during runtime.
.
.SH "SEE ALSO"
.MR pwmround 1 ,
.MR pwmset 1