OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [libchip/] [serial/] [README.ns16550] - Blame information for rev 229

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#
2
#  $Id: README.ns16550,v 1.2 2001-09-27 12:01:42 chris Exp $
3
#
4
 
5
Status
6
======
7
 
8
This driver appears to work OK for polled output at this point.
9
 
10
It needs to be tested for:
11
 
12
  + polled input
13
  + interrupt driver output
14
  + interrupt driver input
15
 
16
This driver does not support the new style RTEMS interrupt processing
17
used on the i386 and some PowerPC models.
18
 
19
Configuration Table Use
20
=======================
21
 
22
sDeviceName
23
 
24
   The name of this device.
25
 
26
deviceType
27
 
28
   This field must be SERIAL_NS16550.
29
 
30
pDeviceFns
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
 
36
deviceProbe
37
 
38
   This is the address of the routine which probes to see if the device
39
   is present.
40
 
41
pDeviceFlow
42
 
43
   This field is ignored as hardware flow control is not currently supported.
44
 
45
ulMargin
46
 
47
    This is currently unused.
48
 
49
ulHysteresis
50
 
51
    This is currently unused.
52
 
53
pDeviceParams
54
 
55
    This is set to the default settings.  At this point, it is the default
56
    baud rate cast as a (void *).
57
 
58
ulCtrlPort1
59
 
60
   This field is the base address of this port on the UART.
61
 
62
ulCtrlPort2
63
 
64
   This field is unused for the NS16550.
65
 
66
ulDataPort
67
 
68
   This field is the base address of this port on the UART.
69
 
70
getRegister
71
setRegister
72
 
73
   These follow standard conventions.
74
 
75
getData
76
setData
77
 
78
   These are unused since the TX and RX data registers can be accessed
79
   as regular registers.
80
 
81
ulClock
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
 
92
ulIntVector
93
 
94
   This is the interrupt vector number associated with this chip.
95
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.