summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libchip/serial/README.z85c30
blob: 4442b5ef40cdeb4f94f2f632f9751a3462612b4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#
#  $Id$
#

Configuration Table Use
=======================

sDeviceName

   The name of this device.

deviceType

   This field must be SERIAL_Z85C30.

pDeviceFns

   The device interface control table.  This may be:
      + z85c30_fns for interrupt driven IO
      + z85c30_fns_polled for polled IO

deviceProbe

   This is the address of the routine which probes to see if the device
   is present.

pDeviceFlow

   This field is set to one of the following values:
      + NULL for no hardware flow control
      + z85c30_flow_RTSCTS for RTS/CTS based flow control
      + z85c30_flow_DTRCTS for DTR/CTS based flow control

ulMargin

    This is currently unused.

ulHysteresis

    This is currently unused.

pDeviceParams

    This is set to the default settings.

ulCtrlPort1

   This field is the address of the control register for this port.

ulCtrlPort2

   This field is the address of the control register for chip.

ulDataPort

   This field is the address of the data register for this port.

getRegister
setRegister

   These follow standard conventions.

getData
setData

   These follow standard conventions.

ulClock

   This is the clock speed of the baud rate clock.
   NULL, then the CSR/ACR/X bit mappings shown in the 68681 and 88681
   manuals are used.  Otherwise, the board specific baud rate mapping
   is used.

ulIntVector

   This is the interrupt vector number associated with this chip.