source: rtems/c/src/libchip/serial/README.ns16550 @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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