Bryan Wu | 19381f0 | 2007-05-21 18:09:31 +0800 | [diff] [blame] | 1 | /* |
Mike Frysinger | 1a5c226 | 2010-10-26 23:46:22 -0400 | [diff] [blame] | 2 | * Copyright 2007-2010 Analog Devices Inc. |
Bryan Wu | 19381f0 | 2007-05-21 18:09:31 +0800 | [diff] [blame] | 3 | * |
Robin Getz | 96f1050 | 2009-09-24 14:11:24 +0000 | [diff] [blame] | 4 | * Licensed under the GPL-2 or later. |
Bryan Wu | 19381f0 | 2007-05-21 18:09:31 +0800 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _CDEF_BF548_H |
| 8 | #define _CDEF_BF548_H |
| 9 | |
Bryan Wu | 19381f0 | 2007-05-21 18:09:31 +0800 | [diff] [blame] | 10 | /* include cdefBF54x_base.h for the set of #defines that are common to all ADSP-BF54x bfin_read_()rocessors */ |
| 11 | #include "cdefBF54x_base.h" |
| 12 | |
Mike Frysinger | 60883e2 | 2009-10-20 17:30:58 +0000 | [diff] [blame] | 13 | /* The BF548 is like the BF547, but has additional CANs */ |
| 14 | #include "cdefBF547.h" |
Bryan Wu | 19381f0 | 2007-05-21 18:09:31 +0800 | [diff] [blame] | 15 | |
| 16 | /* CAN Controller 1 Config 1 Registers */ |
| 17 | |
| 18 | #define bfin_read_CAN1_MC1() bfin_read16(CAN1_MC1) |
| 19 | #define bfin_write_CAN1_MC1(val) bfin_write16(CAN1_MC1, val) |
| 20 | #define bfin_read_CAN1_MD1() bfin_read16(CAN1_MD1) |
| 21 | #define bfin_write_CAN1_MD1(val) bfin_write16(CAN1_MD1, val) |
| 22 | #define bfin_read_CAN1_TRS1() bfin_read16(CAN1_TRS1) |
| 23 | #define bfin_write_CAN1_TRS1(val) bfin_write16(CAN1_TRS1, val) |
| 24 | #define bfin_read_CAN1_TRR1() bfin_read16(CAN1_TRR1) |
| 25 | #define bfin_write_CAN1_TRR1(val) bfin_write16(CAN1_TRR1, val) |
| 26 | #define bfin_read_CAN1_TA1() bfin_read16(CAN1_TA1) |
| 27 | #define bfin_write_CAN1_TA1(val) bfin_write16(CAN1_TA1, val) |
| 28 | #define bfin_read_CAN1_AA1() bfin_read16(CAN1_AA1) |
| 29 | #define bfin_write_CAN1_AA1(val) bfin_write16(CAN1_AA1, val) |
| 30 | #define bfin_read_CAN1_RMP1() bfin_read16(CAN1_RMP1) |
| 31 | #define bfin_write_CAN1_RMP1(val) bfin_write16(CAN1_RMP1, val) |
| 32 | #define bfin_read_CAN1_RML1() bfin_read16(CAN1_RML1) |
| 33 | #define bfin_write_CAN1_RML1(val) bfin_write16(CAN1_RML1, val) |
| 34 | #define bfin_read_CAN1_MBTIF1() bfin_read16(CAN1_MBTIF1) |
| 35 | #define bfin_write_CAN1_MBTIF1(val) bfin_write16(CAN1_MBTIF1, val) |
| 36 | #define bfin_read_CAN1_MBRIF1() bfin_read16(CAN1_MBRIF1) |
| 37 | #define bfin_write_CAN1_MBRIF1(val) bfin_write16(CAN1_MBRIF1, val) |
| 38 | #define bfin_read_CAN1_MBIM1() bfin_read16(CAN1_MBIM1) |
| 39 | #define bfin_write_CAN1_MBIM1(val) bfin_write16(CAN1_MBIM1, val) |
| 40 | #define bfin_read_CAN1_RFH1() bfin_read16(CAN1_RFH1) |
| 41 | #define bfin_write_CAN1_RFH1(val) bfin_write16(CAN1_RFH1, val) |
| 42 | #define bfin_read_CAN1_OPSS1() bfin_read16(CAN1_OPSS1) |
| 43 | #define bfin_write_CAN1_OPSS1(val) bfin_write16(CAN1_OPSS1, val) |
| 44 | |
| 45 | /* CAN Controller 1 Config 2 Registers */ |
| 46 | |
| 47 | #define bfin_read_CAN1_MC2() bfin_read16(CAN1_MC2) |
| 48 | #define bfin_write_CAN1_MC2(val) bfin_write16(CAN1_MC2, val) |
| 49 | #define bfin_read_CAN1_MD2() bfin_read16(CAN1_MD2) |
| 50 | #define bfin_write_CAN1_MD2(val) bfin_write16(CAN1_MD2, val) |
| 51 | #define bfin_read_CAN1_TRS2() bfin_read16(CAN1_TRS2) |
| 52 | #define bfin_write_CAN1_TRS2(val) bfin_write16(CAN1_TRS2, val) |
| 53 | #define bfin_read_CAN1_TRR2() bfin_read16(CAN1_TRR2) |
| 54 | #define bfin_write_CAN1_TRR2(val) bfin_write16(CAN1_TRR2, val) |
| 55 | #define bfin_read_CAN1_TA2() bfin_read16(CAN1_TA2) |
| 56 | #define bfin_write_CAN1_TA2(val) bfin_write16(CAN1_TA2, val) |
| 57 | #define bfin_read_CAN1_AA2() bfin_read16(CAN1_AA2) |
| 58 | #define bfin_write_CAN1_AA2(val) bfin_write16(CAN1_AA2, val) |
| 59 | #define bfin_read_CAN1_RMP2() bfin_read16(CAN1_RMP2) |
| 60 | #define bfin_write_CAN1_RMP2(val) bfin_write16(CAN1_RMP2, val) |
| 61 | #define bfin_read_CAN1_RML2() bfin_read16(CAN1_RML2) |
| 62 | #define bfin_write_CAN1_RML2(val) bfin_write16(CAN1_RML2, val) |
| 63 | #define bfin_read_CAN1_MBTIF2() bfin_read16(CAN1_MBTIF2) |
| 64 | #define bfin_write_CAN1_MBTIF2(val) bfin_write16(CAN1_MBTIF2, val) |
| 65 | #define bfin_read_CAN1_MBRIF2() bfin_read16(CAN1_MBRIF2) |
| 66 | #define bfin_write_CAN1_MBRIF2(val) bfin_write16(CAN1_MBRIF2, val) |
| 67 | #define bfin_read_CAN1_MBIM2() bfin_read16(CAN1_MBIM2) |
| 68 | #define bfin_write_CAN1_MBIM2(val) bfin_write16(CAN1_MBIM2, val) |
| 69 | #define bfin_read_CAN1_RFH2() bfin_read16(CAN1_RFH2) |
| 70 | #define bfin_write_CAN1_RFH2(val) bfin_write16(CAN1_RFH2, val) |
| 71 | #define bfin_read_CAN1_OPSS2() bfin_read16(CAN1_OPSS2) |
| 72 | #define bfin_write_CAN1_OPSS2(val) bfin_write16(CAN1_OPSS2, val) |
| 73 | |
| 74 | /* CAN Controller 1 Clock/Interrubfin_read_()t/Counter Registers */ |
| 75 | |
| 76 | #define bfin_read_CAN1_CLOCK() bfin_read16(CAN1_CLOCK) |
| 77 | #define bfin_write_CAN1_CLOCK(val) bfin_write16(CAN1_CLOCK, val) |
| 78 | #define bfin_read_CAN1_TIMING() bfin_read16(CAN1_TIMING) |
| 79 | #define bfin_write_CAN1_TIMING(val) bfin_write16(CAN1_TIMING, val) |
| 80 | #define bfin_read_CAN1_DEBUG() bfin_read16(CAN1_DEBUG) |
| 81 | #define bfin_write_CAN1_DEBUG(val) bfin_write16(CAN1_DEBUG, val) |
| 82 | #define bfin_read_CAN1_STATUS() bfin_read16(CAN1_STATUS) |
| 83 | #define bfin_write_CAN1_STATUS(val) bfin_write16(CAN1_STATUS, val) |
| 84 | #define bfin_read_CAN1_CEC() bfin_read16(CAN1_CEC) |
| 85 | #define bfin_write_CAN1_CEC(val) bfin_write16(CAN1_CEC, val) |
| 86 | #define bfin_read_CAN1_GIS() bfin_read16(CAN1_GIS) |
| 87 | #define bfin_write_CAN1_GIS(val) bfin_write16(CAN1_GIS, val) |
| 88 | #define bfin_read_CAN1_GIM() bfin_read16(CAN1_GIM) |
| 89 | #define bfin_write_CAN1_GIM(val) bfin_write16(CAN1_GIM, val) |
| 90 | #define bfin_read_CAN1_GIF() bfin_read16(CAN1_GIF) |
| 91 | #define bfin_write_CAN1_GIF(val) bfin_write16(CAN1_GIF, val) |
| 92 | #define bfin_read_CAN1_CONTROL() bfin_read16(CAN1_CONTROL) |
| 93 | #define bfin_write_CAN1_CONTROL(val) bfin_write16(CAN1_CONTROL, val) |
| 94 | #define bfin_read_CAN1_INTR() bfin_read16(CAN1_INTR) |
| 95 | #define bfin_write_CAN1_INTR(val) bfin_write16(CAN1_INTR, val) |
| 96 | #define bfin_read_CAN1_MBTD() bfin_read16(CAN1_MBTD) |
| 97 | #define bfin_write_CAN1_MBTD(val) bfin_write16(CAN1_MBTD, val) |
| 98 | #define bfin_read_CAN1_EWR() bfin_read16(CAN1_EWR) |
| 99 | #define bfin_write_CAN1_EWR(val) bfin_write16(CAN1_EWR, val) |
| 100 | #define bfin_read_CAN1_ESR() bfin_read16(CAN1_ESR) |
| 101 | #define bfin_write_CAN1_ESR(val) bfin_write16(CAN1_ESR, val) |
| 102 | #define bfin_read_CAN1_UCCNT() bfin_read16(CAN1_UCCNT) |
| 103 | #define bfin_write_CAN1_UCCNT(val) bfin_write16(CAN1_UCCNT, val) |
| 104 | #define bfin_read_CAN1_UCRC() bfin_read16(CAN1_UCRC) |
| 105 | #define bfin_write_CAN1_UCRC(val) bfin_write16(CAN1_UCRC, val) |
| 106 | #define bfin_read_CAN1_UCCNF() bfin_read16(CAN1_UCCNF) |
| 107 | #define bfin_write_CAN1_UCCNF(val) bfin_write16(CAN1_UCCNF, val) |
| 108 | |
| 109 | /* CAN Controller 1 Mailbox Accebfin_read_()tance Registers */ |
| 110 | |
| 111 | #define bfin_read_CAN1_AM00L() bfin_read16(CAN1_AM00L) |
| 112 | #define bfin_write_CAN1_AM00L(val) bfin_write16(CAN1_AM00L, val) |
| 113 | #define bfin_read_CAN1_AM00H() bfin_read16(CAN1_AM00H) |
| 114 | #define bfin_write_CAN1_AM00H(val) bfin_write16(CAN1_AM00H, val) |
| 115 | #define bfin_read_CAN1_AM01L() bfin_read16(CAN1_AM01L) |
| 116 | #define bfin_write_CAN1_AM01L(val) bfin_write16(CAN1_AM01L, val) |
| 117 | #define bfin_read_CAN1_AM01H() bfin_read16(CAN1_AM01H) |
| 118 | #define bfin_write_CAN1_AM01H(val) bfin_write16(CAN1_AM01H, val) |
| 119 | #define bfin_read_CAN1_AM02L() bfin_read16(CAN1_AM02L) |
| 120 | #define bfin_write_CAN1_AM02L(val) bfin_write16(CAN1_AM02L, val) |
| 121 | #define bfin_read_CAN1_AM02H() bfin_read16(CAN1_AM02H) |
| 122 | #define bfin_write_CAN1_AM02H(val) bfin_write16(CAN1_AM02H, val) |
| 123 | #define bfin_read_CAN1_AM03L() bfin_read16(CAN1_AM03L) |
| 124 | #define bfin_write_CAN1_AM03L(val) bfin_write16(CAN1_AM03L, val) |
| 125 | #define bfin_read_CAN1_AM03H() bfin_read16(CAN1_AM03H) |
| 126 | #define bfin_write_CAN1_AM03H(val) bfin_write16(CAN1_AM03H, val) |
| 127 | #define bfin_read_CAN1_AM04L() bfin_read16(CAN1_AM04L) |
| 128 | #define bfin_write_CAN1_AM04L(val) bfin_write16(CAN1_AM04L, val) |
| 129 | #define bfin_read_CAN1_AM04H() bfin_read16(CAN1_AM04H) |
| 130 | #define bfin_write_CAN1_AM04H(val) bfin_write16(CAN1_AM04H, val) |
| 131 | #define bfin_read_CAN1_AM05L() bfin_read16(CAN1_AM05L) |
| 132 | #define bfin_write_CAN1_AM05L(val) bfin_write16(CAN1_AM05L, val) |
| 133 | #define bfin_read_CAN1_AM05H() bfin_read16(CAN1_AM05H) |
| 134 | #define bfin_write_CAN1_AM05H(val) bfin_write16(CAN1_AM05H, val) |
| 135 | #define bfin_read_CAN1_AM06L() bfin_read16(CAN1_AM06L) |
| 136 | #define bfin_write_CAN1_AM06L(val) bfin_write16(CAN1_AM06L, val) |
| 137 | #define bfin_read_CAN1_AM06H() bfin_read16(CAN1_AM06H) |
| 138 | #define bfin_write_CAN1_AM06H(val) bfin_write16(CAN1_AM06H, val) |
| 139 | #define bfin_read_CAN1_AM07L() bfin_read16(CAN1_AM07L) |
| 140 | #define bfin_write_CAN1_AM07L(val) bfin_write16(CAN1_AM07L, val) |
| 141 | #define bfin_read_CAN1_AM07H() bfin_read16(CAN1_AM07H) |
| 142 | #define bfin_write_CAN1_AM07H(val) bfin_write16(CAN1_AM07H, val) |
| 143 | #define bfin_read_CAN1_AM08L() bfin_read16(CAN1_AM08L) |
| 144 | #define bfin_write_CAN1_AM08L(val) bfin_write16(CAN1_AM08L, val) |
| 145 | #define bfin_read_CAN1_AM08H() bfin_read16(CAN1_AM08H) |
| 146 | #define bfin_write_CAN1_AM08H(val) bfin_write16(CAN1_AM08H, val) |
| 147 | #define bfin_read_CAN1_AM09L() bfin_read16(CAN1_AM09L) |
| 148 | #define bfin_write_CAN1_AM09L(val) bfin_write16(CAN1_AM09L, val) |
| 149 | #define bfin_read_CAN1_AM09H() bfin_read16(CAN1_AM09H) |
| 150 | #define bfin_write_CAN1_AM09H(val) bfin_write16(CAN1_AM09H, val) |
| 151 | #define bfin_read_CAN1_AM10L() bfin_read16(CAN1_AM10L) |
| 152 | #define bfin_write_CAN1_AM10L(val) bfin_write16(CAN1_AM10L, val) |
| 153 | #define bfin_read_CAN1_AM10H() bfin_read16(CAN1_AM10H) |
| 154 | #define bfin_write_CAN1_AM10H(val) bfin_write16(CAN1_AM10H, val) |
| 155 | #define bfin_read_CAN1_AM11L() bfin_read16(CAN1_AM11L) |
| 156 | #define bfin_write_CAN1_AM11L(val) bfin_write16(CAN1_AM11L, val) |
| 157 | #define bfin_read_CAN1_AM11H() bfin_read16(CAN1_AM11H) |
| 158 | #define bfin_write_CAN1_AM11H(val) bfin_write16(CAN1_AM11H, val) |
| 159 | #define bfin_read_CAN1_AM12L() bfin_read16(CAN1_AM12L) |
| 160 | #define bfin_write_CAN1_AM12L(val) bfin_write16(CAN1_AM12L, val) |
| 161 | #define bfin_read_CAN1_AM12H() bfin_read16(CAN1_AM12H) |
| 162 | #define bfin_write_CAN1_AM12H(val) bfin_write16(CAN1_AM12H, val) |
| 163 | #define bfin_read_CAN1_AM13L() bfin_read16(CAN1_AM13L) |
| 164 | #define bfin_write_CAN1_AM13L(val) bfin_write16(CAN1_AM13L, val) |
| 165 | #define bfin_read_CAN1_AM13H() bfin_read16(CAN1_AM13H) |
| 166 | #define bfin_write_CAN1_AM13H(val) bfin_write16(CAN1_AM13H, val) |
| 167 | #define bfin_read_CAN1_AM14L() bfin_read16(CAN1_AM14L) |
| 168 | #define bfin_write_CAN1_AM14L(val) bfin_write16(CAN1_AM14L, val) |
| 169 | #define bfin_read_CAN1_AM14H() bfin_read16(CAN1_AM14H) |
| 170 | #define bfin_write_CAN1_AM14H(val) bfin_write16(CAN1_AM14H, val) |
| 171 | #define bfin_read_CAN1_AM15L() bfin_read16(CAN1_AM15L) |
| 172 | #define bfin_write_CAN1_AM15L(val) bfin_write16(CAN1_AM15L, val) |
| 173 | #define bfin_read_CAN1_AM15H() bfin_read16(CAN1_AM15H) |
| 174 | #define bfin_write_CAN1_AM15H(val) bfin_write16(CAN1_AM15H, val) |
| 175 | |
| 176 | /* CAN Controller 1 Mailbox Accebfin_read_()tance Registers */ |
| 177 | |
| 178 | #define bfin_read_CAN1_AM16L() bfin_read16(CAN1_AM16L) |
| 179 | #define bfin_write_CAN1_AM16L(val) bfin_write16(CAN1_AM16L, val) |
| 180 | #define bfin_read_CAN1_AM16H() bfin_read16(CAN1_AM16H) |
| 181 | #define bfin_write_CAN1_AM16H(val) bfin_write16(CAN1_AM16H, val) |
| 182 | #define bfin_read_CAN1_AM17L() bfin_read16(CAN1_AM17L) |
| 183 | #define bfin_write_CAN1_AM17L(val) bfin_write16(CAN1_AM17L, val) |
| 184 | #define bfin_read_CAN1_AM17H() bfin_read16(CAN1_AM17H) |
| 185 | #define bfin_write_CAN1_AM17H(val) bfin_write16(CAN1_AM17H, val) |
| 186 | #define bfin_read_CAN1_AM18L() bfin_read16(CAN1_AM18L) |
| 187 | #define bfin_write_CAN1_AM18L(val) bfin_write16(CAN1_AM18L, val) |
| 188 | #define bfin_read_CAN1_AM18H() bfin_read16(CAN1_AM18H) |
| 189 | #define bfin_write_CAN1_AM18H(val) bfin_write16(CAN1_AM18H, val) |
| 190 | #define bfin_read_CAN1_AM19L() bfin_read16(CAN1_AM19L) |
| 191 | #define bfin_write_CAN1_AM19L(val) bfin_write16(CAN1_AM19L, val) |
| 192 | #define bfin_read_CAN1_AM19H() bfin_read16(CAN1_AM19H) |
| 193 | #define bfin_write_CAN1_AM19H(val) bfin_write16(CAN1_AM19H, val) |
| 194 | #define bfin_read_CAN1_AM20L() bfin_read16(CAN1_AM20L) |
| 195 | #define bfin_write_CAN1_AM20L(val) bfin_write16(CAN1_AM20L, val) |
| 196 | #define bfin_read_CAN1_AM20H() bfin_read16(CAN1_AM20H) |
| 197 | #define bfin_write_CAN1_AM20H(val) bfin_write16(CAN1_AM20H, val) |
| 198 | #define bfin_read_CAN1_AM21L() bfin_read16(CAN1_AM21L) |
| 199 | #define bfin_write_CAN1_AM21L(val) bfin_write16(CAN1_AM21L, val) |
| 200 | #define bfin_read_CAN1_AM21H() bfin_read16(CAN1_AM21H) |
| 201 | #define bfin_write_CAN1_AM21H(val) bfin_write16(CAN1_AM21H, val) |
| 202 | #define bfin_read_CAN1_AM22L() bfin_read16(CAN1_AM22L) |
| 203 | #define bfin_write_CAN1_AM22L(val) bfin_write16(CAN1_AM22L, val) |
| 204 | #define bfin_read_CAN1_AM22H() bfin_read16(CAN1_AM22H) |
| 205 | #define bfin_write_CAN1_AM22H(val) bfin_write16(CAN1_AM22H, val) |
| 206 | #define bfin_read_CAN1_AM23L() bfin_read16(CAN1_AM23L) |
| 207 | #define bfin_write_CAN1_AM23L(val) bfin_write16(CAN1_AM23L, val) |
| 208 | #define bfin_read_CAN1_AM23H() bfin_read16(CAN1_AM23H) |
| 209 | #define bfin_write_CAN1_AM23H(val) bfin_write16(CAN1_AM23H, val) |
| 210 | #define bfin_read_CAN1_AM24L() bfin_read16(CAN1_AM24L) |
| 211 | #define bfin_write_CAN1_AM24L(val) bfin_write16(CAN1_AM24L, val) |
| 212 | #define bfin_read_CAN1_AM24H() bfin_read16(CAN1_AM24H) |
| 213 | #define bfin_write_CAN1_AM24H(val) bfin_write16(CAN1_AM24H, val) |
| 214 | #define bfin_read_CAN1_AM25L() bfin_read16(CAN1_AM25L) |
| 215 | #define bfin_write_CAN1_AM25L(val) bfin_write16(CAN1_AM25L, val) |
| 216 | #define bfin_read_CAN1_AM25H() bfin_read16(CAN1_AM25H) |
| 217 | #define bfin_write_CAN1_AM25H(val) bfin_write16(CAN1_AM25H, val) |
| 218 | #define bfin_read_CAN1_AM26L() bfin_read16(CAN1_AM26L) |
| 219 | #define bfin_write_CAN1_AM26L(val) bfin_write16(CAN1_AM26L, val) |
| 220 | #define bfin_read_CAN1_AM26H() bfin_read16(CAN1_AM26H) |
| 221 | #define bfin_write_CAN1_AM26H(val) bfin_write16(CAN1_AM26H, val) |
| 222 | #define bfin_read_CAN1_AM27L() bfin_read16(CAN1_AM27L) |
| 223 | #define bfin_write_CAN1_AM27L(val) bfin_write16(CAN1_AM27L, val) |
| 224 | #define bfin_read_CAN1_AM27H() bfin_read16(CAN1_AM27H) |
| 225 | #define bfin_write_CAN1_AM27H(val) bfin_write16(CAN1_AM27H, val) |
| 226 | #define bfin_read_CAN1_AM28L() bfin_read16(CAN1_AM28L) |
| 227 | #define bfin_write_CAN1_AM28L(val) bfin_write16(CAN1_AM28L, val) |
| 228 | #define bfin_read_CAN1_AM28H() bfin_read16(CAN1_AM28H) |
| 229 | #define bfin_write_CAN1_AM28H(val) bfin_write16(CAN1_AM28H, val) |
| 230 | #define bfin_read_CAN1_AM29L() bfin_read16(CAN1_AM29L) |
| 231 | #define bfin_write_CAN1_AM29L(val) bfin_write16(CAN1_AM29L, val) |
| 232 | #define bfin_read_CAN1_AM29H() bfin_read16(CAN1_AM29H) |
| 233 | #define bfin_write_CAN1_AM29H(val) bfin_write16(CAN1_AM29H, val) |
| 234 | #define bfin_read_CAN1_AM30L() bfin_read16(CAN1_AM30L) |
| 235 | #define bfin_write_CAN1_AM30L(val) bfin_write16(CAN1_AM30L, val) |
| 236 | #define bfin_read_CAN1_AM30H() bfin_read16(CAN1_AM30H) |
| 237 | #define bfin_write_CAN1_AM30H(val) bfin_write16(CAN1_AM30H, val) |
| 238 | #define bfin_read_CAN1_AM31L() bfin_read16(CAN1_AM31L) |
| 239 | #define bfin_write_CAN1_AM31L(val) bfin_write16(CAN1_AM31L, val) |
| 240 | #define bfin_read_CAN1_AM31H() bfin_read16(CAN1_AM31H) |
| 241 | #define bfin_write_CAN1_AM31H(val) bfin_write16(CAN1_AM31H, val) |
| 242 | |
| 243 | /* CAN Controller 1 Mailbox Data Registers */ |
| 244 | |
| 245 | #define bfin_read_CAN1_MB00_DATA0() bfin_read16(CAN1_MB00_DATA0) |
| 246 | #define bfin_write_CAN1_MB00_DATA0(val) bfin_write16(CAN1_MB00_DATA0, val) |
| 247 | #define bfin_read_CAN1_MB00_DATA1() bfin_read16(CAN1_MB00_DATA1) |
| 248 | #define bfin_write_CAN1_MB00_DATA1(val) bfin_write16(CAN1_MB00_DATA1, val) |
| 249 | #define bfin_read_CAN1_MB00_DATA2() bfin_read16(CAN1_MB00_DATA2) |
| 250 | #define bfin_write_CAN1_MB00_DATA2(val) bfin_write16(CAN1_MB00_DATA2, val) |
| 251 | #define bfin_read_CAN1_MB00_DATA3() bfin_read16(CAN1_MB00_DATA3) |
| 252 | #define bfin_write_CAN1_MB00_DATA3(val) bfin_write16(CAN1_MB00_DATA3, val) |
| 253 | #define bfin_read_CAN1_MB00_LENGTH() bfin_read16(CAN1_MB00_LENGTH) |
| 254 | #define bfin_write_CAN1_MB00_LENGTH(val) bfin_write16(CAN1_MB00_LENGTH, val) |
| 255 | #define bfin_read_CAN1_MB00_TIMESTAMP() bfin_read16(CAN1_MB00_TIMESTAMP) |
| 256 | #define bfin_write_CAN1_MB00_TIMESTAMP(val) bfin_write16(CAN1_MB00_TIMESTAMP, val) |
| 257 | #define bfin_read_CAN1_MB00_ID0() bfin_read16(CAN1_MB00_ID0) |
| 258 | #define bfin_write_CAN1_MB00_ID0(val) bfin_write16(CAN1_MB00_ID0, val) |
| 259 | #define bfin_read_CAN1_MB00_ID1() bfin_read16(CAN1_MB00_ID1) |
| 260 | #define bfin_write_CAN1_MB00_ID1(val) bfin_write16(CAN1_MB00_ID1, val) |
| 261 | #define bfin_read_CAN1_MB01_DATA0() bfin_read16(CAN1_MB01_DATA0) |
| 262 | #define bfin_write_CAN1_MB01_DATA0(val) bfin_write16(CAN1_MB01_DATA0, val) |
| 263 | #define bfin_read_CAN1_MB01_DATA1() bfin_read16(CAN1_MB01_DATA1) |
| 264 | #define bfin_write_CAN1_MB01_DATA1(val) bfin_write16(CAN1_MB01_DATA1, val) |
| 265 | #define bfin_read_CAN1_MB01_DATA2() bfin_read16(CAN1_MB01_DATA2) |
| 266 | #define bfin_write_CAN1_MB01_DATA2(val) bfin_write16(CAN1_MB01_DATA2, val) |
| 267 | #define bfin_read_CAN1_MB01_DATA3() bfin_read16(CAN1_MB01_DATA3) |
| 268 | #define bfin_write_CAN1_MB01_DATA3(val) bfin_write16(CAN1_MB01_DATA3, val) |
| 269 | #define bfin_read_CAN1_MB01_LENGTH() bfin_read16(CAN1_MB01_LENGTH) |
| 270 | #define bfin_write_CAN1_MB01_LENGTH(val) bfin_write16(CAN1_MB01_LENGTH, val) |
| 271 | #define bfin_read_CAN1_MB01_TIMESTAMP() bfin_read16(CAN1_MB01_TIMESTAMP) |
| 272 | #define bfin_write_CAN1_MB01_TIMESTAMP(val) bfin_write16(CAN1_MB01_TIMESTAMP, val) |
| 273 | #define bfin_read_CAN1_MB01_ID0() bfin_read16(CAN1_MB01_ID0) |
| 274 | #define bfin_write_CAN1_MB01_ID0(val) bfin_write16(CAN1_MB01_ID0, val) |
| 275 | #define bfin_read_CAN1_MB01_ID1() bfin_read16(CAN1_MB01_ID1) |
| 276 | #define bfin_write_CAN1_MB01_ID1(val) bfin_write16(CAN1_MB01_ID1, val) |
| 277 | #define bfin_read_CAN1_MB02_DATA0() bfin_read16(CAN1_MB02_DATA0) |
| 278 | #define bfin_write_CAN1_MB02_DATA0(val) bfin_write16(CAN1_MB02_DATA0, val) |
| 279 | #define bfin_read_CAN1_MB02_DATA1() bfin_read16(CAN1_MB02_DATA1) |
| 280 | #define bfin_write_CAN1_MB02_DATA1(val) bfin_write16(CAN1_MB02_DATA1, val) |
| 281 | #define bfin_read_CAN1_MB02_DATA2() bfin_read16(CAN1_MB02_DATA2) |
| 282 | #define bfin_write_CAN1_MB02_DATA2(val) bfin_write16(CAN1_MB02_DATA2, val) |
| 283 | #define bfin_read_CAN1_MB02_DATA3() bfin_read16(CAN1_MB02_DATA3) |
| 284 | #define bfin_write_CAN1_MB02_DATA3(val) bfin_write16(CAN1_MB02_DATA3, val) |
| 285 | #define bfin_read_CAN1_MB02_LENGTH() bfin_read16(CAN1_MB02_LENGTH) |
| 286 | #define bfin_write_CAN1_MB02_LENGTH(val) bfin_write16(CAN1_MB02_LENGTH, val) |
| 287 | #define bfin_read_CAN1_MB02_TIMESTAMP() bfin_read16(CAN1_MB02_TIMESTAMP) |
| 288 | #define bfin_write_CAN1_MB02_TIMESTAMP(val) bfin_write16(CAN1_MB02_TIMESTAMP, val) |
| 289 | #define bfin_read_CAN1_MB02_ID0() bfin_read16(CAN1_MB02_ID0) |
| 290 | #define bfin_write_CAN1_MB02_ID0(val) bfin_write16(CAN1_MB02_ID0, val) |
| 291 | #define bfin_read_CAN1_MB02_ID1() bfin_read16(CAN1_MB02_ID1) |
| 292 | #define bfin_write_CAN1_MB02_ID1(val) bfin_write16(CAN1_MB02_ID1, val) |
| 293 | #define bfin_read_CAN1_MB03_DATA0() bfin_read16(CAN1_MB03_DATA0) |
| 294 | #define bfin_write_CAN1_MB03_DATA0(val) bfin_write16(CAN1_MB03_DATA0, val) |
| 295 | #define bfin_read_CAN1_MB03_DATA1() bfin_read16(CAN1_MB03_DATA1) |
| 296 | #define bfin_write_CAN1_MB03_DATA1(val) bfin_write16(CAN1_MB03_DATA1, val) |
| 297 | #define bfin_read_CAN1_MB03_DATA2() bfin_read16(CAN1_MB03_DATA2) |
| 298 | #define bfin_write_CAN1_MB03_DATA2(val) bfin_write16(CAN1_MB03_DATA2, val) |
| 299 | #define bfin_read_CAN1_MB03_DATA3() bfin_read16(CAN1_MB03_DATA3) |
| 300 | #define bfin_write_CAN1_MB03_DATA3(val) bfin_write16(CAN1_MB03_DATA3, val) |
| 301 | #define bfin_read_CAN1_MB03_LENGTH() bfin_read16(CAN1_MB03_LENGTH) |
| 302 | #define bfin_write_CAN1_MB03_LENGTH(val) bfin_write16(CAN1_MB03_LENGTH, val) |
| 303 | #define bfin_read_CAN1_MB03_TIMESTAMP() bfin_read16(CAN1_MB03_TIMESTAMP) |
| 304 | #define bfin_write_CAN1_MB03_TIMESTAMP(val) bfin_write16(CAN1_MB03_TIMESTAMP, val) |
| 305 | #define bfin_read_CAN1_MB03_ID0() bfin_read16(CAN1_MB03_ID0) |
| 306 | #define bfin_write_CAN1_MB03_ID0(val) bfin_write16(CAN1_MB03_ID0, val) |
| 307 | #define bfin_read_CAN1_MB03_ID1() bfin_read16(CAN1_MB03_ID1) |
| 308 | #define bfin_write_CAN1_MB03_ID1(val) bfin_write16(CAN1_MB03_ID1, val) |
| 309 | #define bfin_read_CAN1_MB04_DATA0() bfin_read16(CAN1_MB04_DATA0) |
| 310 | #define bfin_write_CAN1_MB04_DATA0(val) bfin_write16(CAN1_MB04_DATA0, val) |
| 311 | #define bfin_read_CAN1_MB04_DATA1() bfin_read16(CAN1_MB04_DATA1) |
| 312 | #define bfin_write_CAN1_MB04_DATA1(val) bfin_write16(CAN1_MB04_DATA1, val) |
| 313 | #define bfin_read_CAN1_MB04_DATA2() bfin_read16(CAN1_MB04_DATA2) |
| 314 | #define bfin_write_CAN1_MB04_DATA2(val) bfin_write16(CAN1_MB04_DATA2, val) |
| 315 | #define bfin_read_CAN1_MB04_DATA3() bfin_read16(CAN1_MB04_DATA3) |
| 316 | #define bfin_write_CAN1_MB04_DATA3(val) bfin_write16(CAN1_MB04_DATA3, val) |
| 317 | #define bfin_read_CAN1_MB04_LENGTH() bfin_read16(CAN1_MB04_LENGTH) |
| 318 | #define bfin_write_CAN1_MB04_LENGTH(val) bfin_write16(CAN1_MB04_LENGTH, val) |
| 319 | #define bfin_read_CAN1_MB04_TIMESTAMP() bfin_read16(CAN1_MB04_TIMESTAMP) |
| 320 | #define bfin_write_CAN1_MB04_TIMESTAMP(val) bfin_write16(CAN1_MB04_TIMESTAMP, val) |
| 321 | #define bfin_read_CAN1_MB04_ID0() bfin_read16(CAN1_MB04_ID0) |
| 322 | #define bfin_write_CAN1_MB04_ID0(val) bfin_write16(CAN1_MB04_ID0, val) |
| 323 | #define bfin_read_CAN1_MB04_ID1() bfin_read16(CAN1_MB04_ID1) |
| 324 | #define bfin_write_CAN1_MB04_ID1(val) bfin_write16(CAN1_MB04_ID1, val) |
| 325 | #define bfin_read_CAN1_MB05_DATA0() bfin_read16(CAN1_MB05_DATA0) |
| 326 | #define bfin_write_CAN1_MB05_DATA0(val) bfin_write16(CAN1_MB05_DATA0, val) |
| 327 | #define bfin_read_CAN1_MB05_DATA1() bfin_read16(CAN1_MB05_DATA1) |
| 328 | #define bfin_write_CAN1_MB05_DATA1(val) bfin_write16(CAN1_MB05_DATA1, val) |
| 329 | #define bfin_read_CAN1_MB05_DATA2() bfin_read16(CAN1_MB05_DATA2) |
| 330 | #define bfin_write_CAN1_MB05_DATA2(val) bfin_write16(CAN1_MB05_DATA2, val) |
| 331 | #define bfin_read_CAN1_MB05_DATA3() bfin_read16(CAN1_MB05_DATA3) |
| 332 | #define bfin_write_CAN1_MB05_DATA3(val) bfin_write16(CAN1_MB05_DATA3, val) |
| 333 | #define bfin_read_CAN1_MB05_LENGTH() bfin_read16(CAN1_MB05_LENGTH) |
| 334 | #define bfin_write_CAN1_MB05_LENGTH(val) bfin_write16(CAN1_MB05_LENGTH, val) |
| 335 | #define bfin_read_CAN1_MB05_TIMESTAMP() bfin_read16(CAN1_MB05_TIMESTAMP) |
| 336 | #define bfin_write_CAN1_MB05_TIMESTAMP(val) bfin_write16(CAN1_MB05_TIMESTAMP, val) |
| 337 | #define bfin_read_CAN1_MB05_ID0() bfin_read16(CAN1_MB05_ID0) |
| 338 | #define bfin_write_CAN1_MB05_ID0(val) bfin_write16(CAN1_MB05_ID0, val) |
| 339 | #define bfin_read_CAN1_MB05_ID1() bfin_read16(CAN1_MB05_ID1) |
| 340 | #define bfin_write_CAN1_MB05_ID1(val) bfin_write16(CAN1_MB05_ID1, val) |
| 341 | #define bfin_read_CAN1_MB06_DATA0() bfin_read16(CAN1_MB06_DATA0) |
| 342 | #define bfin_write_CAN1_MB06_DATA0(val) bfin_write16(CAN1_MB06_DATA0, val) |
| 343 | #define bfin_read_CAN1_MB06_DATA1() bfin_read16(CAN1_MB06_DATA1) |
| 344 | #define bfin_write_CAN1_MB06_DATA1(val) bfin_write16(CAN1_MB06_DATA1, val) |
| 345 | #define bfin_read_CAN1_MB06_DATA2() bfin_read16(CAN1_MB06_DATA2) |
| 346 | #define bfin_write_CAN1_MB06_DATA2(val) bfin_write16(CAN1_MB06_DATA2, val) |
| 347 | #define bfin_read_CAN1_MB06_DATA3() bfin_read16(CAN1_MB06_DATA3) |
| 348 | #define bfin_write_CAN1_MB06_DATA3(val) bfin_write16(CAN1_MB06_DATA3, val) |
| 349 | #define bfin_read_CAN1_MB06_LENGTH() bfin_read16(CAN1_MB06_LENGTH) |
| 350 | #define bfin_write_CAN1_MB06_LENGTH(val) bfin_write16(CAN1_MB06_LENGTH, val) |
| 351 | #define bfin_read_CAN1_MB06_TIMESTAMP() bfin_read16(CAN1_MB06_TIMESTAMP) |
| 352 | #define bfin_write_CAN1_MB06_TIMESTAMP(val) bfin_write16(CAN1_MB06_TIMESTAMP, val) |
| 353 | #define bfin_read_CAN1_MB06_ID0() bfin_read16(CAN1_MB06_ID0) |
| 354 | #define bfin_write_CAN1_MB06_ID0(val) bfin_write16(CAN1_MB06_ID0, val) |
| 355 | #define bfin_read_CAN1_MB06_ID1() bfin_read16(CAN1_MB06_ID1) |
| 356 | #define bfin_write_CAN1_MB06_ID1(val) bfin_write16(CAN1_MB06_ID1, val) |
| 357 | #define bfin_read_CAN1_MB07_DATA0() bfin_read16(CAN1_MB07_DATA0) |
| 358 | #define bfin_write_CAN1_MB07_DATA0(val) bfin_write16(CAN1_MB07_DATA0, val) |
| 359 | #define bfin_read_CAN1_MB07_DATA1() bfin_read16(CAN1_MB07_DATA1) |
| 360 | #define bfin_write_CAN1_MB07_DATA1(val) bfin_write16(CAN1_MB07_DATA1, val) |
| 361 | #define bfin_read_CAN1_MB07_DATA2() bfin_read16(CAN1_MB07_DATA2) |
| 362 | #define bfin_write_CAN1_MB07_DATA2(val) bfin_write16(CAN1_MB07_DATA2, val) |
| 363 | #define bfin_read_CAN1_MB07_DATA3() bfin_read16(CAN1_MB07_DATA3) |
| 364 | #define bfin_write_CAN1_MB07_DATA3(val) bfin_write16(CAN1_MB07_DATA3, val) |
| 365 | #define bfin_read_CAN1_MB07_LENGTH() bfin_read16(CAN1_MB07_LENGTH) |
| 366 | #define bfin_write_CAN1_MB07_LENGTH(val) bfin_write16(CAN1_MB07_LENGTH, val) |
| 367 | #define bfin_read_CAN1_MB07_TIMESTAMP() bfin_read16(CAN1_MB07_TIMESTAMP) |
| 368 | #define bfin_write_CAN1_MB07_TIMESTAMP(val) bfin_write16(CAN1_MB07_TIMESTAMP, val) |
| 369 | #define bfin_read_CAN1_MB07_ID0() bfin_read16(CAN1_MB07_ID0) |
| 370 | #define bfin_write_CAN1_MB07_ID0(val) bfin_write16(CAN1_MB07_ID0, val) |
| 371 | #define bfin_read_CAN1_MB07_ID1() bfin_read16(CAN1_MB07_ID1) |
| 372 | #define bfin_write_CAN1_MB07_ID1(val) bfin_write16(CAN1_MB07_ID1, val) |
| 373 | #define bfin_read_CAN1_MB08_DATA0() bfin_read16(CAN1_MB08_DATA0) |
| 374 | #define bfin_write_CAN1_MB08_DATA0(val) bfin_write16(CAN1_MB08_DATA0, val) |
| 375 | #define bfin_read_CAN1_MB08_DATA1() bfin_read16(CAN1_MB08_DATA1) |
| 376 | #define bfin_write_CAN1_MB08_DATA1(val) bfin_write16(CAN1_MB08_DATA1, val) |
| 377 | #define bfin_read_CAN1_MB08_DATA2() bfin_read16(CAN1_MB08_DATA2) |
| 378 | #define bfin_write_CAN1_MB08_DATA2(val) bfin_write16(CAN1_MB08_DATA2, val) |
| 379 | #define bfin_read_CAN1_MB08_DATA3() bfin_read16(CAN1_MB08_DATA3) |
| 380 | #define bfin_write_CAN1_MB08_DATA3(val) bfin_write16(CAN1_MB08_DATA3, val) |
| 381 | #define bfin_read_CAN1_MB08_LENGTH() bfin_read16(CAN1_MB08_LENGTH) |
| 382 | #define bfin_write_CAN1_MB08_LENGTH(val) bfin_write16(CAN1_MB08_LENGTH, val) |
| 383 | #define bfin_read_CAN1_MB08_TIMESTAMP() bfin_read16(CAN1_MB08_TIMESTAMP) |
| 384 | #define bfin_write_CAN1_MB08_TIMESTAMP(val) bfin_write16(CAN1_MB08_TIMESTAMP, val) |
| 385 | #define bfin_read_CAN1_MB08_ID0() bfin_read16(CAN1_MB08_ID0) |
| 386 | #define bfin_write_CAN1_MB08_ID0(val) bfin_write16(CAN1_MB08_ID0, val) |
| 387 | #define bfin_read_CAN1_MB08_ID1() bfin_read16(CAN1_MB08_ID1) |
| 388 | #define bfin_write_CAN1_MB08_ID1(val) bfin_write16(CAN1_MB08_ID1, val) |
| 389 | #define bfin_read_CAN1_MB09_DATA0() bfin_read16(CAN1_MB09_DATA0) |
| 390 | #define bfin_write_CAN1_MB09_DATA0(val) bfin_write16(CAN1_MB09_DATA0, val) |
| 391 | #define bfin_read_CAN1_MB09_DATA1() bfin_read16(CAN1_MB09_DATA1) |
| 392 | #define bfin_write_CAN1_MB09_DATA1(val) bfin_write16(CAN1_MB09_DATA1, val) |
| 393 | #define bfin_read_CAN1_MB09_DATA2() bfin_read16(CAN1_MB09_DATA2) |
| 394 | #define bfin_write_CAN1_MB09_DATA2(val) bfin_write16(CAN1_MB09_DATA2, val) |
| 395 | #define bfin_read_CAN1_MB09_DATA3() bfin_read16(CAN1_MB09_DATA3) |
| 396 | #define bfin_write_CAN1_MB09_DATA3(val) bfin_write16(CAN1_MB09_DATA3, val) |
| 397 | #define bfin_read_CAN1_MB09_LENGTH() bfin_read16(CAN1_MB09_LENGTH) |
| 398 | #define bfin_write_CAN1_MB09_LENGTH(val) bfin_write16(CAN1_MB09_LENGTH, val) |
| 399 | #define bfin_read_CAN1_MB09_TIMESTAMP() bfin_read16(CAN1_MB09_TIMESTAMP) |
| 400 | #define bfin_write_CAN1_MB09_TIMESTAMP(val) bfin_write16(CAN1_MB09_TIMESTAMP, val) |
| 401 | #define bfin_read_CAN1_MB09_ID0() bfin_read16(CAN1_MB09_ID0) |
| 402 | #define bfin_write_CAN1_MB09_ID0(val) bfin_write16(CAN1_MB09_ID0, val) |
| 403 | #define bfin_read_CAN1_MB09_ID1() bfin_read16(CAN1_MB09_ID1) |
| 404 | #define bfin_write_CAN1_MB09_ID1(val) bfin_write16(CAN1_MB09_ID1, val) |
| 405 | #define bfin_read_CAN1_MB10_DATA0() bfin_read16(CAN1_MB10_DATA0) |
| 406 | #define bfin_write_CAN1_MB10_DATA0(val) bfin_write16(CAN1_MB10_DATA0, val) |
| 407 | #define bfin_read_CAN1_MB10_DATA1() bfin_read16(CAN1_MB10_DATA1) |
| 408 | #define bfin_write_CAN1_MB10_DATA1(val) bfin_write16(CAN1_MB10_DATA1, val) |
| 409 | #define bfin_read_CAN1_MB10_DATA2() bfin_read16(CAN1_MB10_DATA2) |
| 410 | #define bfin_write_CAN1_MB10_DATA2(val) bfin_write16(CAN1_MB10_DATA2, val) |
| 411 | #define bfin_read_CAN1_MB10_DATA3() bfin_read16(CAN1_MB10_DATA3) |
| 412 | #define bfin_write_CAN1_MB10_DATA3(val) bfin_write16(CAN1_MB10_DATA3, val) |
| 413 | #define bfin_read_CAN1_MB10_LENGTH() bfin_read16(CAN1_MB10_LENGTH) |
| 414 | #define bfin_write_CAN1_MB10_LENGTH(val) bfin_write16(CAN1_MB10_LENGTH, val) |
| 415 | #define bfin_read_CAN1_MB10_TIMESTAMP() bfin_read16(CAN1_MB10_TIMESTAMP) |
| 416 | #define bfin_write_CAN1_MB10_TIMESTAMP(val) bfin_write16(CAN1_MB10_TIMESTAMP, val) |
| 417 | #define bfin_read_CAN1_MB10_ID0() bfin_read16(CAN1_MB10_ID0) |
| 418 | #define bfin_write_CAN1_MB10_ID0(val) bfin_write16(CAN1_MB10_ID0, val) |
| 419 | #define bfin_read_CAN1_MB10_ID1() bfin_read16(CAN1_MB10_ID1) |
| 420 | #define bfin_write_CAN1_MB10_ID1(val) bfin_write16(CAN1_MB10_ID1, val) |
| 421 | #define bfin_read_CAN1_MB11_DATA0() bfin_read16(CAN1_MB11_DATA0) |
| 422 | #define bfin_write_CAN1_MB11_DATA0(val) bfin_write16(CAN1_MB11_DATA0, val) |
| 423 | #define bfin_read_CAN1_MB11_DATA1() bfin_read16(CAN1_MB11_DATA1) |
| 424 | #define bfin_write_CAN1_MB11_DATA1(val) bfin_write16(CAN1_MB11_DATA1, val) |
| 425 | #define bfin_read_CAN1_MB11_DATA2() bfin_read16(CAN1_MB11_DATA2) |
| 426 | #define bfin_write_CAN1_MB11_DATA2(val) bfin_write16(CAN1_MB11_DATA2, val) |
| 427 | #define bfin_read_CAN1_MB11_DATA3() bfin_read16(CAN1_MB11_DATA3) |
| 428 | #define bfin_write_CAN1_MB11_DATA3(val) bfin_write16(CAN1_MB11_DATA3, val) |
| 429 | #define bfin_read_CAN1_MB11_LENGTH() bfin_read16(CAN1_MB11_LENGTH) |
| 430 | #define bfin_write_CAN1_MB11_LENGTH(val) bfin_write16(CAN1_MB11_LENGTH, val) |
| 431 | #define bfin_read_CAN1_MB11_TIMESTAMP() bfin_read16(CAN1_MB11_TIMESTAMP) |
| 432 | #define bfin_write_CAN1_MB11_TIMESTAMP(val) bfin_write16(CAN1_MB11_TIMESTAMP, val) |
| 433 | #define bfin_read_CAN1_MB11_ID0() bfin_read16(CAN1_MB11_ID0) |
| 434 | #define bfin_write_CAN1_MB11_ID0(val) bfin_write16(CAN1_MB11_ID0, val) |
| 435 | #define bfin_read_CAN1_MB11_ID1() bfin_read16(CAN1_MB11_ID1) |
| 436 | #define bfin_write_CAN1_MB11_ID1(val) bfin_write16(CAN1_MB11_ID1, val) |
| 437 | #define bfin_read_CAN1_MB12_DATA0() bfin_read16(CAN1_MB12_DATA0) |
| 438 | #define bfin_write_CAN1_MB12_DATA0(val) bfin_write16(CAN1_MB12_DATA0, val) |
| 439 | #define bfin_read_CAN1_MB12_DATA1() bfin_read16(CAN1_MB12_DATA1) |
| 440 | #define bfin_write_CAN1_MB12_DATA1(val) bfin_write16(CAN1_MB12_DATA1, val) |
| 441 | #define bfin_read_CAN1_MB12_DATA2() bfin_read16(CAN1_MB12_DATA2) |
| 442 | #define bfin_write_CAN1_MB12_DATA2(val) bfin_write16(CAN1_MB12_DATA2, val) |
| 443 | #define bfin_read_CAN1_MB12_DATA3() bfin_read16(CAN1_MB12_DATA3) |
| 444 | #define bfin_write_CAN1_MB12_DATA3(val) bfin_write16(CAN1_MB12_DATA3, val) |
| 445 | #define bfin_read_CAN1_MB12_LENGTH() bfin_read16(CAN1_MB12_LENGTH) |
| 446 | #define bfin_write_CAN1_MB12_LENGTH(val) bfin_write16(CAN1_MB12_LENGTH, val) |
| 447 | #define bfin_read_CAN1_MB12_TIMESTAMP() bfin_read16(CAN1_MB12_TIMESTAMP) |
| 448 | #define bfin_write_CAN1_MB12_TIMESTAMP(val) bfin_write16(CAN1_MB12_TIMESTAMP, val) |
| 449 | #define bfin_read_CAN1_MB12_ID0() bfin_read16(CAN1_MB12_ID0) |
| 450 | #define bfin_write_CAN1_MB12_ID0(val) bfin_write16(CAN1_MB12_ID0, val) |
| 451 | #define bfin_read_CAN1_MB12_ID1() bfin_read16(CAN1_MB12_ID1) |
| 452 | #define bfin_write_CAN1_MB12_ID1(val) bfin_write16(CAN1_MB12_ID1, val) |
| 453 | #define bfin_read_CAN1_MB13_DATA0() bfin_read16(CAN1_MB13_DATA0) |
| 454 | #define bfin_write_CAN1_MB13_DATA0(val) bfin_write16(CAN1_MB13_DATA0, val) |
| 455 | #define bfin_read_CAN1_MB13_DATA1() bfin_read16(CAN1_MB13_DATA1) |
| 456 | #define bfin_write_CAN1_MB13_DATA1(val) bfin_write16(CAN1_MB13_DATA1, val) |
| 457 | #define bfin_read_CAN1_MB13_DATA2() bfin_read16(CAN1_MB13_DATA2) |
| 458 | #define bfin_write_CAN1_MB13_DATA2(val) bfin_write16(CAN1_MB13_DATA2, val) |
| 459 | #define bfin_read_CAN1_MB13_DATA3() bfin_read16(CAN1_MB13_DATA3) |
| 460 | #define bfin_write_CAN1_MB13_DATA3(val) bfin_write16(CAN1_MB13_DATA3, val) |
| 461 | #define bfin_read_CAN1_MB13_LENGTH() bfin_read16(CAN1_MB13_LENGTH) |
| 462 | #define bfin_write_CAN1_MB13_LENGTH(val) bfin_write16(CAN1_MB13_LENGTH, val) |
| 463 | #define bfin_read_CAN1_MB13_TIMESTAMP() bfin_read16(CAN1_MB13_TIMESTAMP) |
| 464 | #define bfin_write_CAN1_MB13_TIMESTAMP(val) bfin_write16(CAN1_MB13_TIMESTAMP, val) |
| 465 | #define bfin_read_CAN1_MB13_ID0() bfin_read16(CAN1_MB13_ID0) |
| 466 | #define bfin_write_CAN1_MB13_ID0(val) bfin_write16(CAN1_MB13_ID0, val) |
| 467 | #define bfin_read_CAN1_MB13_ID1() bfin_read16(CAN1_MB13_ID1) |
| 468 | #define bfin_write_CAN1_MB13_ID1(val) bfin_write16(CAN1_MB13_ID1, val) |
| 469 | #define bfin_read_CAN1_MB14_DATA0() bfin_read16(CAN1_MB14_DATA0) |
| 470 | #define bfin_write_CAN1_MB14_DATA0(val) bfin_write16(CAN1_MB14_DATA0, val) |
| 471 | #define bfin_read_CAN1_MB14_DATA1() bfin_read16(CAN1_MB14_DATA1) |
| 472 | #define bfin_write_CAN1_MB14_DATA1(val) bfin_write16(CAN1_MB14_DATA1, val) |
| 473 | #define bfin_read_CAN1_MB14_DATA2() bfin_read16(CAN1_MB14_DATA2) |
| 474 | #define bfin_write_CAN1_MB14_DATA2(val) bfin_write16(CAN1_MB14_DATA2, val) |
| 475 | #define bfin_read_CAN1_MB14_DATA3() bfin_read16(CAN1_MB14_DATA3) |
| 476 | #define bfin_write_CAN1_MB14_DATA3(val) bfin_write16(CAN1_MB14_DATA3, val) |
| 477 | #define bfin_read_CAN1_MB14_LENGTH() bfin_read16(CAN1_MB14_LENGTH) |
| 478 | #define bfin_write_CAN1_MB14_LENGTH(val) bfin_write16(CAN1_MB14_LENGTH, val) |
| 479 | #define bfin_read_CAN1_MB14_TIMESTAMP() bfin_read16(CAN1_MB14_TIMESTAMP) |
| 480 | #define bfin_write_CAN1_MB14_TIMESTAMP(val) bfin_write16(CAN1_MB14_TIMESTAMP, val) |
| 481 | #define bfin_read_CAN1_MB14_ID0() bfin_read16(CAN1_MB14_ID0) |
| 482 | #define bfin_write_CAN1_MB14_ID0(val) bfin_write16(CAN1_MB14_ID0, val) |
| 483 | #define bfin_read_CAN1_MB14_ID1() bfin_read16(CAN1_MB14_ID1) |
| 484 | #define bfin_write_CAN1_MB14_ID1(val) bfin_write16(CAN1_MB14_ID1, val) |
| 485 | #define bfin_read_CAN1_MB15_DATA0() bfin_read16(CAN1_MB15_DATA0) |
| 486 | #define bfin_write_CAN1_MB15_DATA0(val) bfin_write16(CAN1_MB15_DATA0, val) |
| 487 | #define bfin_read_CAN1_MB15_DATA1() bfin_read16(CAN1_MB15_DATA1) |
| 488 | #define bfin_write_CAN1_MB15_DATA1(val) bfin_write16(CAN1_MB15_DATA1, val) |
| 489 | #define bfin_read_CAN1_MB15_DATA2() bfin_read16(CAN1_MB15_DATA2) |
| 490 | #define bfin_write_CAN1_MB15_DATA2(val) bfin_write16(CAN1_MB15_DATA2, val) |
| 491 | #define bfin_read_CAN1_MB15_DATA3() bfin_read16(CAN1_MB15_DATA3) |
| 492 | #define bfin_write_CAN1_MB15_DATA3(val) bfin_write16(CAN1_MB15_DATA3, val) |
| 493 | #define bfin_read_CAN1_MB15_LENGTH() bfin_read16(CAN1_MB15_LENGTH) |
| 494 | #define bfin_write_CAN1_MB15_LENGTH(val) bfin_write16(CAN1_MB15_LENGTH, val) |
| 495 | #define bfin_read_CAN1_MB15_TIMESTAMP() bfin_read16(CAN1_MB15_TIMESTAMP) |
| 496 | #define bfin_write_CAN1_MB15_TIMESTAMP(val) bfin_write16(CAN1_MB15_TIMESTAMP, val) |
| 497 | #define bfin_read_CAN1_MB15_ID0() bfin_read16(CAN1_MB15_ID0) |
| 498 | #define bfin_write_CAN1_MB15_ID0(val) bfin_write16(CAN1_MB15_ID0, val) |
| 499 | #define bfin_read_CAN1_MB15_ID1() bfin_read16(CAN1_MB15_ID1) |
| 500 | #define bfin_write_CAN1_MB15_ID1(val) bfin_write16(CAN1_MB15_ID1, val) |
| 501 | |
| 502 | /* CAN Controller 1 Mailbox Data Registers */ |
| 503 | |
| 504 | #define bfin_read_CAN1_MB16_DATA0() bfin_read16(CAN1_MB16_DATA0) |
| 505 | #define bfin_write_CAN1_MB16_DATA0(val) bfin_write16(CAN1_MB16_DATA0, val) |
| 506 | #define bfin_read_CAN1_MB16_DATA1() bfin_read16(CAN1_MB16_DATA1) |
| 507 | #define bfin_write_CAN1_MB16_DATA1(val) bfin_write16(CAN1_MB16_DATA1, val) |
| 508 | #define bfin_read_CAN1_MB16_DATA2() bfin_read16(CAN1_MB16_DATA2) |
| 509 | #define bfin_write_CAN1_MB16_DATA2(val) bfin_write16(CAN1_MB16_DATA2, val) |
| 510 | #define bfin_read_CAN1_MB16_DATA3() bfin_read16(CAN1_MB16_DATA3) |
| 511 | #define bfin_write_CAN1_MB16_DATA3(val) bfin_write16(CAN1_MB16_DATA3, val) |
| 512 | #define bfin_read_CAN1_MB16_LENGTH() bfin_read16(CAN1_MB16_LENGTH) |
| 513 | #define bfin_write_CAN1_MB16_LENGTH(val) bfin_write16(CAN1_MB16_LENGTH, val) |
| 514 | #define bfin_read_CAN1_MB16_TIMESTAMP() bfin_read16(CAN1_MB16_TIMESTAMP) |
| 515 | #define bfin_write_CAN1_MB16_TIMESTAMP(val) bfin_write16(CAN1_MB16_TIMESTAMP, val) |
| 516 | #define bfin_read_CAN1_MB16_ID0() bfin_read16(CAN1_MB16_ID0) |
| 517 | #define bfin_write_CAN1_MB16_ID0(val) bfin_write16(CAN1_MB16_ID0, val) |
| 518 | #define bfin_read_CAN1_MB16_ID1() bfin_read16(CAN1_MB16_ID1) |
| 519 | #define bfin_write_CAN1_MB16_ID1(val) bfin_write16(CAN1_MB16_ID1, val) |
| 520 | #define bfin_read_CAN1_MB17_DATA0() bfin_read16(CAN1_MB17_DATA0) |
| 521 | #define bfin_write_CAN1_MB17_DATA0(val) bfin_write16(CAN1_MB17_DATA0, val) |
| 522 | #define bfin_read_CAN1_MB17_DATA1() bfin_read16(CAN1_MB17_DATA1) |
| 523 | #define bfin_write_CAN1_MB17_DATA1(val) bfin_write16(CAN1_MB17_DATA1, val) |
| 524 | #define bfin_read_CAN1_MB17_DATA2() bfin_read16(CAN1_MB17_DATA2) |
| 525 | #define bfin_write_CAN1_MB17_DATA2(val) bfin_write16(CAN1_MB17_DATA2, val) |
| 526 | #define bfin_read_CAN1_MB17_DATA3() bfin_read16(CAN1_MB17_DATA3) |
| 527 | #define bfin_write_CAN1_MB17_DATA3(val) bfin_write16(CAN1_MB17_DATA3, val) |
| 528 | #define bfin_read_CAN1_MB17_LENGTH() bfin_read16(CAN1_MB17_LENGTH) |
| 529 | #define bfin_write_CAN1_MB17_LENGTH(val) bfin_write16(CAN1_MB17_LENGTH, val) |
| 530 | #define bfin_read_CAN1_MB17_TIMESTAMP() bfin_read16(CAN1_MB17_TIMESTAMP) |
| 531 | #define bfin_write_CAN1_MB17_TIMESTAMP(val) bfin_write16(CAN1_MB17_TIMESTAMP, val) |
| 532 | #define bfin_read_CAN1_MB17_ID0() bfin_read16(CAN1_MB17_ID0) |
| 533 | #define bfin_write_CAN1_MB17_ID0(val) bfin_write16(CAN1_MB17_ID0, val) |
| 534 | #define bfin_read_CAN1_MB17_ID1() bfin_read16(CAN1_MB17_ID1) |
| 535 | #define bfin_write_CAN1_MB17_ID1(val) bfin_write16(CAN1_MB17_ID1, val) |
| 536 | #define bfin_read_CAN1_MB18_DATA0() bfin_read16(CAN1_MB18_DATA0) |
| 537 | #define bfin_write_CAN1_MB18_DATA0(val) bfin_write16(CAN1_MB18_DATA0, val) |
| 538 | #define bfin_read_CAN1_MB18_DATA1() bfin_read16(CAN1_MB18_DATA1) |
| 539 | #define bfin_write_CAN1_MB18_DATA1(val) bfin_write16(CAN1_MB18_DATA1, val) |
| 540 | #define bfin_read_CAN1_MB18_DATA2() bfin_read16(CAN1_MB18_DATA2) |
| 541 | #define bfin_write_CAN1_MB18_DATA2(val) bfin_write16(CAN1_MB18_DATA2, val) |
| 542 | #define bfin_read_CAN1_MB18_DATA3() bfin_read16(CAN1_MB18_DATA3) |
| 543 | #define bfin_write_CAN1_MB18_DATA3(val) bfin_write16(CAN1_MB18_DATA3, val) |
| 544 | #define bfin_read_CAN1_MB18_LENGTH() bfin_read16(CAN1_MB18_LENGTH) |
| 545 | #define bfin_write_CAN1_MB18_LENGTH(val) bfin_write16(CAN1_MB18_LENGTH, val) |
| 546 | #define bfin_read_CAN1_MB18_TIMESTAMP() bfin_read16(CAN1_MB18_TIMESTAMP) |
| 547 | #define bfin_write_CAN1_MB18_TIMESTAMP(val) bfin_write16(CAN1_MB18_TIMESTAMP, val) |
| 548 | #define bfin_read_CAN1_MB18_ID0() bfin_read16(CAN1_MB18_ID0) |
| 549 | #define bfin_write_CAN1_MB18_ID0(val) bfin_write16(CAN1_MB18_ID0, val) |
| 550 | #define bfin_read_CAN1_MB18_ID1() bfin_read16(CAN1_MB18_ID1) |
| 551 | #define bfin_write_CAN1_MB18_ID1(val) bfin_write16(CAN1_MB18_ID1, val) |
| 552 | #define bfin_read_CAN1_MB19_DATA0() bfin_read16(CAN1_MB19_DATA0) |
| 553 | #define bfin_write_CAN1_MB19_DATA0(val) bfin_write16(CAN1_MB19_DATA0, val) |
| 554 | #define bfin_read_CAN1_MB19_DATA1() bfin_read16(CAN1_MB19_DATA1) |
| 555 | #define bfin_write_CAN1_MB19_DATA1(val) bfin_write16(CAN1_MB19_DATA1, val) |
| 556 | #define bfin_read_CAN1_MB19_DATA2() bfin_read16(CAN1_MB19_DATA2) |
| 557 | #define bfin_write_CAN1_MB19_DATA2(val) bfin_write16(CAN1_MB19_DATA2, val) |
| 558 | #define bfin_read_CAN1_MB19_DATA3() bfin_read16(CAN1_MB19_DATA3) |
| 559 | #define bfin_write_CAN1_MB19_DATA3(val) bfin_write16(CAN1_MB19_DATA3, val) |
| 560 | #define bfin_read_CAN1_MB19_LENGTH() bfin_read16(CAN1_MB19_LENGTH) |
| 561 | #define bfin_write_CAN1_MB19_LENGTH(val) bfin_write16(CAN1_MB19_LENGTH, val) |
| 562 | #define bfin_read_CAN1_MB19_TIMESTAMP() bfin_read16(CAN1_MB19_TIMESTAMP) |
| 563 | #define bfin_write_CAN1_MB19_TIMESTAMP(val) bfin_write16(CAN1_MB19_TIMESTAMP, val) |
| 564 | #define bfin_read_CAN1_MB19_ID0() bfin_read16(CAN1_MB19_ID0) |
| 565 | #define bfin_write_CAN1_MB19_ID0(val) bfin_write16(CAN1_MB19_ID0, val) |
| 566 | #define bfin_read_CAN1_MB19_ID1() bfin_read16(CAN1_MB19_ID1) |
| 567 | #define bfin_write_CAN1_MB19_ID1(val) bfin_write16(CAN1_MB19_ID1, val) |
| 568 | #define bfin_read_CAN1_MB20_DATA0() bfin_read16(CAN1_MB20_DATA0) |
| 569 | #define bfin_write_CAN1_MB20_DATA0(val) bfin_write16(CAN1_MB20_DATA0, val) |
| 570 | #define bfin_read_CAN1_MB20_DATA1() bfin_read16(CAN1_MB20_DATA1) |
| 571 | #define bfin_write_CAN1_MB20_DATA1(val) bfin_write16(CAN1_MB20_DATA1, val) |
| 572 | #define bfin_read_CAN1_MB20_DATA2() bfin_read16(CAN1_MB20_DATA2) |
| 573 | #define bfin_write_CAN1_MB20_DATA2(val) bfin_write16(CAN1_MB20_DATA2, val) |
| 574 | #define bfin_read_CAN1_MB20_DATA3() bfin_read16(CAN1_MB20_DATA3) |
| 575 | #define bfin_write_CAN1_MB20_DATA3(val) bfin_write16(CAN1_MB20_DATA3, val) |
| 576 | #define bfin_read_CAN1_MB20_LENGTH() bfin_read16(CAN1_MB20_LENGTH) |
| 577 | #define bfin_write_CAN1_MB20_LENGTH(val) bfin_write16(CAN1_MB20_LENGTH, val) |
| 578 | #define bfin_read_CAN1_MB20_TIMESTAMP() bfin_read16(CAN1_MB20_TIMESTAMP) |
| 579 | #define bfin_write_CAN1_MB20_TIMESTAMP(val) bfin_write16(CAN1_MB20_TIMESTAMP, val) |
| 580 | #define bfin_read_CAN1_MB20_ID0() bfin_read16(CAN1_MB20_ID0) |
| 581 | #define bfin_write_CAN1_MB20_ID0(val) bfin_write16(CAN1_MB20_ID0, val) |
| 582 | #define bfin_read_CAN1_MB20_ID1() bfin_read16(CAN1_MB20_ID1) |
| 583 | #define bfin_write_CAN1_MB20_ID1(val) bfin_write16(CAN1_MB20_ID1, val) |
| 584 | #define bfin_read_CAN1_MB21_DATA0() bfin_read16(CAN1_MB21_DATA0) |
| 585 | #define bfin_write_CAN1_MB21_DATA0(val) bfin_write16(CAN1_MB21_DATA0, val) |
| 586 | #define bfin_read_CAN1_MB21_DATA1() bfin_read16(CAN1_MB21_DATA1) |
| 587 | #define bfin_write_CAN1_MB21_DATA1(val) bfin_write16(CAN1_MB21_DATA1, val) |
| 588 | #define bfin_read_CAN1_MB21_DATA2() bfin_read16(CAN1_MB21_DATA2) |
| 589 | #define bfin_write_CAN1_MB21_DATA2(val) bfin_write16(CAN1_MB21_DATA2, val) |
| 590 | #define bfin_read_CAN1_MB21_DATA3() bfin_read16(CAN1_MB21_DATA3) |
| 591 | #define bfin_write_CAN1_MB21_DATA3(val) bfin_write16(CAN1_MB21_DATA3, val) |
| 592 | #define bfin_read_CAN1_MB21_LENGTH() bfin_read16(CAN1_MB21_LENGTH) |
| 593 | #define bfin_write_CAN1_MB21_LENGTH(val) bfin_write16(CAN1_MB21_LENGTH, val) |
| 594 | #define bfin_read_CAN1_MB21_TIMESTAMP() bfin_read16(CAN1_MB21_TIMESTAMP) |
| 595 | #define bfin_write_CAN1_MB21_TIMESTAMP(val) bfin_write16(CAN1_MB21_TIMESTAMP, val) |
| 596 | #define bfin_read_CAN1_MB21_ID0() bfin_read16(CAN1_MB21_ID0) |
| 597 | #define bfin_write_CAN1_MB21_ID0(val) bfin_write16(CAN1_MB21_ID0, val) |
| 598 | #define bfin_read_CAN1_MB21_ID1() bfin_read16(CAN1_MB21_ID1) |
| 599 | #define bfin_write_CAN1_MB21_ID1(val) bfin_write16(CAN1_MB21_ID1, val) |
| 600 | #define bfin_read_CAN1_MB22_DATA0() bfin_read16(CAN1_MB22_DATA0) |
| 601 | #define bfin_write_CAN1_MB22_DATA0(val) bfin_write16(CAN1_MB22_DATA0, val) |
| 602 | #define bfin_read_CAN1_MB22_DATA1() bfin_read16(CAN1_MB22_DATA1) |
| 603 | #define bfin_write_CAN1_MB22_DATA1(val) bfin_write16(CAN1_MB22_DATA1, val) |
| 604 | #define bfin_read_CAN1_MB22_DATA2() bfin_read16(CAN1_MB22_DATA2) |
| 605 | #define bfin_write_CAN1_MB22_DATA2(val) bfin_write16(CAN1_MB22_DATA2, val) |
| 606 | #define bfin_read_CAN1_MB22_DATA3() bfin_read16(CAN1_MB22_DATA3) |
| 607 | #define bfin_write_CAN1_MB22_DATA3(val) bfin_write16(CAN1_MB22_DATA3, val) |
| 608 | #define bfin_read_CAN1_MB22_LENGTH() bfin_read16(CAN1_MB22_LENGTH) |
| 609 | #define bfin_write_CAN1_MB22_LENGTH(val) bfin_write16(CAN1_MB22_LENGTH, val) |
| 610 | #define bfin_read_CAN1_MB22_TIMESTAMP() bfin_read16(CAN1_MB22_TIMESTAMP) |
| 611 | #define bfin_write_CAN1_MB22_TIMESTAMP(val) bfin_write16(CAN1_MB22_TIMESTAMP, val) |
| 612 | #define bfin_read_CAN1_MB22_ID0() bfin_read16(CAN1_MB22_ID0) |
| 613 | #define bfin_write_CAN1_MB22_ID0(val) bfin_write16(CAN1_MB22_ID0, val) |
| 614 | #define bfin_read_CAN1_MB22_ID1() bfin_read16(CAN1_MB22_ID1) |
| 615 | #define bfin_write_CAN1_MB22_ID1(val) bfin_write16(CAN1_MB22_ID1, val) |
| 616 | #define bfin_read_CAN1_MB23_DATA0() bfin_read16(CAN1_MB23_DATA0) |
| 617 | #define bfin_write_CAN1_MB23_DATA0(val) bfin_write16(CAN1_MB23_DATA0, val) |
| 618 | #define bfin_read_CAN1_MB23_DATA1() bfin_read16(CAN1_MB23_DATA1) |
| 619 | #define bfin_write_CAN1_MB23_DATA1(val) bfin_write16(CAN1_MB23_DATA1, val) |
| 620 | #define bfin_read_CAN1_MB23_DATA2() bfin_read16(CAN1_MB23_DATA2) |
| 621 | #define bfin_write_CAN1_MB23_DATA2(val) bfin_write16(CAN1_MB23_DATA2, val) |
| 622 | #define bfin_read_CAN1_MB23_DATA3() bfin_read16(CAN1_MB23_DATA3) |
| 623 | #define bfin_write_CAN1_MB23_DATA3(val) bfin_write16(CAN1_MB23_DATA3, val) |
| 624 | #define bfin_read_CAN1_MB23_LENGTH() bfin_read16(CAN1_MB23_LENGTH) |
| 625 | #define bfin_write_CAN1_MB23_LENGTH(val) bfin_write16(CAN1_MB23_LENGTH, val) |
| 626 | #define bfin_read_CAN1_MB23_TIMESTAMP() bfin_read16(CAN1_MB23_TIMESTAMP) |
| 627 | #define bfin_write_CAN1_MB23_TIMESTAMP(val) bfin_write16(CAN1_MB23_TIMESTAMP, val) |
| 628 | #define bfin_read_CAN1_MB23_ID0() bfin_read16(CAN1_MB23_ID0) |
| 629 | #define bfin_write_CAN1_MB23_ID0(val) bfin_write16(CAN1_MB23_ID0, val) |
| 630 | #define bfin_read_CAN1_MB23_ID1() bfin_read16(CAN1_MB23_ID1) |
| 631 | #define bfin_write_CAN1_MB23_ID1(val) bfin_write16(CAN1_MB23_ID1, val) |
| 632 | #define bfin_read_CAN1_MB24_DATA0() bfin_read16(CAN1_MB24_DATA0) |
| 633 | #define bfin_write_CAN1_MB24_DATA0(val) bfin_write16(CAN1_MB24_DATA0, val) |
| 634 | #define bfin_read_CAN1_MB24_DATA1() bfin_read16(CAN1_MB24_DATA1) |
| 635 | #define bfin_write_CAN1_MB24_DATA1(val) bfin_write16(CAN1_MB24_DATA1, val) |
| 636 | #define bfin_read_CAN1_MB24_DATA2() bfin_read16(CAN1_MB24_DATA2) |
| 637 | #define bfin_write_CAN1_MB24_DATA2(val) bfin_write16(CAN1_MB24_DATA2, val) |
| 638 | #define bfin_read_CAN1_MB24_DATA3() bfin_read16(CAN1_MB24_DATA3) |
| 639 | #define bfin_write_CAN1_MB24_DATA3(val) bfin_write16(CAN1_MB24_DATA3, val) |
| 640 | #define bfin_read_CAN1_MB24_LENGTH() bfin_read16(CAN1_MB24_LENGTH) |
| 641 | #define bfin_write_CAN1_MB24_LENGTH(val) bfin_write16(CAN1_MB24_LENGTH, val) |
| 642 | #define bfin_read_CAN1_MB24_TIMESTAMP() bfin_read16(CAN1_MB24_TIMESTAMP) |
| 643 | #define bfin_write_CAN1_MB24_TIMESTAMP(val) bfin_write16(CAN1_MB24_TIMESTAMP, val) |
| 644 | #define bfin_read_CAN1_MB24_ID0() bfin_read16(CAN1_MB24_ID0) |
| 645 | #define bfin_write_CAN1_MB24_ID0(val) bfin_write16(CAN1_MB24_ID0, val) |
| 646 | #define bfin_read_CAN1_MB24_ID1() bfin_read16(CAN1_MB24_ID1) |
| 647 | #define bfin_write_CAN1_MB24_ID1(val) bfin_write16(CAN1_MB24_ID1, val) |
| 648 | #define bfin_read_CAN1_MB25_DATA0() bfin_read16(CAN1_MB25_DATA0) |
| 649 | #define bfin_write_CAN1_MB25_DATA0(val) bfin_write16(CAN1_MB25_DATA0, val) |
| 650 | #define bfin_read_CAN1_MB25_DATA1() bfin_read16(CAN1_MB25_DATA1) |
| 651 | #define bfin_write_CAN1_MB25_DATA1(val) bfin_write16(CAN1_MB25_DATA1, val) |
| 652 | #define bfin_read_CAN1_MB25_DATA2() bfin_read16(CAN1_MB25_DATA2) |
| 653 | #define bfin_write_CAN1_MB25_DATA2(val) bfin_write16(CAN1_MB25_DATA2, val) |
| 654 | #define bfin_read_CAN1_MB25_DATA3() bfin_read16(CAN1_MB25_DATA3) |
| 655 | #define bfin_write_CAN1_MB25_DATA3(val) bfin_write16(CAN1_MB25_DATA3, val) |
| 656 | #define bfin_read_CAN1_MB25_LENGTH() bfin_read16(CAN1_MB25_LENGTH) |
| 657 | #define bfin_write_CAN1_MB25_LENGTH(val) bfin_write16(CAN1_MB25_LENGTH, val) |
| 658 | #define bfin_read_CAN1_MB25_TIMESTAMP() bfin_read16(CAN1_MB25_TIMESTAMP) |
| 659 | #define bfin_write_CAN1_MB25_TIMESTAMP(val) bfin_write16(CAN1_MB25_TIMESTAMP, val) |
| 660 | #define bfin_read_CAN1_MB25_ID0() bfin_read16(CAN1_MB25_ID0) |
| 661 | #define bfin_write_CAN1_MB25_ID0(val) bfin_write16(CAN1_MB25_ID0, val) |
| 662 | #define bfin_read_CAN1_MB25_ID1() bfin_read16(CAN1_MB25_ID1) |
| 663 | #define bfin_write_CAN1_MB25_ID1(val) bfin_write16(CAN1_MB25_ID1, val) |
| 664 | #define bfin_read_CAN1_MB26_DATA0() bfin_read16(CAN1_MB26_DATA0) |
| 665 | #define bfin_write_CAN1_MB26_DATA0(val) bfin_write16(CAN1_MB26_DATA0, val) |
| 666 | #define bfin_read_CAN1_MB26_DATA1() bfin_read16(CAN1_MB26_DATA1) |
| 667 | #define bfin_write_CAN1_MB26_DATA1(val) bfin_write16(CAN1_MB26_DATA1, val) |
| 668 | #define bfin_read_CAN1_MB26_DATA2() bfin_read16(CAN1_MB26_DATA2) |
| 669 | #define bfin_write_CAN1_MB26_DATA2(val) bfin_write16(CAN1_MB26_DATA2, val) |
| 670 | #define bfin_read_CAN1_MB26_DATA3() bfin_read16(CAN1_MB26_DATA3) |
| 671 | #define bfin_write_CAN1_MB26_DATA3(val) bfin_write16(CAN1_MB26_DATA3, val) |
| 672 | #define bfin_read_CAN1_MB26_LENGTH() bfin_read16(CAN1_MB26_LENGTH) |
| 673 | #define bfin_write_CAN1_MB26_LENGTH(val) bfin_write16(CAN1_MB26_LENGTH, val) |
| 674 | #define bfin_read_CAN1_MB26_TIMESTAMP() bfin_read16(CAN1_MB26_TIMESTAMP) |
| 675 | #define bfin_write_CAN1_MB26_TIMESTAMP(val) bfin_write16(CAN1_MB26_TIMESTAMP, val) |
| 676 | #define bfin_read_CAN1_MB26_ID0() bfin_read16(CAN1_MB26_ID0) |
| 677 | #define bfin_write_CAN1_MB26_ID0(val) bfin_write16(CAN1_MB26_ID0, val) |
| 678 | #define bfin_read_CAN1_MB26_ID1() bfin_read16(CAN1_MB26_ID1) |
| 679 | #define bfin_write_CAN1_MB26_ID1(val) bfin_write16(CAN1_MB26_ID1, val) |
| 680 | #define bfin_read_CAN1_MB27_DATA0() bfin_read16(CAN1_MB27_DATA0) |
| 681 | #define bfin_write_CAN1_MB27_DATA0(val) bfin_write16(CAN1_MB27_DATA0, val) |
| 682 | #define bfin_read_CAN1_MB27_DATA1() bfin_read16(CAN1_MB27_DATA1) |
| 683 | #define bfin_write_CAN1_MB27_DATA1(val) bfin_write16(CAN1_MB27_DATA1, val) |
| 684 | #define bfin_read_CAN1_MB27_DATA2() bfin_read16(CAN1_MB27_DATA2) |
| 685 | #define bfin_write_CAN1_MB27_DATA2(val) bfin_write16(CAN1_MB27_DATA2, val) |
| 686 | #define bfin_read_CAN1_MB27_DATA3() bfin_read16(CAN1_MB27_DATA3) |
| 687 | #define bfin_write_CAN1_MB27_DATA3(val) bfin_write16(CAN1_MB27_DATA3, val) |
| 688 | #define bfin_read_CAN1_MB27_LENGTH() bfin_read16(CAN1_MB27_LENGTH) |
| 689 | #define bfin_write_CAN1_MB27_LENGTH(val) bfin_write16(CAN1_MB27_LENGTH, val) |
| 690 | #define bfin_read_CAN1_MB27_TIMESTAMP() bfin_read16(CAN1_MB27_TIMESTAMP) |
| 691 | #define bfin_write_CAN1_MB27_TIMESTAMP(val) bfin_write16(CAN1_MB27_TIMESTAMP, val) |
| 692 | #define bfin_read_CAN1_MB27_ID0() bfin_read16(CAN1_MB27_ID0) |
| 693 | #define bfin_write_CAN1_MB27_ID0(val) bfin_write16(CAN1_MB27_ID0, val) |
| 694 | #define bfin_read_CAN1_MB27_ID1() bfin_read16(CAN1_MB27_ID1) |
| 695 | #define bfin_write_CAN1_MB27_ID1(val) bfin_write16(CAN1_MB27_ID1, val) |
| 696 | #define bfin_read_CAN1_MB28_DATA0() bfin_read16(CAN1_MB28_DATA0) |
| 697 | #define bfin_write_CAN1_MB28_DATA0(val) bfin_write16(CAN1_MB28_DATA0, val) |
| 698 | #define bfin_read_CAN1_MB28_DATA1() bfin_read16(CAN1_MB28_DATA1) |
| 699 | #define bfin_write_CAN1_MB28_DATA1(val) bfin_write16(CAN1_MB28_DATA1, val) |
| 700 | #define bfin_read_CAN1_MB28_DATA2() bfin_read16(CAN1_MB28_DATA2) |
| 701 | #define bfin_write_CAN1_MB28_DATA2(val) bfin_write16(CAN1_MB28_DATA2, val) |
| 702 | #define bfin_read_CAN1_MB28_DATA3() bfin_read16(CAN1_MB28_DATA3) |
| 703 | #define bfin_write_CAN1_MB28_DATA3(val) bfin_write16(CAN1_MB28_DATA3, val) |
| 704 | #define bfin_read_CAN1_MB28_LENGTH() bfin_read16(CAN1_MB28_LENGTH) |
| 705 | #define bfin_write_CAN1_MB28_LENGTH(val) bfin_write16(CAN1_MB28_LENGTH, val) |
| 706 | #define bfin_read_CAN1_MB28_TIMESTAMP() bfin_read16(CAN1_MB28_TIMESTAMP) |
| 707 | #define bfin_write_CAN1_MB28_TIMESTAMP(val) bfin_write16(CAN1_MB28_TIMESTAMP, val) |
| 708 | #define bfin_read_CAN1_MB28_ID0() bfin_read16(CAN1_MB28_ID0) |
| 709 | #define bfin_write_CAN1_MB28_ID0(val) bfin_write16(CAN1_MB28_ID0, val) |
| 710 | #define bfin_read_CAN1_MB28_ID1() bfin_read16(CAN1_MB28_ID1) |
| 711 | #define bfin_write_CAN1_MB28_ID1(val) bfin_write16(CAN1_MB28_ID1, val) |
| 712 | #define bfin_read_CAN1_MB29_DATA0() bfin_read16(CAN1_MB29_DATA0) |
| 713 | #define bfin_write_CAN1_MB29_DATA0(val) bfin_write16(CAN1_MB29_DATA0, val) |
| 714 | #define bfin_read_CAN1_MB29_DATA1() bfin_read16(CAN1_MB29_DATA1) |
| 715 | #define bfin_write_CAN1_MB29_DATA1(val) bfin_write16(CAN1_MB29_DATA1, val) |
| 716 | #define bfin_read_CAN1_MB29_DATA2() bfin_read16(CAN1_MB29_DATA2) |
| 717 | #define bfin_write_CAN1_MB29_DATA2(val) bfin_write16(CAN1_MB29_DATA2, val) |
| 718 | #define bfin_read_CAN1_MB29_DATA3() bfin_read16(CAN1_MB29_DATA3) |
| 719 | #define bfin_write_CAN1_MB29_DATA3(val) bfin_write16(CAN1_MB29_DATA3, val) |
| 720 | #define bfin_read_CAN1_MB29_LENGTH() bfin_read16(CAN1_MB29_LENGTH) |
| 721 | #define bfin_write_CAN1_MB29_LENGTH(val) bfin_write16(CAN1_MB29_LENGTH, val) |
| 722 | #define bfin_read_CAN1_MB29_TIMESTAMP() bfin_read16(CAN1_MB29_TIMESTAMP) |
| 723 | #define bfin_write_CAN1_MB29_TIMESTAMP(val) bfin_write16(CAN1_MB29_TIMESTAMP, val) |
| 724 | #define bfin_read_CAN1_MB29_ID0() bfin_read16(CAN1_MB29_ID0) |
| 725 | #define bfin_write_CAN1_MB29_ID0(val) bfin_write16(CAN1_MB29_ID0, val) |
| 726 | #define bfin_read_CAN1_MB29_ID1() bfin_read16(CAN1_MB29_ID1) |
| 727 | #define bfin_write_CAN1_MB29_ID1(val) bfin_write16(CAN1_MB29_ID1, val) |
| 728 | #define bfin_read_CAN1_MB30_DATA0() bfin_read16(CAN1_MB30_DATA0) |
| 729 | #define bfin_write_CAN1_MB30_DATA0(val) bfin_write16(CAN1_MB30_DATA0, val) |
| 730 | #define bfin_read_CAN1_MB30_DATA1() bfin_read16(CAN1_MB30_DATA1) |
| 731 | #define bfin_write_CAN1_MB30_DATA1(val) bfin_write16(CAN1_MB30_DATA1, val) |
| 732 | #define bfin_read_CAN1_MB30_DATA2() bfin_read16(CAN1_MB30_DATA2) |
| 733 | #define bfin_write_CAN1_MB30_DATA2(val) bfin_write16(CAN1_MB30_DATA2, val) |
| 734 | #define bfin_read_CAN1_MB30_DATA3() bfin_read16(CAN1_MB30_DATA3) |
| 735 | #define bfin_write_CAN1_MB30_DATA3(val) bfin_write16(CAN1_MB30_DATA3, val) |
| 736 | #define bfin_read_CAN1_MB30_LENGTH() bfin_read16(CAN1_MB30_LENGTH) |
| 737 | #define bfin_write_CAN1_MB30_LENGTH(val) bfin_write16(CAN1_MB30_LENGTH, val) |
| 738 | #define bfin_read_CAN1_MB30_TIMESTAMP() bfin_read16(CAN1_MB30_TIMESTAMP) |
| 739 | #define bfin_write_CAN1_MB30_TIMESTAMP(val) bfin_write16(CAN1_MB30_TIMESTAMP, val) |
| 740 | #define bfin_read_CAN1_MB30_ID0() bfin_read16(CAN1_MB30_ID0) |
| 741 | #define bfin_write_CAN1_MB30_ID0(val) bfin_write16(CAN1_MB30_ID0, val) |
| 742 | #define bfin_read_CAN1_MB30_ID1() bfin_read16(CAN1_MB30_ID1) |
| 743 | #define bfin_write_CAN1_MB30_ID1(val) bfin_write16(CAN1_MB30_ID1, val) |
| 744 | #define bfin_read_CAN1_MB31_DATA0() bfin_read16(CAN1_MB31_DATA0) |
| 745 | #define bfin_write_CAN1_MB31_DATA0(val) bfin_write16(CAN1_MB31_DATA0, val) |
| 746 | #define bfin_read_CAN1_MB31_DATA1() bfin_read16(CAN1_MB31_DATA1) |
| 747 | #define bfin_write_CAN1_MB31_DATA1(val) bfin_write16(CAN1_MB31_DATA1, val) |
| 748 | #define bfin_read_CAN1_MB31_DATA2() bfin_read16(CAN1_MB31_DATA2) |
| 749 | #define bfin_write_CAN1_MB31_DATA2(val) bfin_write16(CAN1_MB31_DATA2, val) |
| 750 | #define bfin_read_CAN1_MB31_DATA3() bfin_read16(CAN1_MB31_DATA3) |
| 751 | #define bfin_write_CAN1_MB31_DATA3(val) bfin_write16(CAN1_MB31_DATA3, val) |
| 752 | #define bfin_read_CAN1_MB31_LENGTH() bfin_read16(CAN1_MB31_LENGTH) |
| 753 | #define bfin_write_CAN1_MB31_LENGTH(val) bfin_write16(CAN1_MB31_LENGTH, val) |
| 754 | #define bfin_read_CAN1_MB31_TIMESTAMP() bfin_read16(CAN1_MB31_TIMESTAMP) |
| 755 | #define bfin_write_CAN1_MB31_TIMESTAMP(val) bfin_write16(CAN1_MB31_TIMESTAMP, val) |
| 756 | #define bfin_read_CAN1_MB31_ID0() bfin_read16(CAN1_MB31_ID0) |
| 757 | #define bfin_write_CAN1_MB31_ID0(val) bfin_write16(CAN1_MB31_ID0, val) |
| 758 | #define bfin_read_CAN1_MB31_ID1() bfin_read16(CAN1_MB31_ID1) |
| 759 | #define bfin_write_CAN1_MB31_ID1(val) bfin_write16(CAN1_MB31_ID1, val) |
| 760 | |
Bryan Wu | 19381f0 | 2007-05-21 18:09:31 +0800 | [diff] [blame] | 761 | #endif /* _CDEF_BF548_H */ |