Go to the documentation of this file.
44 #define MSCI0_OFFSET 0x20
45 #define MSCI1_OFFSET 0x40
82 #define TIMER0RX_OFFSET 0x60
83 #define TIMER0TX_OFFSET 0x68
84 #define TIMER1RX_OFFSET 0x70
85 #define TIMER1TX_OFFSET 0x78
102 #define DMAC0RX_OFFSET 0x80
103 #define DMAC0TX_OFFSET 0xA0
104 #define DMAC1RX_OFFSET 0xC0
105 #define DMAC1TX_OFFSET 0xE0
130 #define DSR_RX(node) (DSR + (node ? DMAC1RX_OFFSET : DMAC0RX_OFFSET))
131 #define DSR_TX(node) (DSR + (node ? DMAC1TX_OFFSET : DMAC0TX_OFFSET))
133 #define DMR_RX(node) (DMR + (node ? DMAC1RX_OFFSET : DMAC0RX_OFFSET))
134 #define DMR_TX(node) (DMR + (node ? DMAC1TX_OFFSET : DMAC0TX_OFFSET))
136 #define FCT_RX(node) (FCT + (node ? DMAC1RX_OFFSET : DMAC0RX_OFFSET))
137 #define FCT_TX(node) (FCT + (node ? DMAC1TX_OFFSET : DMAC0TX_OFFSET))
139 #define DIR_RX(node) (DIR + (node ? DMAC1RX_OFFSET : DMAC0RX_OFFSET))
140 #define DIR_TX(node) (DIR + (node ? DMAC1TX_OFFSET : DMAC0TX_OFFSET))
142 #define DCR_RX(node) (DCR + (node ? DMAC1RX_OFFSET : DMAC0RX_OFFSET))
143 #define DCR_TX(node) (DCR + (node ? DMAC1TX_OFFSET : DMAC0TX_OFFSET))
161 #define ST_TX_EOM 0x80
162 #define ST_TX_EOT 0x01
164 #define ST_RX_EOM 0x80
165 #define ST_RX_SHORT 0x40
166 #define ST_RX_ABORT 0x20
167 #define ST_RX_RESBIT 0x10
168 #define ST_RX_OVERRUN 0x08
169 #define ST_RX_CRC 0x04
171 #define ST_ERROR_MASK 0x7C
173 #define DIR_EOTE 0x80
174 #define DIR_EOME 0x40
175 #define DIR_BOFE 0x20
176 #define DIR_COFE 0x10
187 #define DMER_DME 0x80
190 #define CMD_RESET 0x21
191 #define CMD_TX_ENABLE 0x02
192 #define CMD_RX_ENABLE 0x12
194 #define MD0_HDLC 0x80
195 #define MD0_CRC_ENA 0x04
196 #define MD0_CRC_CCITT 0x02
197 #define MD0_CRC_PR1 0x01
199 #define MD0_CRC_NONE 0x00
200 #define MD0_CRC_16_0 0x04
201 #define MD0_CRC_16 0x05
202 #define MD0_CRC_ITU_0 0x06
203 #define MD0_CRC_ITU 0x07
206 #define MD2_NRZI 0x20
207 #define MD2_MANCHESTER 0x80
208 #define MD2_FM_MARK 0xA0
209 #define MD2_FM_SPACE 0xC0
210 #define MD2_LOOPBACK 0x03
212 #define CTL_NORTS 0x01
213 #define CTL_IDLE 0x10
214 #define CTL_UDRNC 0x20
216 #define ST0_TXRDY 0x02
217 #define ST0_RXRDY 0x01
219 #define ST1_UDRN 0x80
220 #define ST1_CDCD 0x04
225 #define IE0_TXINT 0x80
226 #define IE0_RXINTA 0x40
227 #define IE1_UDRN 0x80
228 #define IE1_CDCD 0x04
230 #define DCR_ABORT 0x01
231 #define DCR_CLEAR_EOF 0x02
234 #define CLK_BRG_MASK 0x0F
235 #define CLK_LINE_RX 0x00
236 #define CLK_LINE_TX 0x00
237 #define CLK_BRG_RX 0x40
238 #define CLK_BRG_TX 0x40
239 #define CLK_RXCLK_TX 0x60