Go to the documentation of this file.
6 #ifndef DRIVERS_ATM_uPD98402_H
7 #define DRIVERS_ATM_uPD98402_H
13 #define uPD98402_CMR 0x00
14 #define uPD98402_MDR 0x01
15 #define uPD98402_PICR 0x02
16 #define uPD98402_PIMR 0x03
17 #define uPD98402_ACR 0x04
18 #define uPD98402_ACMR 0x05
19 #define uPD98402_PCR 0x06
20 #define uPD98402_PCMR 0x07
21 #define uPD98402_IACM 0x08
22 #define uPD98402_B1ECT 0x09
23 #define uPD98402_B2ECT 0x0a
24 #define uPD98402_B3ECT 0x0b
25 #define uPD98402_PFECB 0x0c
26 #define uPD98402_LECCT 0x0d
27 #define uPD98402_HECCT 0x0e
28 #define uPD98402_FJCT 0x0f
29 #define uPD98402_PCOCR 0x10
30 #define uPD98402_PCOMR 0x11
31 #define uPD98402_C11T 0x20
32 #define uPD98402_C12T 0x21
33 #define uPD98402_C13T 0x22
34 #define uPD98402_F1T 0x23
35 #define uPD98402_K2T 0x25
36 #define uPD98402_C2T 0x26
37 #define uPD98402_F2T 0x27
38 #define uPD98402_C11R 0x30
39 #define uPD98402_C12R 0x31
40 #define uPD98402_C13R 0x32
41 #define uPD98402_F1R 0x33
42 #define uPD98402_K2R 0x35
43 #define uPD98402_C2R 0x36
44 #define uPD98402_F2R 0x37
47 #define uPD98402_CMR_PFRF 0x01
48 #define uPD98402_CMR_LFRF 0x02
49 #define uPD98402_CMR_PAIS 0x04
50 #define uPD98402_CMR_LAIS 0x08
53 #define uPD98402_MDR_ALP 0x01
54 #define uPD98402_MDR_TPLP 0x02
55 #define uPD98402_MDR_RPLP 0x04
56 #define uPD98402_MDR_SS0 0x08
57 #define uPD98402_MDR_SS1 0x10
58 #define uPD98402_MDR_SS_MASK 0x18
59 #define uPD98402_MDR_SS_SHIFT 3
60 #define uPD98402_MDR_HEC 0x20
61 #define uPD98402_MDR_FSR 0x40
62 #define uPD98402_MDR_CSR 0x80
65 #define uPD98402_INT_PFM 0x01
66 #define uPD98402_INT_ALM 0x02
67 #define uPD98402_INT_RFO 0x04
68 #define uPD98402_INT_PCO 0x08
69 #define uPD98402_INT_OTD 0x20
70 #define uPD98402_INT_LOS 0x40
71 #define uPD98402_INT_LOF 0x80
74 #define uPD98402_ALM_PFRF 0x01
75 #define uPD98402_ALM_LFRF 0x02
76 #define uPD98402_ALM_PAIS 0x04
77 #define uPD98402_ALM_LAIS 0x08
78 #define uPD98402_ALM_LOD 0x10
79 #define uPD98402_ALM_LOP 0x20
80 #define uPD98402_ALM_OOF 0x40
83 #define uPD98402_PFM_PFEB 0x01
84 #define uPD98402_PFM_LFEB 0x02
85 #define uPD98402_PFM_B3E 0x04
86 #define uPD98402_PFM_B2E 0x08
87 #define uPD98402_PFM_B1E 0x10
88 #define uPD98402_PFM_FJ 0x20
91 #define uPD98402_IACM_PFRF 0x01
92 #define uPD98402_IACM_LFRF 0x02
95 #define uPD98402_PCO_B1EC 0x01
96 #define uPD98402_PCO_B2EC 0x02
97 #define uPD98402_PCO_B3EC 0x04
98 #define uPD98402_PCO_PFBC 0x08
99 #define uPD98402_PCO_LFBC 0x10
100 #define uPD98402_PCO_HECC 0x20
101 #define uPD98402_PCO_FJC 0x40