logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dmascc_cfg - Configure dmascc devices

Authors

       Klaus Kudielka
       This manual page written by Craig Small <csmall@small.dropbear.id.au>

Linux                                             30 June 1999                                     DMASCC_CFG(8)

Bugs

dmascc_cfg  does  not  check  the  parameters for validity. The driver or kernel may crash if you specify
       invalid values.

Description

dmascc_cfg is used to configure dmascc devices such as PI2 and PackeTwin cards.  The --show option can be
       used by any user, all other options must be used by root.

Name

       dmascc_cfg - Configure dmascc devices

Options

--speedfrequency
                 Set  frequency  of  baud  rate  generator  to  frequency.  A  value of 0 disables the baud rate
                 generator and the digital PLL. Use the  --show  option  to  check  whether  the  frequency  you
                 selected could be approximated with sufficient accuracy.

       --nrzi [0|1]
                 0 selects NRZ mode, 1 selects NRZI mode.

       --clocksinteger
                 Set  the  clock mode. You may OR together three choices (other values are not supported and may
                 cause strange results).

       TX clock pin:

              0x00 input
              0x05 output TX clock *
              0x06 output baud rate generator *
              0x07 output digital PLL *

       TX clock source:

              0x00 RX clock pin
              0x08 TX clock pin #
              0x10 baud rate generator
              0x18 digital PLL +

       RX clock source:

              0x00 RX clock pin
              0x20 TX clock pin
              0x40 baud rate generator
              0x60 digital PLL +

       * Not allowed on PI2 Port A if J3 is installed.

       # TX clock pin must be configured as input.

       + Speed must be equal to 32 times the baud rate.

       --txdelaymilliseconds
                 Set transmit delay to milliseconds. Maximum is 2500 ms.

       --txtimeseconds
                 Set maximum time the transmitter may be active to seconds.

       --sqdelaymilliseconds
                 Set the squelch delay to milliseconds. Maximum delay is 2500 ms.

       --slottimemilliseconds
                 Set the slot time to milliseconds. Maximum slottime is 2500 ms.

       --waittimemilliseconds
                 Set the minimum time between the transmitter turning off to when it turns on  to  milliseconds.
                 Maximum wait time is 2500 ms.

       --persistf
                 Set the persistence parameter to f. Must be between 0 and 255 (inclusive).

       --dmachannel
                 Set the DMA channel to channel. Can be 1 or 3.  Setting to 0 disables DMA.

Synopsis

dmascc_cfg<interface>[<options>]

See Also