1DMASCC_CFG(1) Linux Programmer's Manual DMASCC_CFG(1)
2
3
4
6 dmascc_cfg - Configure dmascc devices
7
9 dmascc <interface> [<options>]
10
12 dmascc_cfg is used to configure dmascc devices such as PI2 and Pack‐
13 eTwin cards. The --show option can be used by any user, all other
14 options must be used by root.
15
17 --speed frequency
18 Set frequency of baud rate generator to frequency. A value of
19 0 disables the baud rate generator and the digital PLL. Use
20 the --show option to check whether the frequency you selected
21 could be approximated with sufficient accuracy.
22
23 --nrzi [0|1]
24 0 selects NRZ mode, 1 selects NRZI mode.
25
26 --clocks integer
27 Set the clock mode. You may OR together three choices (other
28 values are not supported and may cause strange results).
29
30 TX clock pin:
31
32 0x00 input
33 0x05 output TX clock *
34 0x06 output baud rate generator *
35 0x07 output digital PLL *
36
37 TX clock source:
38
39 0x00 RX clock pin
40 0x08 TX clock pin #
41 0x10 baud rate generator
42 0x18 digital PLL +
43
44 RX clock source:
45
46 0x00 RX clock pin
47 0x20 TX clock pin
48 0x40 baud rate generator
49 0x60 digital PLL +
50
51 * Not allowed on PI2 Port A if J3 is installed.
52
53 # TX clock pin must be configured as input.
54
55 + Speed must be equal to 32 times the baud rate.
56
57 --txdelay milliseconds
58 Set transmit delay to milliseconds. Maximum is 2500 ms.
59
60 --txtime seconds
61 Set maximum time the transmitter may be active to seconds.
62
63 --sqdelay milliseconds
64 Set the squelch delay to milliseconds. Maximum delay is 2500
65 ms.
66
67 --slottime milliseconds
68 Set the slot time to milliseconds. Maximum slottime is 2500
69 ms.
70
71 --waittime milliseconds
72 Set the minimum time between the transmitter turning off to
73 when it turns on to milliseconds. Maximum wait time is 2500
74 ms.
75
76 --persist f
77 Set the persistance parameter to f. Must be between 0 and 255
78 (inclusive).
79
80 --dma channel
81 Set the DMA channel to channel. Can be 1 or 3. Setting to 0
82 disables DMA.
83
85 dmascc_cfg does not check the parameters for validity. The driver or
86 kernel may crash if you specify invalid values.
87
89 Klaus Kudielka
90 This manual page written by Craig Small <csmall@small.dropbear.id.au>
91
92
93
94Linux 30 June 1999 DMASCC_CFG(1)