summaryrefslogtreecommitdiffstats
path: root/c/src/libchip/rtc/README.icm7170
blob: de2199339d8f678c91709d66b509690ed49162f2 (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
#
#  $Id$
#


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

sDeviceName

   The name of this device.

deviceType

   This field must be RTC_ICM7170.

pDeviceFns

   The device interface control table.  This must be icm7170_fns.

deviceProbe

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

pDeviceParams

    This field specifies the clock frequency.  It may be one of the
    following:
        ICM7170_AT_32_KHZ
        ICM7170_AT_1_MHZ
        ICM7170_AT_2_MHZ
        ICM7170_AT_4_MHZ

ulCtrlPort1

   This field is the base address of the RTC area of the chip.

ulCtrlPort2

   This field is ignored.

ulDataPort

   This field is ignored.


getRegister
setRegister

   These follow standard conventions.