Ignore:
Timestamp:
Jun 12, 2000, 3:00:15 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
edeed26
Parents:
0ab65474
Message:

Merged from 4.5.0-beta3a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/README.ns16550

    r0ab65474 rdf49c60  
    33#
    44
    5 This driver needs to be debugged before this is written.
     5Status
     6======
     7
     8This driver appears to work OK for polled output at this point. 
     9
     10It needs to be tested for:
     11
     12  + polled input
     13  + interrupt driver output
     14  + interrupt driver input
     15
     16This driver does not support the new style RTEMS interrupt processing
     17used on the i386 and some PowerPC models.
     18
     19Configuration Table Use
     20=======================
     21
     22sDeviceName
     23
     24   The name of this device.
     25
     26deviceType
     27
     28   This field must be SERIAL_NS16550.
     29
     30pDeviceFns
     31
     32   The device interface control table.  This may be:
     33      + ns16550_fns for interrupt driven IO
     34      + ns16550_fns_polled for polled IO
     35
     36deviceProbe
     37
     38   This is the address of the routine which probes to see if the device
     39   is present.
     40
     41pDeviceFlow
     42
     43   This field is ignored as hardware flow control is not currently supported.
     44
     45ulMargin
     46
     47    This is currently unused.
     48
     49ulHysteresis
     50
     51    This is currently unused.
     52
     53pDeviceParams
     54
     55    This is set to the default settings.  At this point, it is the default
     56    baud rate cast as a (void *).
     57
     58ulCtrlPort1
     59
     60   This field is the base address of this port on the UART.
     61
     62ulCtrlPort2
     63
     64   This field is unused for the NS16550.
     65
     66ulDataPort
     67
     68   This field is the base address of this port on the UART.
     69
     70getRegister
     71setRegister
     72
     73   These follow standard conventions.
     74
     75getData
     76setData
     77
     78   These are unused since the TX and RX data registers can be accessed
     79   as regular registers.
     80
     81ulClock
     82
     83   This is the clock constant which is divided by the desired baud
     84   to get the value programmed into the part.  The formula for this
     85   for 9600 baud is:
     86
     87      chip_divisor_value = ulClock / 9600.
     88
     89   NOTE: When ulClock is 0, the correct value for a PC (115,200) is
     90   used.
     91
     92ulIntVector
     93
     94   This is the interrupt vector number associated with this chip.
     95
Note: See TracChangeset for help on using the changeset viewer.