MCAN_reg.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2023, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
32 /*!*****************************************************************************
33  * @file MCAN_reg.h
34  * @brief M_CAN controller v3.2.1 register definitions
35  *******************************************************************************
36  */
37 
38 #ifndef __MCAN_REG_H__
39 #define __MCAN_REG_H__
40 
41 //*****************************************************************************
42 //
43 // This section defines the register offsets for the MCAN controller
44 //
45 //*****************************************************************************
46 // MCAN Core Release Register
47 #define MCAN_CREL 0x00000000U
48 
49 // MCAN Endian Register
50 #define MCAN_ENDN 0x00000004U
51 
52 // MCAN Data Bit Timing and Prescaler Register
53 #define MCAN_DBTP 0x0000000CU
54 
55 // MCAN Test Register
56 #define MCAN_TEST 0x00000010U
57 
58 // MCAN RAM Watchdog
59 #define MCAN_RWD 0x00000014U
60 
61 // MCAN CC Control Register
62 #define MCAN_CCCR 0x00000018U
63 
64 // MCAN Nominal Bit Timing and Prescaler Register
65 #define MCAN_NBTP 0x0000001CU
66 
67 // MCAN Timestamp Counter Configuration
68 #define MCAN_TSCC 0x00000020U
69 
70 // MCAN Timestamp Counter Value
71 #define MCAN_TSCV 0x00000024U
72 
73 // MCAN Timeout Counter Configuration
74 #define MCAN_TOCC 0x00000028U
75 
76 // MCAN Timeout Counter Value
77 #define MCAN_TOCV 0x0000002CU
78 
79 // MCAN Error Counter Register
80 #define MCAN_ECR 0x00000040U
81 
82 // MCAN Protocol Status Register
83 #define MCAN_PSR 0x00000044U
84 
85 // MCAN Transmitter Delay Compensation Register
86 #define MCAN_TDCR 0x00000048U
87 
88 // MCAN Interrupt Register
89 #define MCAN_IR 0x00000050U
90 
91 // MCAN Interrupt Enable
92 #define MCAN_IE 0x00000054U
93 
94 // MCAN Interrupt Line Select
95 #define MCAN_ILS 0x00000058U
96 
97 // MCAN Interrupt Line Enable
98 #define MCAN_ILE 0x0000005CU
99 
100 // MCAN Global Filter Configuration
101 #define MCAN_GFC 0x00000080U
102 
103 // MCAN Standard ID Filter Configuration
104 #define MCAN_SIDFC 0x00000084U
105 
106 // MCAN Extended ID Filter Configuration
107 #define MCAN_XIDFC 0x00000088U
108 
109 // MCAN Extended ID and Mask
110 #define MCAN_XIDAM 0x00000090U
111 
112 // MCAN High Priority Message Status
113 #define MCAN_HPMS 0x00000094U
114 
115 // MCAN New Data 1
116 #define MCAN_NDAT1 0x00000098U
117 
118 // MCAN New Data 2
119 #define MCAN_NDAT2 0x0000009CU
120 
121 // MCAN Rx FIFO 0 Configuration
122 #define MCAN_RXF0C 0x000000A0U
123 
124 // MCAN Rx FIFO 0 Status
125 #define MCAN_RXF0S 0x000000A4U
126 
127 // MCAN Rx FIFO 0 Acknowledge
128 #define MCAN_RXF0A 0x000000A8U
129 
130 // MCAN Rx Buffer Configuration
131 #define MCAN_RXBC 0x000000ACU
132 
133 // MCAN Rx FIFO 1 Configuration
134 #define MCAN_RXF1C 0x000000B0U
135 
136 // MCAN Rx FIFO 1 Status
137 #define MCAN_RXF1S 0x000000B4U
138 
139 // MCAN Rx FIFO 1 Acknowledge
140 #define MCAN_RXF1A 0x000000B8U
141 
142 // MCAN Rx Buffer / FIFO Element Size Configuration
143 #define MCAN_RXESC 0x000000BCU
144 
145 // MCAN Tx Buffer Configuration
146 #define MCAN_TXBC 0x000000C0U
147 
148 // MCAN Tx FIFO / Queue Status
149 #define MCAN_TXFQS 0x000000C4U
150 
151 // MCAN Tx Buffer Element Size Configuration
152 #define MCAN_TXESC 0x000000C8U
153 
154 // MCAN Tx Buffer Request Pending
155 #define MCAN_TXBRP 0x000000CCU
156 
157 // MCAN Tx Buffer Add Request
158 #define MCAN_TXBAR 0x000000D0U
159 
160 // MCAN Tx Buffer Cancellation Request
161 #define MCAN_TXBCR 0x000000D4U
162 
163 // MCAN Tx Buffer Transmission Occurred
164 #define MCAN_TXBTO 0x000000D8U
165 
166 // MCAN Tx Buffer Cancellation Finished
167 #define MCAN_TXBCF 0x000000DCU
168 
169 // MCAN Tx Buffer Transmission Interrupt Enable
170 #define MCAN_TXBTIE 0x000000E0U
171 
172 // MCAN Tx Buffer Cancellation Finished Interrupt Enable
173 #define MCAN_TXBCIE 0x000000E4U
174 
175 // MCAN Tx Event FIFO Configuration
176 #define MCAN_TXEFC 0x000000F0U
177 
178 // MCAN Tx Event FIFO Status
179 #define MCAN_TXEFS 0x000000F4U
180 
181 // MCAN Tx Event FIFO Acknowledge
182 #define MCAN_TXEFA 0x000000F8U
183 
184 //*****************************************************************************
185 //
186 // Register: MCAN_CREL
187 //
188 //*****************************************************************************
189 // Field: [31:28] REL
190 //
191 // Core Release. One digit, BCD-coded.
192 #define MCAN_CREL_REL_WIDTH 4U
193 #define MCAN_CREL_REL_MASK 0xF0000000U
194 #define MCAN_CREL_REL_SHIFT 28U
195 
196 // Field: [27:24] STEP
197 //
198 // Step of Core Release. One digit, BCD-coded.
199 #define MCAN_CREL_STEP_WIDTH 4U
200 #define MCAN_CREL_STEP_MASK 0x0F000000U
201 #define MCAN_CREL_STEP_SHIFT 24U
202 
203 // Field: [23:20] SUBSTEP
204 //
205 // Sub-Step of Core Release. One digit, BCD-coded.
206 #define MCAN_CREL_SUBSTEP_WIDTH 4U
207 #define MCAN_CREL_SUBSTEP_MASK 0x00F00000U
208 #define MCAN_CREL_SUBSTEP_SHIFT 20U
209 
210 // Field: [19:16] YEAR
211 //
212 // Time Stamp Year. One digit, BCD-coded.
213 #define MCAN_CREL_YEAR_WIDTH 4U
214 #define MCAN_CREL_YEAR_MASK 0x000F0000U
215 #define MCAN_CREL_YEAR_SHIFT 16U
216 
217 // Field: [15:8] MON
218 //
219 // Time Stamp Month. Two digits, BCD-coded.
220 #define MCAN_CREL_MON_WIDTH 8U
221 #define MCAN_CREL_MON_MASK 0x0000FF00U
222 #define MCAN_CREL_MON_SHIFT 8U
223 
224 // Field: [7:0] DAY
225 //
226 // Time Stamp Day. Two digits, BCD-coded.
227 #define MCAN_CREL_DAY_WIDTH 8U
228 #define MCAN_CREL_DAY_MASK 0x000000FFU
229 #define MCAN_CREL_DAY_SHIFT 0U
230 
231 //*****************************************************************************
232 //
233 // Register: MCAN_ENDN
234 //
235 //*****************************************************************************
236 // Field: [31:0] ETV
237 //
238 // Endianess Test Value. Reading the constant value maintained in this register
239 // allows software to determine the endianess of the host CPU.
240 #define MCAN_ENDN_ETV_WIDTH 32U
241 #define MCAN_ENDN_ETV_MASK 0xFFFFFFFFU
242 #define MCAN_ENDN_ETV_SHIFT 0U
243 
244 #define MCAN_ENDN_ETV_VALUE 0x87654321U
245 
246 //*****************************************************************************
247 //
248 // Register: MCAN_DBTP
249 //
250 //*****************************************************************************
251 // Field: [23] TDC
252 //
253 // Transmitter Delay Compensation
254 // 0 Transmitter Delay Compensation disabled
255 // 1 Transmitter Delay Compensation enabled
256 //
257 // +I107
258 #define MCAN_DBTP_TDC 0x00800000U
259 #define MCAN_DBTP_TDC_MASK 0x00800000U
260 #define MCAN_DBTP_TDC_SHIFT 23U
261 
262 // Field: [20:16] DBRP
263 //
264 // Data Bit Rate Prescaler. The value by which the oscillator frequency is
265 // divided for generating the bit time quanta. The bit time is built up from a
266 // multiple of this quanta. Valid values for the Bit Rate Prescaler are 0 to
267 // 31. The actual interpretation by the hardware of this value is such that one
268 // more than the value programmed here is used.
269 //
270 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
271 #define MCAN_DBTP_DBRP_WIDTH 5U
272 #define MCAN_DBTP_DBRP_MASK 0x001F0000U
273 #define MCAN_DBTP_DBRP_SHIFT 16U
274 
275 // Field: [12:8] DTSEG1
276 //
277 // Data Time Segment Before Sample Point. Valid values are 0 to 31. The actual
278 // interpretation by the hardware of this value is such that one more than the
279 // programmed value is used.
280 //
281 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
282 #define MCAN_DBTP_DTSEG1_WIDTH 5U
283 #define MCAN_DBTP_DTSEG1_MASK 0x00001F00U
284 #define MCAN_DBTP_DTSEG1_SHIFT 8U
285 
286 // Field: [7:4] DTSEG2
287 //
288 // Data Time Segment After Sample Point. Valid values are 0 to 15. The actual
289 // interpretation by the hardware of this value is such that one more than the
290 // programmed value is used.
291 //
292 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
293 #define MCAN_DBTP_DTSEG2_WIDTH 4U
294 #define MCAN_DBTP_DTSEG2_MASK 0x000000F0U
295 #define MCAN_DBTP_DTSEG2_SHIFT 4U
296 
297 // Field: [3:0] DSJW
298 //
299 // Data Resynchronization Jump Width. Valid values are 0 to 15. The actual
300 // interpretation by the hardware of this value is such that one more than the
301 // value programmed here is used.
302 //
303 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
304 #define MCAN_DBTP_DSJW_WIDTH 4U
305 #define MCAN_DBTP_DSJW_MASK 0x0000000FU
306 #define MCAN_DBTP_DSJW_SHIFT 0U
307 
308 //*****************************************************************************
309 //
310 // Register: MCAN_TEST
311 //
312 //*****************************************************************************
313 // Field: [7] RX
314 //
315 // Receive Pin. Monitors the actual value of the CAN receive pin.
316 // 0 The CAN bus is dominant (CAN RX pin = '0')
317 // 1 The CAN bus is recessive (CAN RX pin = '1')
318 #define MCAN_TEST_RX 0x00000080U
319 #define MCAN_TEST_RX_MASK 0x00000080U
320 #define MCAN_TEST_RX_SHIFT 7U
321 
322 // Field: [6:5] TX
323 //
324 // Control of Transmit Pin
325 // 00 CAN TX pin controlled by the CAN Core, updated at the end of the CAN
326 // bit time
327 // 01 Sample Point can be monitored at CAN TX pin
328 // 10 Dominant ('0') level at CAN TX pin
329 // 11 Recessive ('1') at CAN TX pin
330 //
331 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
332 #define MCAN_TEST_TX_WIDTH 2U
333 #define MCAN_TEST_TX_MASK 0x00000060U
334 #define MCAN_TEST_TX_SHIFT 5U
335 
336 // Field: [4] LBCK
337 //
338 // Loop Back Mode
339 // 0 Reset value, Loop Back Mode is disabled
340 // 1 Loop Back Mode is enabled
341 //
342 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
343 #define MCAN_TEST_LBCK 0x00000010U
344 #define MCAN_TEST_LBCK_MASK 0x00000010U
345 #define MCAN_TEST_LBCK_SHIFT 4U
346 
347 //*****************************************************************************
348 //
349 // Register: MCAN_RWD
350 //
351 //*****************************************************************************
352 // Field: [15:8] WDV
353 //
354 // Watchdog Value. Acutal Message RAM Watchdog Counter Value.
355 //
356 // The RAM Watchdog monitors the READY output of the Message RAM. A Message RAM
357 // access via the MCAN's Generic Master Interface starts the Message RAM
358 // Watchdog Counter with the value configured by the WDC field. The counter is
359 // reloaded with WDC when the Message RAM signals successful completion by
360 // activating its READY output. In case there is no response from the Message
361 // RAM until the counter has counted down to zero, the counter stops and
362 // interrupt flag MCAN_IR.WDI is set. The RAM Watchdog Counter is clocked by
363 // the host (system) clock.
364 #define MCAN_RWD_WDV_WIDTH 8U
365 #define MCAN_RWD_WDV_MASK 0x0000FF00U
366 #define MCAN_RWD_WDV_SHIFT 8U
367 
368 // Field: [7:0] WDC
369 //
370 // Watchdog Configuration. Start value of the Message RAM Watchdog Counter.
371 // With the reset value of "00" the counter is disabled.
372 //
373 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
374 #define MCAN_RWD_WDC_WIDTH 8U
375 #define MCAN_RWD_WDC_MASK 0x000000FFU
376 #define MCAN_RWD_WDC_SHIFT 0U
377 
378 //*****************************************************************************
379 //
380 // Register: MCAN_CCCR
381 //
382 //*****************************************************************************
383 // Field: [15] NISO
384 //
385 // Non ISO Operation. If this bit is set, the MCAN uses the CAN FD frame format
386 // as specified by the Bosch CAN FD Specification V1.0.
387 // 0 CAN FD frame format according to ISO 11898-1:2015
388 // 1 CAN FD frame format according to Bosch CAN FD Specification V1.0
389 #define MCAN_CCCR_NISO 0x00008000U
390 #define MCAN_CCCR_NISO_MASK 0x00008000U
391 #define MCAN_CCCR_NISO_SHIFT 15U
392 
393 // Field: [14] TXP
394 //
395 // Transmit Pause. If this bit is set, the MCAN pauses for two CAN bit times
396 // before starting the next transmission after itself has successfully
397 // transmitted a frame.
398 // 0 Transmit pause disabled
399 // 1 Transmit pause enabled
400 //
401 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
402 #define MCAN_CCCR_TXP 0x00004000U
403 #define MCAN_CCCR_TXP_MASK 0x00004000U
404 #define MCAN_CCCR_TXP_SHIFT 14U
405 
406 // Field: [13] EFBI
407 //
408 // Edge Filtering during Bus Integration
409 // 0 Edge filtering disabled
410 // 1 Two consecutive dominant tq required to detect an edge for hard
411 // synchronization
412 //
413 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
414 #define MCAN_CCCR_EFBI 0x00002000U
415 #define MCAN_CCCR_EFBI_MASK 0x00002000U
416 #define MCAN_CCCR_EFBI_SHIFT 13U
417 
418 // Field: [12] PXHD
419 //
420 // Protocol Exception Handling Disable
421 // 0 Protocol exception handling enabled
422 // 1 Protocol exception handling disabled
423 // Note: When protocol exception handling is disabled, the MCAN will transmit
424 // an error frame when it detects a protocol exception condition.
425 //
426 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
427 #define MCAN_CCCR_PXHD 0x00001000U
428 #define MCAN_CCCR_PXHD_MASK 0x00001000U
429 #define MCAN_CCCR_PXHD_SHIFT 12U
430 
431 // Field: [9] BRSE
432 //
433 // Bit Rate Switch Enable
434 // 0 Bit rate switching for transmissions disabled
435 // 1 Bit rate switching for transmissions enabled
436 // Note: When CAN FD operation is disabled FDOE = '0', BRSE is not evaluated.
437 //
438 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
439 #define MCAN_CCCR_BRSE 0x00000200U
440 #define MCAN_CCCR_BRSE_MASK 0x00000200U
441 #define MCAN_CCCR_BRSE_SHIFT 9U
442 
443 // Field: [8] FDOE
444 //
445 // Flexible Datarate Operation Enable
446 // 0 FD operation disabled
447 // 1 FD operation enabled
448 //
449 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
450 #define MCAN_CCCR_FDOE 0x00000100U
451 #define MCAN_CCCR_FDOE_MASK 0x00000100U
452 #define MCAN_CCCR_FDOE_SHIFT 8U
453 
454 // Field: [7] TEST
455 //
456 // Test Mode Enable
457 // 0 Normal operation, register TEST holds reset values
458 // 1 Test Mode, write access to register TEST enabled
459 //
460 // Qualified Write 1 to Set is possible only with CCCR.CCE='1' and
461 // CCCR.INIT='1'.
462 #define MCAN_CCCR_TEST 0x00000080U
463 #define MCAN_CCCR_TEST_MASK 0x00000080U
464 #define MCAN_CCCR_TEST_SHIFT 7U
465 
466 // Field: [6] DAR
467 //
468 // Disable Automatic Retransmission
469 // 0 Automatic retransmission of messages not transmitted successfully
470 // enabled
471 // 1 Automatic retransmission disabled
472 //
473 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
474 #define MCAN_CCCR_DAR 0x00000040U
475 #define MCAN_CCCR_DAR_MASK 0x00000040U
476 #define MCAN_CCCR_DAR_SHIFT 6U
477 
478 // Field: [5] MON
479 //
480 // Bus Monitoring Mode. Bit MON can only be set by SW when both CCE and INIT
481 // are set to '1'. The bit can be reset by SW at any time.
482 // 0 Bus Monitoring Mode is disabled
483 // 1 Bus Monitoring Mode is enabled
484 //
485 // Qualified Write 1 to Set is possible only with CCCR.CCE='1' and
486 // CCCR.INIT='1'.
487 #define MCAN_CCCR_MON 0x00000020U
488 #define MCAN_CCCR_MON_MASK 0x00000020U
489 #define MCAN_CCCR_MON_SHIFT 5U
490 
491 // Field: [4] CSR
492 //
493 // Clock Stop Request
494 // 0 No clock stop is requested
495 // 1 Clock stop requested. When clock stop is requested, first INIT and then
496 // CSA will be set after all pending transfer requests have been completed and
497 // the CAN bus reached idle.
498 #define MCAN_CCCR_CSR 0x00000010U
499 #define MCAN_CCCR_CSR_MASK 0x00000010U
500 #define MCAN_CCCR_CSR_SHIFT 4U
501 
502 // Field: [3] CSA
503 //
504 // Clock Stop Acknowledge
505 // 0 No clock stop acknowledged
506 // 1 MCAN may be set in power down by stopping the Host and CAN clocks
507 #define MCAN_CCCR_CSA 0x00000008U
508 #define MCAN_CCCR_CSA_MASK 0x00000008U
509 #define MCAN_CCCR_CSA_SHIFT 3U
510 
511 // Field: [2] ASM
512 //
513 // Restricted Operation Mode. Bit ASM can only be set by SW when both CCE and
514 // INIT are set to '1'. The bit can be reset by SW at any time.
515 // 0 Normal CAN operation
516 // 1 Restricted Operation Mode active
517 //
518 // Qualified Write 1 to Set is possible only with CCCR.CCE='1' and
519 // CCCR.INIT='1'.
520 #define MCAN_CCCR_ASM 0x00000004U
521 #define MCAN_CCCR_ASM_MASK 0x00000004U
522 #define MCAN_CCCR_ASM_SHIFT 2U
523 
524 // Field: [1] CCE
525 //
526 // Configuration Change Enable
527 // 0 The CPU has no write access to the protected configuration registers
528 // 1 The CPU has write access to the protected configuration registers
529 // (while CCCR.INIT = '1')
530 //
531 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
532 #define MCAN_CCCR_CCE 0x00000002U
533 #define MCAN_CCCR_CCE_MASK 0x00000002U
534 #define MCAN_CCCR_CCE_SHIFT 1U
535 
536 // Field: [0] INIT
537 //
538 // Initialization
539 // 0 Normal Operation
540 // 1 Initialization is started
541 // Note: Due to the synchronization mechanism between the two clock domains,
542 // there may be a delay until the value written to INIT can be read back.
543 // Therefore the programmer has to assure that the previous value written to
544 // INIT has been accepted by reading INIT before setting INIT to a new value.
545 #define MCAN_CCCR_INIT 0x00000001U
546 #define MCAN_CCCR_INIT_MASK 0x00000001U
547 #define MCAN_CCCR_INIT_SHIFT 0U
548 
549 //*****************************************************************************
550 //
551 // Register: MCAN_NBTP
552 //
553 //*****************************************************************************
554 // Field: [31:25] NSJW
555 //
556 // Nominal (Re)Synchronization Jump Width. Valid values are 0 to 127. The
557 // actual interpretation by the hardware of this value is such that one more
558 // than the value programmed here is used.
559 //
560 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
561 #define MCAN_NBTP_NSJW_WIDTH 7U
562 #define MCAN_NBTP_NSJW_MASK 0xFE000000U
563 #define MCAN_NBTP_NSJW_SHIFT 25U
564 
565 // Field: [24:16] NBRP
566 //
567 // Nominal Bit Rate Prescaler. The value by which the oscillator frequency is
568 // divided for generating the bit time quanta. The bit time is built up from a
569 // multiple of this quanta. Valid values for the Bit Rate Prescaler are 0 to
570 // 511. The actual interpretation by the hardware of this value is such that
571 // one more than the value programmed here is used.
572 //
573 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
574 #define MCAN_NBTP_NBRP_WIDTH 9U
575 #define MCAN_NBTP_NBRP_MASK 0x01FF0000U
576 #define MCAN_NBTP_NBRP_SHIFT 16U
577 
578 // Field: [15:8] NTSEG1
579 //
580 // Nominal Time Segment Before Sample Point. Valid values are 1 to 255. The
581 // actual interpretation by the hardware of this value is such that one more
582 // than the programmed value is used.
583 //
584 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
585 #define MCAN_NBTP_NTSEG1_WIDTH 8U
586 #define MCAN_NBTP_NTSEG1_MASK 0x0000FF00U
587 #define MCAN_NBTP_NTSEG1_SHIFT 8U
588 
589 // Field: [6:0] NTSEG2
590 //
591 // Nominal Time Segment After Sample Point. Valid values are 1 to 127. The
592 // actual interpretation by the hardware of this value is such that one more
593 // than the programmed value is used.
594 //
595 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
596 #define MCAN_NBTP_NTSEG2_WIDTH 7U
597 #define MCAN_NBTP_NTSEG2_MASK 0x0000007FU
598 #define MCAN_NBTP_NTSEG2_SHIFT 0U
599 
600 //*****************************************************************************
601 //
602 // Register: MCAN_TSCC
603 //
604 //*****************************************************************************
605 // Field: [19:16] TCP
606 //
607 // Timestamp Counter Prescaler. Configures the timestamp and timeout counters
608 // time unit in multiples of CAN bit times. Valid values are 0 to 15. The
609 // actual interpretation by the hardware of this value is such that one more
610 // than the value programmed here is used.
611 //
612 // Note: With CAN FD an external counter is required for timestamp generation
613 // (TSS = "10").
614 //
615 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
616 #define MCAN_TSCC_TCP_WIDTH 4U
617 #define MCAN_TSCC_TCP_MASK 0x000F0000U
618 #define MCAN_TSCC_TCP_SHIFT 16U
619 
620 // Field: [1:0] TSS
621 //
622 // Timestamp Select
623 // 00 Timestamp counter value always 0x0000
624 // 01 Timestamp counter value incremented according to TCP
625 // 10 External timestamp counter value used
626 // 11 Same as "00"
627 //
628 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
629 #define MCAN_TSCC_TSS_WIDTH 2U
630 #define MCAN_TSCC_TSS_MASK 0x00000003U
631 #define MCAN_TSCC_TSS_SHIFT 0U
632 
633 //*****************************************************************************
634 //
635 // Register: MCAN_TSCV
636 //
637 //*****************************************************************************
638 // Field: [15:0] TSC
639 //
640 // Timestamp Counter. The internal/external Timestamp Counter value is captured
641 // on start of frame (both Rx and Tx). When TSCC.TSS = "01", the Timestamp
642 // Counter is incremented in multiples of CAN bit times, (1...16), depending on
643 // the configuration of TSCC.TCP. A wrap around sets interrupt flag IR.TSW.
644 // Write access resets the counter to zero. When TSCC.TSS = "10", TSC reflects
645 // the External Timestamp Counter value, and a write access has no impact.
646 //
647 // Note: A "wrap around" is a change of the Timestamp Counter value from
648 // non-zero to zero not
649 // caused by write access to MCAN_TSCV.
650 #define MCAN_TSCV_TSC_WIDTH 16U
651 #define MCAN_TSCV_TSC_MASK 0x0000FFFFU
652 #define MCAN_TSCV_TSC_SHIFT 0U
653 
654 //*****************************************************************************
655 //
656 // Register: MCAN_TOCC
657 //
658 //*****************************************************************************
659 // Field: [31:16] TOP
660 //
661 // Timeout Period. Start value of the Timeout Counter (down-counter).
662 // Configures the Timeout Period.
663 //
664 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
665 #define MCAN_TOCC_TOP_WIDTH 16U
666 #define MCAN_TOCC_TOP_MASK 0xFFFF0000U
667 #define MCAN_TOCC_TOP_SHIFT 16U
668 
669 // Field: [2:1] TOS
670 //
671 // Timeout Select. When operating in Continuous mode, a write to TOCV presets
672 // the counter to the value configured by TOCC.TOP and continues down-counting.
673 // When the Timeout Counter is controlled by one of the FIFOs, an empty FIFO
674 // presets the counter to the value configured by TOCC.TOP. Down-counting is
675 // started when the first FIFO element is stored.
676 // 00 Continuous operation
677 // 01 Timeout controlled by Tx Event FIFO
678 // 10 Timeout controlled by Rx FIFO 0
679 // 11 Timeout controlled by Rx FIFO 1
680 //
681 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
682 #define MCAN_TOCC_TOS_WIDTH 2U
683 #define MCAN_TOCC_TOS_MASK 0x00000006U
684 #define MCAN_TOCC_TOS_SHIFT 1U
685 
686 // Field: [0] ETOC
687 //
688 // Enable Timeout Counter
689 // 0 Timeout Counter disabled
690 // 1 Timeout Counter enabled
691 //
692 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
693 #define MCAN_TOCC_ETOC 0x00000001U
694 #define MCAN_TOCC_ETOC_MASK 0x00000001U
695 #define MCAN_TOCC_ETOC_SHIFT 0U
696 
697 //*****************************************************************************
698 //
699 // Register: MCAN_TOCV
700 //
701 //*****************************************************************************
702 // Field: [15:0] TOC
703 //
704 // Timeout Counter. The Timeout Counter is decremented in multiples of CAN bit
705 // times, (1...16), depending on the configuration of TSCC.TCP. When
706 // decremented to zero, interrupt flag IR.TOO is set and the Timeout Counter is
707 // stopped. Start and reset/restart conditions are configured via TOCC.TOS.
708 #define MCAN_TOCV_TOC_WIDTH 16U
709 #define MCAN_TOCV_TOC_MASK 0x0000FFFFU
710 #define MCAN_TOCV_TOC_SHIFT 0U
711 
712 //*****************************************************************************
713 //
714 // Register: MCAN_ECR
715 //
716 //*****************************************************************************
717 // Field: [23:16] CEL
718 //
719 // CAN Error Logging. The counter is incremented each time when a CAN protocol
720 // error causes the Transmit Error Counter or the Receive Error Counter to be
721 // incremented. It is reset by read access to CEL. The counter stops at 0xFF;
722 // the next increment of TEC or REC sets interrupt flag IR.ELO.
723 //
724 // Note: When CCCR.ASM is set, the CAN protocol controller does not increment
725 // TEC and REC when a CAN protocol error is detected, but CEL is still
726 // incremented.
727 #define MCAN_ECR_CEL_WIDTH 8U
728 #define MCAN_ECR_CEL_MASK 0x00FF0000U
729 #define MCAN_ECR_CEL_SHIFT 16U
730 
731 // Field: [15] RP
732 //
733 // Receive Error Passive
734 // 0 The Receive Error Counter is below the error passive level of 128
735 // 1 The Receive Error Counter has reached the error passive level of 128
736 #define MCAN_ECR_RP 0x00008000U
737 #define MCAN_ECR_RP_MASK 0x00008000U
738 #define MCAN_ECR_RP_SHIFT 15U
739 
740 // Field: [14:8] REC
741 //
742 // Receive Error Counter. Actual state of the Receive Error Counter, values
743 // between 0 and 127.
744 //
745 // Note: When CCCR.ASM is set, the CAN protocol controller does not increment
746 // TEC and REC when a CAN protocol error is detected, but CEL is still
747 // incremented.
748 #define MCAN_ECR_REC_WIDTH 7U
749 #define MCAN_ECR_REC_MASK 0x00007F00U
750 #define MCAN_ECR_REC_SHIFT 8U
751 
752 // Field: [7:0] TEC
753 //
754 // Transmit Error Counter. Actual state of the Transmit Error Counter, values
755 // between 0 and 255.
756 //
757 // Note: When CCCR.ASM is set, the CAN protocol controller does not increment
758 // TEC and REC when a CAN protocol error is detected, but CEL is still
759 // incremented.
760 #define MCAN_ECR_TEC_WIDTH 8U
761 #define MCAN_ECR_TEC_MASK 0x000000FFU
762 #define MCAN_ECR_TEC_SHIFT 0U
763 
764 //*****************************************************************************
765 //
766 // Register: MCAN_PSR
767 //
768 //*****************************************************************************
769 // Field: [22:16] TDCV
770 //
771 // Transmitter Delay Compensation Value. Position of the secondary sample
772 // point, defined by the sum of the measured delay from the internal CAN TX
773 // signal to the internal CAN RX signal and TDCR.TDCO. The SSP position is, in
774 // the data phase, the number of mtq between the start of the transmitted bit
775 // and the secondary sample point. Valid values are 0 to 127 mtq.
776 #define MCAN_PSR_TDCV_WIDTH 7U
777 #define MCAN_PSR_TDCV_MASK 0x007F0000U
778 #define MCAN_PSR_TDCV_SHIFT 16U
779 
780 // Field: [14] PXE
781 //
782 // Protocol Exception Event
783 // 0 No protocol exception event occurred since last read access
784 // 1 Protocol exception event occurred
785 #define MCAN_PSR_PXE 0x00004000U
786 #define MCAN_PSR_PXE_MASK 0x00004000U
787 #define MCAN_PSR_PXE_SHIFT 14U
788 
789 // Field: [13] RFDF
790 //
791 // Received a CAN FD Message. This bit is set independent of acceptance
792 // filtering.
793 // 0 Since this bit was reset by the CPU, no CAN FD message has been
794 // received
795 // 1 Message in CAN FD format with FDF flag set has been received
796 #define MCAN_PSR_RFDF 0x00002000U
797 #define MCAN_PSR_RFDF_MASK 0x00002000U
798 #define MCAN_PSR_RFDF_SHIFT 13U
799 
800 // Field: [12] RBRS
801 //
802 // BRS Flag of Last Received CAN FD Message. This bit is set together with
803 // RFDF, independent of acceptance filtering.
804 // 0 Last received CAN FD message did not have its BRS flag set
805 // 1 Last received CAN FD message had its BRS flag set
806 #define MCAN_PSR_RBRS 0x00001000U
807 #define MCAN_PSR_RBRS_MASK 0x00001000U
808 #define MCAN_PSR_RBRS_SHIFT 12U
809 
810 // Field: [11] RESI
811 //
812 // ESI Flag of Last Received CAN FD Message. This bit is set together with
813 // RFDF, independent of acceptance filtering.
814 // 0 Last received CAN FD message did not have its ESI flag set
815 // 1 Last received CAN FD message had its ESI flag set
816 #define MCAN_PSR_RESI 0x00000800U
817 #define MCAN_PSR_RESI_MASK 0x00000800U
818 #define MCAN_PSR_RESI_SHIFT 11U
819 
820 // Field: [10:8] DLEC
821 //
822 // Data Phase Last Error Code. Type of last error that occurred in the data
823 // phase of a CAN FD format frame with its BRS flag set. Coding is the same as
824 // for LEC. This field will be cleared to zero when a CAN FD format frame with
825 // its BRS flag set has been transferred (reception or transmission) without
826 // error.
827 #define MCAN_PSR_DLEC_WIDTH 3U
828 #define MCAN_PSR_DLEC_MASK 0x00000700U
829 #define MCAN_PSR_DLEC_SHIFT 8U
830 
831 // Field: [7] BO
832 //
833 // Bus_Off Status
834 // 0 The M_CAN is not Bus_Off
835 // 1 The M_CAN is in Bus_Off state
836 #define MCAN_PSR_BO 0x00000080U
837 #define MCAN_PSR_BO_MASK 0x00000080U
838 #define MCAN_PSR_BO_SHIFT 7U
839 
840 // Field: [6] EW
841 //
842 // Warning Status
843 // 0 Both error counters are below the Error_Warning limit of 96
844 // 1 At least one of error counter has reached the Error_Warning limit of 96
845 #define MCAN_PSR_EW 0x00000040U
846 #define MCAN_PSR_EW_MASK 0x00000040U
847 #define MCAN_PSR_EW_SHIFT 6U
848 
849 // Field: [5] EP
850 //
851 // Error Passive
852 // 0 The M_CAN is in the Error_Active state. It normally takes part in bus
853 // communication and sends an active error flag when an error has been detected
854 // 1 The M_CAN is in the Error_Passive state
855 #define MCAN_PSR_EP 0x00000020U
856 #define MCAN_PSR_EP_MASK 0x00000020U
857 #define MCAN_PSR_EP_SHIFT 5U
858 
859 // Field: [4:3] ACT
860 //
861 // Node Activity. Monitors the module's CAN communication state.
862 // 00 Synchronizing - node is synchronizing on CAN communication
863 // 01 Idle - node is neither receiver nor transmitter
864 // 10 Receiver - node is operating as receiver
865 // 11 Transmitter - node is operating as transmitter
866 //
867 // Note: ACT is set to "00" by a Protocol Exception Event.
868 #define MCAN_PSR_ACT_WIDTH 2U
869 #define MCAN_PSR_ACT_MASK 0x00000018U
870 #define MCAN_PSR_ACT_SHIFT 3U
871 
872 // Field: [2:0] LEC
873 //
874 // Last Error Code. The LEC indicates the type of the last error to occur on
875 // the CAN bus. This field will be cleared to '0' when a message has been
876 // transferred (reception or transmission) without error.
877 // 0 No Error: No error occurred since LEC has been reset by successful
878 // reception or transmission.
879 // 1 Stuff Error: More than 5 equal bits in a sequence have occurred in a
880 // part of a received message where this is not allowed.
881 // 2 Form Error: A fixed format part of a received frame has the wrong
882 // format.
883 // 3 AckError: The message transmitted by the MCAN was not acknowledged by
884 // another node.
885 // 4 Bit1Error: During the transmission of a message (with the exception of
886 // the arbitration field), the device wanted to send a recessive level (bit of
887 // logical value '1'), but the monitored bus value was dominant.
888 // 5 Bit0Error: During the transmission of a message (or acknowledge bit, or
889 // active error flag, or overload flag), the device wanted to send a dominant
890 // level (data or identifier bit logical value '0'), but the monitored bus
891 // value was recessive. During Bus_Off recovery this status is set each time a
892 // sequence of 11 recessive bits has been monitored. This enables the CPU to
893 // monitor the proceeding of the Bus_Off recovery sequence (indicating the bus
894 // is not stuck at dominant or continuously disturbed).
895 // 6 CRCError: The CRC check sum of a received message was incorrect. The
896 // CRC of an incoming message does not match with the CRC calculated from the
897 // received data.
898 // 7 NoChange: Any read access to the Protocol Status Register
899 // re-initializes the LEC to '7'. When the LEC shows the value '7', no CAN bus
900 // event was detected since the last CPU read access to the Protocol Status
901 // Register.
902 //
903 // Note: When a frame in CAN FD format has reached the data phase with BRS flag
904 // set, the next CAN event (error or valid frame) will be shown in DLEC instead
905 // of LEC. An error in a fixed stuff bit of a CAN FD CRC sequence will be shown
906 // as a Form Error, not Stuff Error. Note: The Bus_Off recovery sequence (see
907 // ISO 11898-1:2015) cannot be shortened by setting or resetting CCCR.INIT. If
908 // the device goes Bus_Off, it will set CCCR.INIT of its own accord, stopping
909 // all bus activities. Once CCCR.INIT has been cleared by the CPU, the device
910 // will then wait for 129 occurrences of Bus Idle (129 * 11 consecutive
911 // recessive bits) before resuming normal operation. At the end of the Bus_Off
912 // recovery sequence, the Error Management Counters will be reset. During the
913 // waiting time after the resetting of CCCR.INIT, each time a sequence of 11
914 // recessive bits has been monitored, a Bit0Error code is written to PSR.LEC,
915 // enabling the CPU to readily check up whether the CAN bus is stuck at
916 // dominant or continuously disturbed and to monitor the Bus_Off recovery
917 // sequence. ECR.REC is used to count these sequences.
918 #define MCAN_PSR_LEC_WIDTH 3U
919 #define MCAN_PSR_LEC_MASK 0x00000007U
920 #define MCAN_PSR_LEC_SHIFT 0U
921 
922 //*****************************************************************************
923 //
924 // Register: MCAN_TDCR
925 //
926 //*****************************************************************************
927 // Field: [14:8] TDCO
928 //
929 // Transmitter Delay Compensation Offset. Offset value defining the distance
930 // between the measured delay from the internal CAN TX signal to the internal
931 // CAN RX signal and the secondary sample point. Valid values are 0 to 127 mtq.
932 //
933 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
934 #define MCAN_TDCR_TDCO_WIDTH 7U
935 #define MCAN_TDCR_TDCO_MASK 0x00007F00U
936 #define MCAN_TDCR_TDCO_SHIFT 8U
937 
938 // Field: [6:0] TDCF
939 //
940 // Transmitter Delay Compensation Filter Window Length. Defines the minimum
941 // value for the SSP position, dominant edges on the internal CAN RX signal
942 // that would result in an earlier SSP position are ignored for transmitter
943 // delay measurement. The feature is enabled when TDCF is configured to a value
944 // greater than TDCO. Valid values are 0 to 127 mtq.
945 //
946 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
947 #define MCAN_TDCR_TDCF_WIDTH 7U
948 #define MCAN_TDCR_TDCF_MASK 0x0000007FU
949 #define MCAN_TDCR_TDCF_SHIFT 0U
950 
951 //*****************************************************************************
952 //
953 // Register: MCAN_IR
954 //
955 //*****************************************************************************
956 // Field: [29] ARA
957 //
958 // Access to Reserved Address
959 // 0 No access to reserved address occurred
960 // 1 Access to reserved address occurred
961 #define MCAN_IR_ARA 0x20000000U
962 #define MCAN_IR_ARA_MASK 0x20000000U
963 #define MCAN_IR_ARA_SHIFT 29U
964 
965 // Field: [28] PED
966 //
967 // Protocol Error in Data Phase (Data Bit Time is used)
968 // 0 No protocol error in data phase
969 // 1 Protocol error in data phase detected (PSR.DLEC ? 0,7)
970 #define MCAN_IR_PED 0x10000000U
971 #define MCAN_IR_PED_MASK 0x10000000U
972 #define MCAN_IR_PED_SHIFT 28U
973 
974 // Field: [27] PEA
975 //
976 // Protocol Error in Arbitration Phase (Nominal Bit Time is used)
977 // 0 No protocol error in arbitration phase
978 // 1 Protocol error in arbitration phase detected (PSR.LEC ? 0,7)
979 #define MCAN_IR_PEA 0x08000000U
980 #define MCAN_IR_PEA_MASK 0x08000000U
981 #define MCAN_IR_PEA_SHIFT 27U
982 
983 // Field: [26] WDI
984 //
985 // Watchdog Interrupt
986 // 0 No Message RAM Watchdog event occurred
987 // 1 Message RAM Watchdog event due to missing READY
988 #define MCAN_IR_WDI 0x04000000U
989 #define MCAN_IR_WDI_MASK 0x04000000U
990 #define MCAN_IR_WDI_SHIFT 26U
991 
992 // Field: [25] BO
993 //
994 // Bus_Off Status
995 // 0 Bus_Off status unchanged
996 // 1 Bus_Off status changed
997 #define MCAN_IR_BO 0x02000000U
998 #define MCAN_IR_BO_MASK 0x02000000U
999 #define MCAN_IR_BO_SHIFT 25U
1000 
1001 // Field: [24] EW
1002 //
1003 // Warning Status
1004 // 0 Error_Warning status unchanged
1005 // 1 Error_Warning status changed
1006 #define MCAN_IR_EW 0x01000000U
1007 #define MCAN_IR_EW_MASK 0x01000000U
1008 #define MCAN_IR_EW_SHIFT 24U
1009 
1010 // Field: [23] EP
1011 //
1012 // Error Passive
1013 // 0 Error_Passive status unchanged
1014 // 1 Error_Passive status changed
1015 #define MCAN_IR_EP 0x00800000U
1016 #define MCAN_IR_EP_MASK 0x00800000U
1017 #define MCAN_IR_EP_SHIFT 23U
1018 
1019 // Field: [22] ELO
1020 //
1021 // Error Logging Overflow
1022 // 0 CAN Error Logging Counter did not overflow
1023 // 1 Overflow of CAN Error Logging Counter occurred
1024 #define MCAN_IR_ELO 0x00400000U
1025 #define MCAN_IR_ELO_MASK 0x00400000U
1026 #define MCAN_IR_ELO_SHIFT 22U
1027 
1028 // Field: [21] BEU
1029 //
1030 // Bit Error Uncorrected. Message RAM bit error detected, uncorrected. This bit
1031 // is set when a double bit error is detected by the ECC aggregator attached to
1032 // the Message RAM. An uncorrected Message RAM bit error sets CCCR.INIT to '1'.
1033 // This is done to avoid transmission of corrupted data.
1034 // 0 No bit error detected when reading from Message RAM
1035 // 1 Bit error detected, uncorrected (e.g. parity logic)
1036 #define MCAN_IR_BEU 0x00200000U
1037 #define MCAN_IR_BEU_MASK 0x00200000U
1038 #define MCAN_IR_BEU_SHIFT 21U
1039 
1040 // Field: [20] BEC
1041 //
1042 // Warning: This bit is reserved on CC27x0 and must not be written.
1043 //
1044 // Bit Error Corrected. Message RAM bit error detected and corrected.
1045 // 0 No bit error detected when reading from Message RAM
1046 // 1 Bit error detected and corrected (e.g. parity logic)
1047 #define MCAN_IR_BEC 0x00100000U
1048 #define MCAN_IR_BEC_MASK 0x00100000U
1049 #define MCAN_IR_BEC_SHIFT 20U
1050 
1051 // Field: [19] DRX
1052 //
1053 // Message Stored to Dedicated Rx Buffer. The flag is set whenever a received
1054 // message has been stored into a dedicated Rx Buffer.
1055 // 0 No Rx Buffer updated
1056 // 1 At least one received message stored into an Rx Buffer
1057 #define MCAN_IR_DRX 0x00080000U
1058 #define MCAN_IR_DRX_MASK 0x00080000U
1059 #define MCAN_IR_DRX_SHIFT 19U
1060 
1061 // Field: [18] TOO
1062 //
1063 // Timeout Occurred
1064 // 0 No timeout
1065 // 1 Timeout reached
1066 #define MCAN_IR_TOO 0x00040000U
1067 #define MCAN_IR_TOO_MASK 0x00040000U
1068 #define MCAN_IR_TOO_SHIFT 18U
1069 
1070 // Field: [17] MRAF
1071 //
1072 // Message RAM Access Failure. The flag is set, when the Rx Handler:
1073 // - has not completed acceptance filtering or storage of an accepted message
1074 // until the arbitration field of the following message has been received. In
1075 // this case acceptance filtering or message storage is aborted and the Rx
1076 // Handler starts processing of the following message.
1077 // - was not able to write a message to the Message RAM. In this case message
1078 // storage is aborted.
1079 //
1080 // In both cases the FIFO put index is not updated resp. the New Data flag for
1081 // a dedicated Rx Buffer is not set, a partly stored message is overwritten
1082 // when the next message is stored to this location.
1083 //
1084 // The flag is also set when the Tx Handler was not able to read a message from
1085 // the Message RAM in time. In this case message transmission is aborted. In
1086 // case of a Tx Handler access failure the MCAN is switched into Restricted
1087 // Operation Mode. To leave Restricted Operation Mode, the Host CPU has to
1088 // reset CCCR.ASM.
1089 // 0 No Message RAM access failure occurred
1090 // 1 Message RAM access failure occurred
1091 #define MCAN_IR_MRAF 0x00020000U
1092 #define MCAN_IR_MRAF_MASK 0x00020000U
1093 #define MCAN_IR_MRAF_SHIFT 17U
1094 
1095 // Field: [16] TSW
1096 //
1097 // Timestamp Wraparound
1098 // 0 No timestamp counter wrap-around
1099 // 1 Timestamp counter wrapped around
1100 #define MCAN_IR_TSW 0x00010000U
1101 #define MCAN_IR_TSW_MASK 0x00010000U
1102 #define MCAN_IR_TSW_SHIFT 16U
1103 
1104 // Field: [15] TEFL
1105 //
1106 // Tx Event FIFO Element Lost
1107 // 0 No Tx Event FIFO element lost
1108 // 1 Tx Event FIFO element lost, also set after write attempt to Tx Event
1109 // FIFO of size zero
1110 #define MCAN_IR_TEFL 0x00008000U
1111 #define MCAN_IR_TEFL_MASK 0x00008000U
1112 #define MCAN_IR_TEFL_SHIFT 15U
1113 
1114 // Field: [14] TEFF
1115 //
1116 // Tx Event FIFO Full
1117 // 0 Tx Event FIFO not full
1118 // 1 Tx Event FIFO full
1119 #define MCAN_IR_TEFF 0x00004000U
1120 #define MCAN_IR_TEFF_MASK 0x00004000U
1121 #define MCAN_IR_TEFF_SHIFT 14U
1122 
1123 // Field: [13] TEFW
1124 //
1125 // Tx Event FIFO Watermark Reached
1126 // 0 Tx Event FIFO fill level below watermark
1127 // 1 Tx Event FIFO fill level reached watermark
1128 #define MCAN_IR_TEFW 0x00002000U
1129 #define MCAN_IR_TEFW_MASK 0x00002000U
1130 #define MCAN_IR_TEFW_SHIFT 13U
1131 
1132 // Field: [12] TEFN
1133 //
1134 // Tx Event FIFO New Entry
1135 // 0 Tx Event FIFO unchanged
1136 // 1 Tx Handler wrote Tx Event FIFO element
1137 #define MCAN_IR_TEFN 0x00001000U
1138 #define MCAN_IR_TEFN_MASK 0x00001000U
1139 #define MCAN_IR_TEFN_SHIFT 12U
1140 
1141 // Field: [11] TFE
1142 //
1143 // Tx FIFO Empty
1144 // 0 Tx FIFO non-empty
1145 // 1 Tx FIFO empty
1146 #define MCAN_IR_TFE 0x00000800U
1147 #define MCAN_IR_TFE_MASK 0x00000800U
1148 #define MCAN_IR_TFE_SHIFT 11U
1149 
1150 // Field: [10] TCF
1151 //
1152 // Transmission Cancellation Finished
1153 // 0 No transmission cancellation finished
1154 // 1 Transmission cancellation finished
1155 #define MCAN_IR_TCF 0x00000400U
1156 #define MCAN_IR_TCF_MASK 0x00000400U
1157 #define MCAN_IR_TCF_SHIFT 10U
1158 
1159 // Field: [9] TC
1160 //
1161 // Transmission Completed
1162 // 0 No transmission completed
1163 // 1 Transmission completed
1164 #define MCAN_IR_TC 0x00000200U
1165 #define MCAN_IR_TC_MASK 0x00000200U
1166 #define MCAN_IR_TC_SHIFT 9U
1167 
1168 // Field: [8] HPM
1169 //
1170 // High Priority Message
1171 // 0 No high priority message received
1172 // 1 High priority message received
1173 #define MCAN_IR_HPM 0x00000100U
1174 #define MCAN_IR_HPM_MASK 0x00000100U
1175 #define MCAN_IR_HPM_SHIFT 8U
1176 
1177 // Field: [7] RF1L
1178 //
1179 // Rx FIFO 1 Message Lost
1180 // 0 No Rx FIFO 1 message lost
1181 // 1 Rx FIFO 1 message lost, also set after write attempt to Rx FIFO 1 of
1182 // size zero
1183 #define MCAN_IR_RF1L 0x00000080U
1184 #define MCAN_IR_RF1L_MASK 0x00000080U
1185 #define MCAN_IR_RF1L_SHIFT 7U
1186 
1187 // Field: [6] RF1F
1188 //
1189 // Rx FIFO 1 Full
1190 // 0 Rx FIFO 1 not full
1191 // 1 Rx FIFO 1 full
1192 #define MCAN_IR_RF1F 0x00000040U
1193 #define MCAN_IR_RF1F_MASK 0x00000040U
1194 #define MCAN_IR_RF1F_SHIFT 6U
1195 
1196 // Field: [5] RF1W
1197 //
1198 // Rx FIFO 1 Watermark Reached
1199 // 0 Rx FIFO 1 fill level below watermark
1200 // 1 Rx FIFO 1 fill level reached watermark
1201 #define MCAN_IR_RF1W 0x00000020U
1202 #define MCAN_IR_RF1W_MASK 0x00000020U
1203 #define MCAN_IR_RF1W_SHIFT 5U
1204 
1205 // Field: [4] RF1N
1206 //
1207 // Rx FIFO 1 New Message
1208 // 0 No new message written to Rx FIFO 1
1209 // 1 New message written to Rx FIFO 1
1210 #define MCAN_IR_RF1N 0x00000010U
1211 #define MCAN_IR_RF1N_MASK 0x00000010U
1212 #define MCAN_IR_RF1N_SHIFT 4U
1213 
1214 // Field: [3] RF0L
1215 //
1216 // Rx FIFO 0 Message Lost
1217 // 0 No Rx FIFO 0 message lost
1218 // 1 Rx FIFO 0 message lost, also set after write attempt to Rx FIFO 0 of
1219 // size zero
1220 #define MCAN_IR_RF0L 0x00000008U
1221 #define MCAN_IR_RF0L_MASK 0x00000008U
1222 #define MCAN_IR_RF0L_SHIFT 3U
1223 
1224 // Field: [2] RF0F
1225 //
1226 // Rx FIFO 0 Full
1227 // 0 Rx FIFO 0 not full
1228 // 1 Rx FIFO 0 full
1229 #define MCAN_IR_RF0F 0x00000004U
1230 #define MCAN_IR_RF0F_MASK 0x00000004U
1231 #define MCAN_IR_RF0F_SHIFT 2U
1232 
1233 // Field: [1] RF0W
1234 //
1235 // Rx FIFO 0 Watermark Reached
1236 // 0 Rx FIFO 0 fill level below watermark
1237 // 1 Rx FIFO 0 fill level reached watermark
1238 #define MCAN_IR_RF0W 0x00000002U
1239 #define MCAN_IR_RF0W_MASK 0x00000002U
1240 #define MCAN_IR_RF0W_SHIFT 1U
1241 
1242 // Field: [0] RF0N
1243 //
1244 // Rx FIFO 0 New Message
1245 // 0 No new message written to Rx FIFO 0
1246 // 1 New message written to Rx FIFO 0
1247 #define MCAN_IR_RF0N 0x00000001U
1248 #define MCAN_IR_RF0N_MASK 0x00000001U
1249 #define MCAN_IR_RF0N_SHIFT 0U
1250 
1251 //*****************************************************************************
1252 //
1253 // Register: MCAN_IE
1254 //
1255 //*****************************************************************************
1256 // Field: [29] ARAE
1257 //
1258 // Access to Reserved Address Enable
1259 #define MCAN_IE_ARAE 0x20000000U
1260 #define MCAN_IE_ARAE_MASK 0x20000000U
1261 #define MCAN_IE_ARAE_SHIFT 29U
1262 
1263 // Field: [28] PEDE
1264 //
1265 // Protocol Error in Data Phase Enable
1266 #define MCAN_IE_PEDE 0x10000000U
1267 #define MCAN_IE_PEDE_MASK 0x10000000U
1268 #define MCAN_IE_PEDE_SHIFT 28U
1269 
1270 // Field: [27] PEAE
1271 //
1272 // Protocol Error in Arbitration Phase Enable
1273 #define MCAN_IE_PEAE 0x08000000U
1274 #define MCAN_IE_PEAE_MASK 0x08000000U
1275 #define MCAN_IE_PEAE_SHIFT 27U
1276 
1277 // Field: [26] WDIE
1278 //
1279 // Watchdog Interrupt Enable
1280 #define MCAN_IE_WDIE 0x04000000U
1281 #define MCAN_IE_WDIE_MASK 0x04000000U
1282 #define MCAN_IE_WDIE_SHIFT 26U
1283 
1284 // Field: [25] BOE
1285 //
1286 // Bus_Off Status Enable
1287 #define MCAN_IE_BOE 0x02000000U
1288 #define MCAN_IE_BOE_MASK 0x02000000U
1289 #define MCAN_IE_BOE_SHIFT 25U
1290 
1291 // Field: [24] EWE
1292 //
1293 // Warning Status Enable
1294 #define MCAN_IE_EWE 0x01000000U
1295 #define MCAN_IE_EWE_MASK 0x01000000U
1296 #define MCAN_IE_EWE_SHIFT 24U
1297 
1298 // Field: [23] EPE
1299 //
1300 // Error Passive Enable
1301 #define MCAN_IE_EPE 0x00800000U
1302 #define MCAN_IE_EPE_MASK 0x00800000U
1303 #define MCAN_IE_EPE_SHIFT 23U
1304 
1305 // Field: [22] ELOE
1306 //
1307 // Error Logging Overflow Enable
1308 #define MCAN_IE_ELOE 0x00400000U
1309 #define MCAN_IE_ELOE_MASK 0x00400000U
1310 #define MCAN_IE_ELOE_SHIFT 22U
1311 
1312 // Field: [21] BEUE
1313 //
1314 // Bit Error Uncorrected Enable
1315 #define MCAN_IE_BEUE 0x00200000U
1316 #define MCAN_IE_BEUE_MASK 0x00200000U
1317 #define MCAN_IE_BEUE_SHIFT 21U
1318 
1319 // Field: [20] BECE
1320 //
1321 // Bit Error Corrected Enable
1322 //
1323 // A separate interrupt line reserved for corrected bit errors is provided via
1324 // the MCAN_ERROR_REGS. It advised for the user to use these registers and
1325 // leave this bit cleared to '0'.
1326 #define MCAN_IE_BECE 0x00100000U
1327 #define MCAN_IE_BECE_MASK 0x00100000U
1328 #define MCAN_IE_BECE_SHIFT 20U
1329 
1330 // Field: [19] DRXE
1331 //
1332 // Message Stored to Dedicated Rx Buffer Enable
1333 #define MCAN_IE_DRXE 0x00080000U
1334 #define MCAN_IE_DRXE_MASK 0x00080000U
1335 #define MCAN_IE_DRXE_SHIFT 19U
1336 
1337 // Field: [18] TOOE
1338 //
1339 // Timeout Occurred Enable
1340 #define MCAN_IE_TOOE 0x00040000U
1341 #define MCAN_IE_TOOE_MASK 0x00040000U
1342 #define MCAN_IE_TOOE_SHIFT 18U
1343 
1344 // Field: [17] MRAFE
1345 //
1346 // Message RAM Access Failure Enable
1347 #define MCAN_IE_MRAFE 0x00020000U
1348 #define MCAN_IE_MRAFE_MASK 0x00020000U
1349 #define MCAN_IE_MRAFE_SHIFT 17U
1350 
1351 // Field: [16] TSWE
1352 //
1353 // Timestamp Wraparound Enable
1354 #define MCAN_IE_TSWE 0x00010000U
1355 #define MCAN_IE_TSWE_MASK 0x00010000U
1356 #define MCAN_IE_TSWE_SHIFT 16U
1357 
1358 // Field: [15] TEFLE
1359 //
1360 // Tx Event FIFO Element Lost Enable
1361 #define MCAN_IE_TEFLE 0x00008000U
1362 #define MCAN_IE_TEFLE_MASK 0x00008000U
1363 #define MCAN_IE_TEFLE_SHIFT 15U
1364 
1365 // Field: [14] TEFFE
1366 //
1367 // Tx Event FIFO Full Enable
1368 #define MCAN_IE_TEFFE 0x00004000U
1369 #define MCAN_IE_TEFFE_MASK 0x00004000U
1370 #define MCAN_IE_TEFFE_SHIFT 14U
1371 
1372 // Field: [13] TEFWE
1373 //
1374 // Tx Event FIFO Watermark Reached Enable
1375 #define MCAN_IE_TEFWE 0x00002000U
1376 #define MCAN_IE_TEFWE_MASK 0x00002000U
1377 #define MCAN_IE_TEFWE_SHIFT 13U
1378 
1379 // Field: [12] TEFNE
1380 //
1381 // Tx Event FIFO New Entry Enable
1382 #define MCAN_IE_TEFNE 0x00001000U
1383 #define MCAN_IE_TEFNE_MASK 0x00001000U
1384 #define MCAN_IE_TEFNE_SHIFT 12U
1385 
1386 // Field: [11] TFEE
1387 //
1388 // Tx FIFO Empty Enable
1389 #define MCAN_IE_TFEE 0x00000800U
1390 #define MCAN_IE_TFEE_MASK 0x00000800U
1391 #define MCAN_IE_TFEE_SHIFT 11U
1392 
1393 // Field: [10] TCFE
1394 //
1395 // Transmission Cancellation Finished Enable
1396 #define MCAN_IE_TCFE 0x00000400U
1397 #define MCAN_IE_TCFE_MASK 0x00000400U
1398 #define MCAN_IE_TCFE_SHIFT 10U
1399 
1400 // Field: [9] TCE
1401 //
1402 // Transmission Completed Enable
1403 #define MCAN_IE_TCE 0x00000200U
1404 #define MCAN_IE_TCE_MASK 0x00000200U
1405 #define MCAN_IE_TCE_SHIFT 9U
1406 
1407 // Field: [8] HPME
1408 //
1409 // High Priority Message Enable
1410 #define MCAN_IE_HPME 0x00000100U
1411 #define MCAN_IE_HPME_MASK 0x00000100U
1412 #define MCAN_IE_HPME_SHIFT 8U
1413 
1414 // Field: [7] RF1LE
1415 //
1416 // Rx FIFO 1 Message Lost Enable
1417 #define MCAN_IE_RF1LE 0x00000080U
1418 #define MCAN_IE_RF1LE_MASK 0x00000080U
1419 #define MCAN_IE_RF1LE_SHIFT 7U
1420 
1421 // Field: [6] RF1FE
1422 //
1423 // Rx FIFO 1 Full Enable
1424 #define MCAN_IE_RF1FE 0x00000040U
1425 #define MCAN_IE_RF1FE_MASK 0x00000040U
1426 #define MCAN_IE_RF1FE_SHIFT 6U
1427 
1428 // Field: [5] RF1WE
1429 //
1430 // Rx FIFO 1 Watermark Reached Enable
1431 #define MCAN_IE_RF1WE 0x00000020U
1432 #define MCAN_IE_RF1WE_MASK 0x00000020U
1433 #define MCAN_IE_RF1WE_SHIFT 5U
1434 
1435 // Field: [4] RF1NE
1436 //
1437 // Rx FIFO 1 New Message Enable
1438 #define MCAN_IE_RF1NE 0x00000010U
1439 #define MCAN_IE_RF1NE_MASK 0x00000010U
1440 #define MCAN_IE_RF1NE_SHIFT 4U
1441 
1442 // Field: [3] RF0LE
1443 //
1444 // Rx FIFO 0 Message Lost Enable
1445 #define MCAN_IE_RF0LE 0x00000008U
1446 #define MCAN_IE_RF0LE_MASK 0x00000008U
1447 #define MCAN_IE_RF0LE_SHIFT 3U
1448 
1449 // Field: [2] RF0FE
1450 //
1451 // Rx FIFO 0 Full Enable
1452 #define MCAN_IE_RF0FE 0x00000004U
1453 #define MCAN_IE_RF0FE_MASK 0x00000004U
1454 #define MCAN_IE_RF0FE_SHIFT 2U
1455 
1456 // Field: [1] RF0WE
1457 //
1458 // Rx FIFO 0 Watermark Reached Enable
1459 #define MCAN_IE_RF0WE 0x00000002U
1460 #define MCAN_IE_RF0WE_MASK 0x00000002U
1461 #define MCAN_IE_RF0WE_SHIFT 1U
1462 
1463 // Field: [0] RF0NE
1464 //
1465 // Rx FIFO 0 New Message Enable
1466 #define MCAN_IE_RF0NE 0x00000001U
1467 #define MCAN_IE_RF0NE_MASK 0x00000001U
1468 #define MCAN_IE_RF0NE_SHIFT 0U
1469 
1470 //*****************************************************************************
1471 //
1472 // Register: MCAN_ILS
1473 //
1474 //*****************************************************************************
1475 // Field: [29] ARAL
1476 //
1477 // Access to Reserved Address Line
1478 // 0 Interrupt source is assigned to Interrupt Line 0
1479 // 1 Interrupt source is assigned to Interrupt Line 1
1480 #define MCAN_ILS_ARAL 0x20000000U
1481 #define MCAN_ILS_ARAL_MASK 0x20000000U
1482 #define MCAN_ILS_ARAL_SHIFT 29U
1483 
1484 // Field: [28] PEDL
1485 //
1486 // Protocol Error in Data Phase Line
1487 // 0 Interrupt source is assigned to Interrupt Line 0
1488 // 1 Interrupt source is assigned to Interrupt Line 1
1489 #define MCAN_ILS_PEDL 0x10000000U
1490 #define MCAN_ILS_PEDL_MASK 0x10000000U
1491 #define MCAN_ILS_PEDL_SHIFT 28U
1492 
1493 // Field: [27] PEAL
1494 //
1495 // Protocol Error in Arbitration Phase Line
1496 // 0 Interrupt source is assigned to Interrupt Line 0
1497 // 1 Interrupt source is assigned to Interrupt Line 1
1498 #define MCAN_ILS_PEAL 0x08000000U
1499 #define MCAN_ILS_PEAL_MASK 0x08000000U
1500 #define MCAN_ILS_PEAL_SHIFT 27U
1501 
1502 // Field: [26] WDIL
1503 //
1504 // Watchdog Interrupt Line
1505 // 0 Interrupt source is assigned to Interrupt Line 0
1506 // 1 Interrupt source is assigned to Interrupt Line 1
1507 #define MCAN_ILS_WDIL 0x04000000U
1508 #define MCAN_ILS_WDIL_MASK 0x04000000U
1509 #define MCAN_ILS_WDIL_SHIFT 26U
1510 
1511 // Field: [25] BOL
1512 //
1513 // Bus_Off Status Line
1514 // 0 Interrupt source is assigned to Interrupt Line 0
1515 // 1 Interrupt source is assigned to Interrupt Line 1
1516 #define MCAN_ILS_BOL 0x02000000U
1517 #define MCAN_ILS_BOL_MASK 0x02000000U
1518 #define MCAN_ILS_BOL_SHIFT 25U
1519 
1520 // Field: [24] EWL
1521 //
1522 // Warning Status Line
1523 // 0 Interrupt source is assigned to Interrupt Line 0
1524 // 1 Interrupt source is assigned to Interrupt Line 1
1525 #define MCAN_ILS_EWL 0x01000000U
1526 #define MCAN_ILS_EWL_MASK 0x01000000U
1527 #define MCAN_ILS_EWL_SHIFT 24U
1528 
1529 // Field: [23] EPL
1530 //
1531 // Error Passive Line
1532 // 0 Interrupt source is assigned to Interrupt Line 0
1533 // 1 Interrupt source is assigned to Interrupt Line 1
1534 #define MCAN_ILS_EPL 0x00800000U
1535 #define MCAN_ILS_EPL_MASK 0x00800000U
1536 #define MCAN_ILS_EPL_SHIFT 23U
1537 
1538 // Field: [22] ELOL
1539 //
1540 // Error Logging Overflow Line
1541 // 0 Interrupt source is assigned to Interrupt Line 0
1542 // 1 Interrupt source is assigned to Interrupt Line 1
1543 #define MCAN_ILS_ELOL 0x00400000U
1544 #define MCAN_ILS_ELOL_MASK 0x00400000U
1545 #define MCAN_ILS_ELOL_SHIFT 22U
1546 
1547 // Field: [21] BEUL
1548 //
1549 // Bit Error Uncorrected Line
1550 // 0 Interrupt source is assigned to Interrupt Line 0
1551 // 1 Interrupt source is assigned to Interrupt Line 1
1552 #define MCAN_ILS_BEUL 0x00200000U
1553 #define MCAN_ILS_BEUL_MASK 0x00200000U
1554 #define MCAN_ILS_BEUL_SHIFT 21U
1555 
1556 // Field: [20] BECL
1557 //
1558 // Bit Error Corrected Line
1559 //
1560 // A separate interrupt line reserved for corrected bit errors is provided via
1561 // the MCAN_ERROR_REGS. It advised for the user to use these registers and
1562 // leave the MCAN_IE.BECE bit cleared to '0' (disabled), thereby relegating
1563 // this bit to not applicable.
1564 #define MCAN_ILS_BECL 0x00100000U
1565 #define MCAN_ILS_BECL_MASK 0x00100000U
1566 #define MCAN_ILS_BECL_SHIFT 20U
1567 
1568 // Field: [19] DRXL
1569 //
1570 // Message Stored to Dedicated Rx Buffer Line
1571 // 0 Interrupt source is assigned to Interrupt Line 0
1572 // 1 Interrupt source is assigned to Interrupt Line 1
1573 #define MCAN_ILS_DRXL 0x00080000U
1574 #define MCAN_ILS_DRXL_MASK 0x00080000U
1575 #define MCAN_ILS_DRXL_SHIFT 19U
1576 
1577 // Field: [18] TOOL
1578 //
1579 // Timeout Occurred Line
1580 // 0 Interrupt source is assigned to Interrupt Line 0
1581 // 1 Interrupt source is assigned to Interrupt Line 1
1582 #define MCAN_ILS_TOOL 0x00040000U
1583 #define MCAN_ILS_TOOL_MASK 0x00040000U
1584 #define MCAN_ILS_TOOL_SHIFT 18U
1585 
1586 // Field: [17] MRAFL
1587 //
1588 // Message RAM Access Failure Line
1589 // 0 Interrupt source is assigned to Interrupt Line 0
1590 // 1 Interrupt source is assigned to Interrupt Line 1
1591 #define MCAN_ILS_MRAFL 0x00020000U
1592 #define MCAN_ILS_MRAFL_MASK 0x00020000U
1593 #define MCAN_ILS_MRAFL_SHIFT 17U
1594 
1595 // Field: [16] TSWL
1596 //
1597 // Timestamp Wraparound Line
1598 // 0 Interrupt source is assigned to Interrupt Line 0
1599 // 1 Interrupt source is assigned to Interrupt Line 1
1600 #define MCAN_ILS_TSWL 0x00010000U
1601 #define MCAN_ILS_TSWL_MASK 0x00010000U
1602 #define MCAN_ILS_TSWL_SHIFT 16U
1603 
1604 // Field: [15] TEFLL
1605 //
1606 // Tx Event FIFO Element Lost Line
1607 // 0 Interrupt source is assigned to Interrupt Line 0
1608 // 1 Interrupt source is assigned to Interrupt Line 1
1609 #define MCAN_ILS_TEFLL 0x00008000U
1610 #define MCAN_ILS_TEFLL_MASK 0x00008000U
1611 #define MCAN_ILS_TEFLL_SHIFT 15U
1612 
1613 // Field: [14] TEFFL
1614 //
1615 // Tx Event FIFO Full Line
1616 // 0 Interrupt source is assigned to Interrupt Line 0
1617 // 1 Interrupt source is assigned to Interrupt Line 1
1618 #define MCAN_ILS_TEFFL 0x00004000U
1619 #define MCAN_ILS_TEFFL_MASK 0x00004000U
1620 #define MCAN_ILS_TEFFL_SHIFT 14U
1621 
1622 // Field: [13] TEFWL
1623 //
1624 // Tx Event FIFO Watermark Reached Line
1625 // 0 Interrupt source is assigned to Interrupt Line 0
1626 // 1 Interrupt source is assigned to Interrupt Line 1
1627 #define MCAN_ILS_TEFWL 0x00002000U
1628 #define MCAN_ILS_TEFWL_MASK 0x00002000U
1629 #define MCAN_ILS_TEFWL_SHIFT 13U
1630 
1631 // Field: [12] TEFNL
1632 //
1633 // Tx Event FIFO New Entry Line
1634 // 0 Interrupt source is assigned to Interrupt Line 0
1635 // 1 Interrupt source is assigned to Interrupt Line 1
1636 #define MCAN_ILS_TEFNL 0x00001000U
1637 #define MCAN_ILS_TEFNL_MASK 0x00001000U
1638 #define MCAN_ILS_TEFNL_SHIFT 12U
1639 
1640 // Field: [11] TFEL
1641 //
1642 // Tx FIFO Empty Line
1643 // 0 Interrupt source is assigned to Interrupt Line 0
1644 // 1 Interrupt source is assigned to Interrupt Line 1
1645 #define MCAN_ILS_TFEL 0x00000800U
1646 #define MCAN_ILS_TFEL_MASK 0x00000800U
1647 #define MCAN_ILS_TFEL_SHIFT 11U
1648 
1649 // Field: [10] TCFL
1650 //
1651 // Transmission Cancellation Finished Line
1652 // 0 Interrupt source is assigned to Interrupt Line 0
1653 // 1 Interrupt source is assigned to Interrupt Line 1
1654 #define MCAN_ILS_TCFL 0x00000400U
1655 #define MCAN_ILS_TCFL_MASK 0x00000400U
1656 #define MCAN_ILS_TCFL_SHIFT 10U
1657 
1658 // Field: [9] TCL
1659 //
1660 // Transmission Completed Line
1661 // 0 Interrupt source is assigned to Interrupt Line 0
1662 // 1 Interrupt source is assigned to Interrupt Line 1
1663 #define MCAN_ILS_TCL 0x00000200U
1664 #define MCAN_ILS_TCL_MASK 0x00000200U
1665 #define MCAN_ILS_TCL_SHIFT 9U
1666 
1667 // Field: [8] HPML
1668 //
1669 // High Priority Message Line
1670 // 0 Interrupt source is assigned to Interrupt Line 0
1671 // 1 Interrupt source is assigned to Interrupt Line 1
1672 #define MCAN_ILS_HPML 0x00000100U
1673 #define MCAN_ILS_HPML_MASK 0x00000100U
1674 #define MCAN_ILS_HPML_SHIFT 8U
1675 
1676 // Field: [7] RF1LL
1677 //
1678 // Rx FIFO 1 Message Lost Line
1679 // 0 Interrupt source is assigned to Interrupt Line 0
1680 // 1 Interrupt source is assigned to Interrupt Line 1
1681 #define MCAN_ILS_RF1LL 0x00000080U
1682 #define MCAN_ILS_RF1LL_MASK 0x00000080U
1683 #define MCAN_ILS_RF1LL_SHIFT 7U
1684 
1685 // Field: [6] RF1FL
1686 //
1687 // Rx FIFO 1 Full Line
1688 // 0 Interrupt source is assigned to Interrupt Line 0
1689 // 1 Interrupt source is assigned to Interrupt Line 1
1690 #define MCAN_ILS_RF1FL 0x00000040U
1691 #define MCAN_ILS_RF1FL_MASK 0x00000040U
1692 #define MCAN_ILS_RF1FL_SHIFT 6U
1693 
1694 // Field: [5] RF1WL
1695 //
1696 // Rx FIFO 1 Watermark Reached Line
1697 // 0 Interrupt source is assigned to Interrupt Line 0
1698 // 1 Interrupt source is assigned to Interrupt Line 1
1699 #define MCAN_ILS_RF1WL 0x00000020U
1700 #define MCAN_ILS_RF1WL_MASK 0x00000020U
1701 #define MCAN_ILS_RF1WL_SHIFT 5U
1702 
1703 // Field: [4] RF1NL
1704 //
1705 // Rx FIFO 1 New Message Line
1706 // 0 Interrupt source is assigned to Interrupt Line 0
1707 // 1 Interrupt source is assigned to Interrupt Line 1
1708 #define MCAN_ILS_RF1NL 0x00000010U
1709 #define MCAN_ILS_RF1NL_MASK 0x00000010U
1710 #define MCAN_ILS_RF1NL_SHIFT 4U
1711 
1712 // Field: [3] RF0LL
1713 //
1714 // Rx FIFO 0 Message Lost Line
1715 // 0 Interrupt source is assigned to Interrupt Line 0
1716 // 1 Interrupt source is assigned to Interrupt Line 1
1717 #define MCAN_ILS_RF0LL 0x00000008U
1718 #define MCAN_ILS_RF0LL_MASK 0x00000008U
1719 #define MCAN_ILS_RF0LL_SHIFT 3U
1720 
1721 // Field: [2] RF0FL
1722 //
1723 // Rx FIFO 0 Full Line
1724 // 0 Interrupt source is assigned to Interrupt Line 0
1725 // 1 Interrupt source is assigned to Interrupt Line 1
1726 #define MCAN_ILS_RF0FL 0x00000004U
1727 #define MCAN_ILS_RF0FL_MASK 0x00000004U
1728 #define MCAN_ILS_RF0FL_SHIFT 2U
1729 
1730 // Field: [1] RF0WL
1731 //
1732 // Rx FIFO 0 Watermark Reached Line
1733 // 0 Interrupt source is assigned to Interrupt Line 0
1734 // 1 Interrupt source is assigned to Interrupt Line 1
1735 #define MCAN_ILS_RF0WL 0x00000002U
1736 #define MCAN_ILS_RF0WL_MASK 0x00000002U
1737 #define MCAN_ILS_RF0WL_SHIFT 1U
1738 
1739 // Field: [0] RF0NL
1740 //
1741 // Rx FIFO 0 New Message Line
1742 // 0 Interrupt source is assigned to Interrupt Line 0
1743 // 1 Interrupt source is assigned to Interrupt Line 1
1744 #define MCAN_ILS_RF0NL 0x00000001U
1745 #define MCAN_ILS_RF0NL_MASK 0x00000001U
1746 #define MCAN_ILS_RF0NL_SHIFT 0U
1747 
1748 //*****************************************************************************
1749 //
1750 // Register: MCAN_ILE
1751 //
1752 //*****************************************************************************
1753 // Field: [1] EINT1
1754 //
1755 // Enable Interrupt Line 1
1756 // 0 Interrupt Line 1 is disabled
1757 // 1 Interrupt Line 1 is enabled
1758 #define MCAN_ILE_EINT1 0x00000002U
1759 #define MCAN_ILE_EINT1_MASK 0x00000002U
1760 #define MCAN_ILE_EINT1_SHIFT 1U
1761 
1762 // Field: [0] EINT0
1763 //
1764 // Enable Interrupt Line 0
1765 // 0 Interrupt Line 0 is disabled
1766 // 1 Interrupt Line 0 is enabled
1767 #define MCAN_ILE_EINT0 0x00000001U
1768 #define MCAN_ILE_EINT0_MASK 0x00000001U
1769 #define MCAN_ILE_EINT0_SHIFT 0U
1770 
1771 //*****************************************************************************
1772 //
1773 // Register: MCAN_GFC
1774 //
1775 //*****************************************************************************
1776 // Field: [5:4] ANFS
1777 //
1778 // Accept Non-matching Frames Standard. Defines how received messages with
1779 // 11-bit IDs that do not match any element of the filter list are treated.
1780 // 00 Accept in Rx FIFO 0
1781 // 01 Accept in Rx FIFO 1
1782 // 10 Reject
1783 // 11 Reject
1784 //
1785 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
1786 #define MCAN_GFC_ANFS_WIDTH 2U
1787 #define MCAN_GFC_ANFS_MASK 0x00000030U
1788 #define MCAN_GFC_ANFS_SHIFT 4U
1789 
1790 // Field: [3:2] ANFE
1791 //
1792 // Accept Non-matching Frames Extended. Defines how received messages with
1793 // 29-bit IDs that do not match any element of the filter list are treated.
1794 // 00 Accept in Rx FIFO 0
1795 // 01 Accept in Rx FIFO 1
1796 // 10 Reject
1797 // 11 Reject
1798 //
1799 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
1800 #define MCAN_GFC_ANFE_WIDTH 2U
1801 #define MCAN_GFC_ANFE_MASK 0x0000000CU
1802 #define MCAN_GFC_ANFE_SHIFT 2U
1803 
1804 // Field: [1] RRFS
1805 //
1806 // Reject Remote Frames Standard
1807 // 0 Filter remote frames with 11-bit standard IDs
1808 // 1 Reject all remote frames with 11-bit standard IDs
1809 //
1810 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
1811 #define MCAN_GFC_RRFS 0x00000002U
1812 #define MCAN_GFC_RRFS_MASK 0x00000002U
1813 #define MCAN_GFC_RRFS_SHIFT 1U
1814 
1815 // Field: [0] RRFE
1816 //
1817 // Reject Remote Frames Extended
1818 // 0 Filter remote frames with 29-bit extended IDs
1819 // 1 Reject all remote frames with 29-bit extended IDs
1820 //
1821 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
1822 #define MCAN_GFC_RRFE 0x00000001U
1823 #define MCAN_GFC_RRFE_MASK 0x00000001U
1824 #define MCAN_GFC_RRFE_SHIFT 0U
1825 
1826 //*****************************************************************************
1827 //
1828 // Register: MCAN_SIDFC
1829 //
1830 //*****************************************************************************
1831 // Field: [23:16] LSS
1832 //
1833 // List Size Standard
1834 // 0 No standard Message ID filter
1835 // 1-128 Number of standard Message ID filter elements
1836 // >128 Values greater than 128 are interpreted as 128
1837 #define MCAN_SIDFC_LSS_WIDTH 8U
1838 #define MCAN_SIDFC_LSS_MASK 0x00FF0000U
1839 #define MCAN_SIDFC_LSS_SHIFT 16U
1840 
1841 // Field: [15:2] FLSSA
1842 //
1843 // Filter List Standard Start Address. Start address of standard Message ID
1844 // filter list (32-bit word address).
1845 #define MCAN_SIDFC_FLSSA_WIDTH 14U
1846 #define MCAN_SIDFC_FLSSA_MASK 0x0000FFFCU
1847 #define MCAN_SIDFC_FLSSA_SHIFT 2U
1848 
1849 //*****************************************************************************
1850 //
1851 // Register: MCAN_XIDFC
1852 //
1853 //*****************************************************************************
1854 // Field: [22:16] LSE
1855 //
1856 // Filter List Extended Start Address. Start address of extended Message ID
1857 // filter list (32-bit word address).
1858 //
1859 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
1860 #define MCAN_XIDFC_LSE_WIDTH 7U
1861 #define MCAN_XIDFC_LSE_MASK 0x007F0000U
1862 #define MCAN_XIDFC_LSE_SHIFT 16U
1863 
1864 // Field: [15:2] FLESA
1865 //
1866 // List Size Extended
1867 // 0 No extended Message ID filter
1868 // 1-64 Number of extended Message ID filter elements
1869 // >64 Values greater than 64 are interpreted as 64
1870 //
1871 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
1872 #define MCAN_XIDFC_FLESA_WIDTH 14U
1873 #define MCAN_XIDFC_FLESA_MASK 0x0000FFFCU
1874 #define MCAN_XIDFC_FLESA_SHIFT 2U
1875 
1876 //*****************************************************************************
1877 //
1878 // Register: MCAN_XIDAM
1879 //
1880 //*****************************************************************************
1881 // Field: [28:0] EIDM
1882 //
1883 // Extended ID Mask. For acceptance filtering of extended frames the Extended
1884 // ID AND Mask is ANDed with the Message ID of a received frame. Intended for
1885 // masking of 29-bit IDs in SAE J1939. With the reset value of all bits set to
1886 // one the mask is not active.
1887 //
1888 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
1889 #define MCAN_XIDAM_EIDM_WIDTH 29U
1890 #define MCAN_XIDAM_EIDM_MASK 0x1FFFFFFFU
1891 #define MCAN_XIDAM_EIDM_SHIFT 0U
1892 
1893 //*****************************************************************************
1894 //
1895 // Register: MCAN_HPMS
1896 //
1897 //*****************************************************************************
1898 // Field: [15] FLST
1899 //
1900 // Filter List. Indicates the filter list of the matching filter element.
1901 // 0 Standard Filter List
1902 // 1 Extended Filter List
1903 #define MCAN_HPMS_FLST 0x00008000U
1904 #define MCAN_HPMS_FLST_MASK 0x00008000U
1905 #define MCAN_HPMS_FLST_SHIFT 15U
1906 
1907 // Field: [14:8] FIDX
1908 //
1909 // Filter Index. Index of matching filter element. Range is 0 to SIDFC.LSS - 1
1910 // resp. XIDFC.LSE - 1.
1911 #define MCAN_HPMS_FIDX_WIDTH 7U
1912 #define MCAN_HPMS_FIDX_MASK 0x00007F00U
1913 #define MCAN_HPMS_FIDX_SHIFT 8U
1914 
1915 // Field: [7:6] MSI
1916 //
1917 // Message Storage Indicator
1918 // 00 No FIFO selected
1919 // 01 FIFO message lost
1920 // 10 Message stored in FIFO 0
1921 // 11 Message stored in FIFO 1
1922 #define MCAN_HPMS_MSI_WIDTH 2U
1923 #define MCAN_HPMS_MSI_MASK 0x000000C0U
1924 #define MCAN_HPMS_MSI_SHIFT 6U
1925 
1926 // Field: [5:0] BIDX
1927 //
1928 // Buffer Index. Index of Rx FIFO element to which the message was stored. Only
1929 // valid when MSI(1) = '1'.
1930 #define MCAN_HPMS_BIDX_WIDTH 6U
1931 #define MCAN_HPMS_BIDX_MASK 0x0000003FU
1932 #define MCAN_HPMS_BIDX_SHIFT 0U
1933 
1934 //*****************************************************************************
1935 //
1936 // Register: MCAN_NDAT1
1937 //
1938 //*****************************************************************************
1939 // Field: [31] ND31
1940 //
1941 // New Data RX Buffer 31
1942 // 0 Rx Buffer not updated
1943 // 1 Rx Buffer updated from new message
1944 #define MCAN_NDAT1_ND31 0x80000000U
1945 #define MCAN_NDAT1_ND31_MASK 0x80000000U
1946 #define MCAN_NDAT1_ND31_SHIFT 31U
1947 
1948 // Field: [30] ND30
1949 //
1950 // New Data RX Buffer 30
1951 // 0 Rx Buffer not updated
1952 // 1 Rx Buffer updated from new message
1953 #define MCAN_NDAT1_ND30 0x40000000U
1954 #define MCAN_NDAT1_ND30_MASK 0x40000000U
1955 #define MCAN_NDAT1_ND30_SHIFT 30U
1956 
1957 // Field: [29] ND29
1958 //
1959 // New Data RX Buffer 29
1960 // 0 Rx Buffer not updated
1961 // 1 Rx Buffer updated from new message
1962 #define MCAN_NDAT1_ND29 0x20000000U
1963 #define MCAN_NDAT1_ND29_MASK 0x20000000U
1964 #define MCAN_NDAT1_ND29_SHIFT 29U
1965 
1966 // Field: [28] ND28
1967 //
1968 // New Data RX Buffer 28
1969 // 0 Rx Buffer not updated
1970 // 1 Rx Buffer updated from new message
1971 #define MCAN_NDAT1_ND28 0x10000000U
1972 #define MCAN_NDAT1_ND28_MASK 0x10000000U
1973 #define MCAN_NDAT1_ND28_SHIFT 28U
1974 
1975 // Field: [27] ND27
1976 //
1977 // New Data RX Buffer 27
1978 // 0 Rx Buffer not updated
1979 // 1 Rx Buffer updated from new message
1980 #define MCAN_NDAT1_ND27 0x08000000U
1981 #define MCAN_NDAT1_ND27_MASK 0x08000000U
1982 #define MCAN_NDAT1_ND27_SHIFT 27U
1983 
1984 // Field: [26] ND26
1985 //
1986 // New Data RX Buffer 26
1987 // 0 Rx Buffer not updated
1988 // 1 Rx Buffer updated from new message
1989 #define MCAN_NDAT1_ND26 0x04000000U
1990 #define MCAN_NDAT1_ND26_MASK 0x04000000U
1991 #define MCAN_NDAT1_ND26_SHIFT 26U
1992 
1993 // Field: [25] ND25
1994 //
1995 // New Data RX Buffer 25
1996 // 0 Rx Buffer not updated
1997 // 1 Rx Buffer updated from new message
1998 #define MCAN_NDAT1_ND25 0x02000000U
1999 #define MCAN_NDAT1_ND25_MASK 0x02000000U
2000 #define MCAN_NDAT1_ND25_SHIFT 25U
2001 
2002 // Field: [24] ND24
2003 //
2004 // New Data RX Buffer 24
2005 // 0 Rx Buffer not updated
2006 // 1 Rx Buffer updated from new message
2007 #define MCAN_NDAT1_ND24 0x01000000U
2008 #define MCAN_NDAT1_ND24_MASK 0x01000000U
2009 #define MCAN_NDAT1_ND24_SHIFT 24U
2010 
2011 // Field: [23] ND23
2012 //
2013 // New Data RX Buffer 23
2014 // 0 Rx Buffer not updated
2015 // 1 Rx Buffer updated from new message
2016 #define MCAN_NDAT1_ND23 0x00800000U
2017 #define MCAN_NDAT1_ND23_MASK 0x00800000U
2018 #define MCAN_NDAT1_ND23_SHIFT 23U
2019 
2020 // Field: [22] ND22
2021 //
2022 // New Data RX Buffer 22
2023 // 0 Rx Buffer not updated
2024 // 1 Rx Buffer updated from new message
2025 #define MCAN_NDAT1_ND22 0x00400000U
2026 #define MCAN_NDAT1_ND22_MASK 0x00400000U
2027 #define MCAN_NDAT1_ND22_SHIFT 22U
2028 
2029 // Field: [21] ND21
2030 //
2031 // New Data RX Buffer 21
2032 // 0 Rx Buffer not updated
2033 // 1 Rx Buffer updated from new message
2034 #define MCAN_NDAT1_ND21 0x00200000U
2035 #define MCAN_NDAT1_ND21_MASK 0x00200000U
2036 #define MCAN_NDAT1_ND21_SHIFT 21U
2037 
2038 // Field: [20] ND20
2039 //
2040 // New Data RX Buffer 20
2041 // 0 Rx Buffer not updated
2042 // 1 Rx Buffer updated from new message
2043 #define MCAN_NDAT1_ND20 0x00100000U
2044 #define MCAN_NDAT1_ND20_MASK 0x00100000U
2045 #define MCAN_NDAT1_ND20_SHIFT 20U
2046 
2047 // Field: [19] ND19
2048 //
2049 // New Data RX Buffer 19
2050 // 0 Rx Buffer not updated
2051 // 1 Rx Buffer updated from new message
2052 #define MCAN_NDAT1_ND19 0x00080000U
2053 #define MCAN_NDAT1_ND19_MASK 0x00080000U
2054 #define MCAN_NDAT1_ND19_SHIFT 19U
2055 
2056 // Field: [18] ND18
2057 //
2058 // New Data RX Buffer 18
2059 // 0 Rx Buffer not updated
2060 // 1 Rx Buffer updated from new message
2061 #define MCAN_NDAT1_ND18 0x00040000U
2062 #define MCAN_NDAT1_ND18_MASK 0x00040000U
2063 #define MCAN_NDAT1_ND18_SHIFT 18U
2064 
2065 // Field: [17] ND17
2066 //
2067 // New Data RX Buffer 17
2068 // 0 Rx Buffer not updated
2069 // 1 Rx Buffer updated from new message
2070 #define MCAN_NDAT1_ND17 0x00020000U
2071 #define MCAN_NDAT1_ND17_MASK 0x00020000U
2072 #define MCAN_NDAT1_ND17_SHIFT 17U
2073 
2074 // Field: [16] ND16
2075 //
2076 // New Data RX Buffer 16
2077 // 0 Rx Buffer not updated
2078 // 1 Rx Buffer updated from new message
2079 #define MCAN_NDAT1_ND16 0x00010000U
2080 #define MCAN_NDAT1_ND16_MASK 0x00010000U
2081 #define MCAN_NDAT1_ND16_SHIFT 16U
2082 
2083 // Field: [15] ND15
2084 //
2085 // New Data RX Buffer 15
2086 // 0 Rx Buffer not updated
2087 // 1 Rx Buffer updated from new message
2088 #define MCAN_NDAT1_ND15 0x00008000U
2089 #define MCAN_NDAT1_ND15_MASK 0x00008000U
2090 #define MCAN_NDAT1_ND15_SHIFT 15U
2091 
2092 // Field: [14] ND14
2093 //
2094 // New Data RX Buffer 14
2095 // 0 Rx Buffer not updated
2096 // 1 Rx Buffer updated from new message
2097 #define MCAN_NDAT1_ND14 0x00004000U
2098 #define MCAN_NDAT1_ND14_MASK 0x00004000U
2099 #define MCAN_NDAT1_ND14_SHIFT 14U
2100 
2101 // Field: [13] ND13
2102 //
2103 // New Data RX Buffer 13
2104 // 0 Rx Buffer not updated
2105 // 1 Rx Buffer updated from new message
2106 #define MCAN_NDAT1_ND13 0x00002000U
2107 #define MCAN_NDAT1_ND13_MASK 0x00002000U
2108 #define MCAN_NDAT1_ND13_SHIFT 13U
2109 
2110 // Field: [12] ND12
2111 //
2112 // New Data RX Buffer 12
2113 // 0 Rx Buffer not updated
2114 // 1 Rx Buffer updated from new message
2115 #define MCAN_NDAT1_ND12 0x00001000U
2116 #define MCAN_NDAT1_ND12_MASK 0x00001000U
2117 #define MCAN_NDAT1_ND12_SHIFT 12U
2118 
2119 // Field: [11] ND11
2120 //
2121 // New Data RX Buffer 11
2122 // 0 Rx Buffer not updated
2123 // 1 Rx Buffer updated from new message
2124 #define MCAN_NDAT1_ND11 0x00000800U
2125 #define MCAN_NDAT1_ND11_MASK 0x00000800U
2126 #define MCAN_NDAT1_ND11_SHIFT 11U
2127 
2128 // Field: [10] ND10
2129 //
2130 // New Data RX Buffer 10
2131 // 0 Rx Buffer not updated
2132 // 1 Rx Buffer updated from new message
2133 #define MCAN_NDAT1_ND10 0x00000400U
2134 #define MCAN_NDAT1_ND10_MASK 0x00000400U
2135 #define MCAN_NDAT1_ND10_SHIFT 10U
2136 
2137 // Field: [9] ND9
2138 //
2139 // New Data RX Buffer 9
2140 // 0 Rx Buffer not updated
2141 // 1 Rx Buffer updated from new message
2142 #define MCAN_NDAT1_ND9 0x00000200U
2143 #define MCAN_NDAT1_ND9_MASK 0x00000200U
2144 #define MCAN_NDAT1_ND9_SHIFT 9U
2145 
2146 // Field: [8] ND8
2147 //
2148 // New Data RX Buffer 8
2149 // 0 Rx Buffer not updated
2150 // 1 Rx Buffer updated from new message
2151 #define MCAN_NDAT1_ND8 0x00000100U
2152 #define MCAN_NDAT1_ND8_MASK 0x00000100U
2153 #define MCAN_NDAT1_ND8_SHIFT 8U
2154 
2155 // Field: [7] ND7
2156 //
2157 // New Data RX Buffer 7
2158 // 0 Rx Buffer not updated
2159 // 1 Rx Buffer updated from new message
2160 #define MCAN_NDAT1_ND7 0x00000080U
2161 #define MCAN_NDAT1_ND7_MASK 0x00000080U
2162 #define MCAN_NDAT1_ND7_SHIFT 7U
2163 
2164 // Field: [6] ND6
2165 //
2166 // New Data RX Buffer 6
2167 // 0 Rx Buffer not updated
2168 // 1 Rx Buffer updated from new message
2169 #define MCAN_NDAT1_ND6 0x00000040U
2170 #define MCAN_NDAT1_ND6_MASK 0x00000040U
2171 #define MCAN_NDAT1_ND6_SHIFT 6U
2172 
2173 // Field: [5] ND5
2174 //
2175 // New Data RX Buffer 5
2176 // 0 Rx Buffer not updated
2177 // 1 Rx Buffer updated from new message
2178 #define MCAN_NDAT1_ND5 0x00000020U
2179 #define MCAN_NDAT1_ND5_MASK 0x00000020U
2180 #define MCAN_NDAT1_ND5_SHIFT 5U
2181 
2182 // Field: [4] ND4
2183 //
2184 // New Data RX Buffer 4
2185 // 0 Rx Buffer not updated
2186 // 1 Rx Buffer updated from new message
2187 #define MCAN_NDAT1_ND4 0x00000010U
2188 #define MCAN_NDAT1_ND4_MASK 0x00000010U
2189 #define MCAN_NDAT1_ND4_SHIFT 4U
2190 
2191 // Field: [3] ND3
2192 //
2193 // New Data RX Buffer 3
2194 // 0 Rx Buffer not updated
2195 // 1 Rx Buffer updated from new message
2196 #define MCAN_NDAT1_ND3 0x00000008U
2197 #define MCAN_NDAT1_ND3_MASK 0x00000008U
2198 #define MCAN_NDAT1_ND3_SHIFT 3U
2199 
2200 // Field: [2] ND2
2201 //
2202 // New Data RX Buffer 2
2203 // 0 Rx Buffer not updated
2204 // 1 Rx Buffer updated from new message
2205 #define MCAN_NDAT1_ND2 0x00000004U
2206 #define MCAN_NDAT1_ND2_MASK 0x00000004U
2207 #define MCAN_NDAT1_ND2_SHIFT 2U
2208 
2209 // Field: [1] ND1
2210 //
2211 // New Data RX Buffer 1
2212 // 0 Rx Buffer not updated
2213 // 1 Rx Buffer updated from new message
2214 #define MCAN_NDAT1_ND1 0x00000002U
2215 #define MCAN_NDAT1_ND1_MASK 0x00000002U
2216 #define MCAN_NDAT1_ND1_SHIFT 1U
2217 
2218 // Field: [0] ND0
2219 //
2220 // New Data RX Buffer 0
2221 // 0 Rx Buffer not updated
2222 // 1 Rx Buffer updated from new message
2223 #define MCAN_NDAT1_ND0 0x00000001U
2224 #define MCAN_NDAT1_ND0_MASK 0x00000001U
2225 #define MCAN_NDAT1_ND0_SHIFT 0U
2226 
2227 //*****************************************************************************
2228 //
2229 // Register: MCAN_NDAT2
2230 //
2231 //*****************************************************************************
2232 // Field: [31] ND63
2233 //
2234 // New Data RX Buffer 63
2235 // 0 Rx Buffer not updated
2236 // 1 Rx Buffer updated from new message
2237 #define MCAN_NDAT2_ND63 0x80000000U
2238 #define MCAN_NDAT2_ND63_MASK 0x80000000U
2239 #define MCAN_NDAT2_ND63_SHIFT 31U
2240 
2241 // Field: [30] ND62
2242 //
2243 // New Data RX Buffer 62
2244 // 0 Rx Buffer not updated
2245 // 1 Rx Buffer updated from new message
2246 #define MCAN_NDAT2_ND62 0x40000000U
2247 #define MCAN_NDAT2_ND62_MASK 0x40000000U
2248 #define MCAN_NDAT2_ND62_SHIFT 30U
2249 
2250 // Field: [29] ND61
2251 //
2252 // New Data RX Buffer 61
2253 // 0 Rx Buffer not updated
2254 // 1 Rx Buffer updated from new message
2255 #define MCAN_NDAT2_ND61 0x20000000U
2256 #define MCAN_NDAT2_ND61_MASK 0x20000000U
2257 #define MCAN_NDAT2_ND61_SHIFT 29U
2258 
2259 // Field: [28] ND60
2260 //
2261 // New Data RX Buffer 60
2262 // 0 Rx Buffer not updated
2263 // 1 Rx Buffer updated from new message
2264 #define MCAN_NDAT2_ND60 0x10000000U
2265 #define MCAN_NDAT2_ND60_MASK 0x10000000U
2266 #define MCAN_NDAT2_ND60_SHIFT 28U
2267 
2268 // Field: [27] ND59
2269 //
2270 // New Data RX Buffer 59
2271 // 0 Rx Buffer not updated
2272 // 1 Rx Buffer updated from new message
2273 #define MCAN_NDAT2_ND59 0x08000000U
2274 #define MCAN_NDAT2_ND59_MASK 0x08000000U
2275 #define MCAN_NDAT2_ND59_SHIFT 27U
2276 
2277 // Field: [26] ND58
2278 //
2279 // New Data RX Buffer 58
2280 // 0 Rx Buffer not updated
2281 // 1 Rx Buffer updated from new message
2282 #define MCAN_NDAT2_ND58 0x04000000U
2283 #define MCAN_NDAT2_ND58_MASK 0x04000000U
2284 #define MCAN_NDAT2_ND58_SHIFT 26U
2285 
2286 // Field: [25] ND57
2287 //
2288 // New Data RX Buffer 57
2289 // 0 Rx Buffer not updated
2290 // 1 Rx Buffer updated from new message
2291 #define MCAN_NDAT2_ND57 0x02000000U
2292 #define MCAN_NDAT2_ND57_MASK 0x02000000U
2293 #define MCAN_NDAT2_ND57_SHIFT 25U
2294 
2295 // Field: [24] ND56
2296 //
2297 // New Data RX Buffer 56
2298 // 0 Rx Buffer not updated
2299 // 1 Rx Buffer updated from new message
2300 #define MCAN_NDAT2_ND56 0x01000000U
2301 #define MCAN_NDAT2_ND56_MASK 0x01000000U
2302 #define MCAN_NDAT2_ND56_SHIFT 24U
2303 
2304 // Field: [23] ND55
2305 //
2306 // New Data RX Buffer 55
2307 // 0 Rx Buffer not updated
2308 // 1 Rx Buffer updated from new message
2309 #define MCAN_NDAT2_ND55 0x00800000U
2310 #define MCAN_NDAT2_ND55_MASK 0x00800000U
2311 #define MCAN_NDAT2_ND55_SHIFT 23U
2312 
2313 // Field: [22] ND54
2314 //
2315 // New Data RX Buffer 54
2316 // 0 Rx Buffer not updated
2317 // 1 Rx Buffer updated from new message
2318 #define MCAN_NDAT2_ND54 0x00400000U
2319 #define MCAN_NDAT2_ND54_MASK 0x00400000U
2320 #define MCAN_NDAT2_ND54_SHIFT 22U
2321 
2322 // Field: [21] ND53
2323 //
2324 // New Data RX Buffer 53
2325 // 0 Rx Buffer not updated
2326 // 1 Rx Buffer updated from new message
2327 #define MCAN_NDAT2_ND53 0x00200000U
2328 #define MCAN_NDAT2_ND53_MASK 0x00200000U
2329 #define MCAN_NDAT2_ND53_SHIFT 21U
2330 
2331 // Field: [20] ND52
2332 //
2333 // New Data RX Buffer 52
2334 // 0 Rx Buffer not updated
2335 // 1 Rx Buffer updated from new message
2336 #define MCAN_NDAT2_ND52 0x00100000U
2337 #define MCAN_NDAT2_ND52_MASK 0x00100000U
2338 #define MCAN_NDAT2_ND52_SHIFT 20U
2339 
2340 // Field: [19] ND51
2341 //
2342 // New Data RX Buffer 51
2343 // 0 Rx Buffer not updated
2344 // 1 Rx Buffer updated from new message
2345 #define MCAN_NDAT2_ND51 0x00080000U
2346 #define MCAN_NDAT2_ND51_MASK 0x00080000U
2347 #define MCAN_NDAT2_ND51_SHIFT 19U
2348 
2349 // Field: [18] ND50
2350 //
2351 // New Data RX Buffer 50
2352 // 0 Rx Buffer not updated
2353 // 1 Rx Buffer updated from new message
2354 #define MCAN_NDAT2_ND50 0x00040000U
2355 #define MCAN_NDAT2_ND50_MASK 0x00040000U
2356 #define MCAN_NDAT2_ND50_SHIFT 18U
2357 
2358 // Field: [17] ND49
2359 //
2360 // New Data RX Buffer 49
2361 // 0 Rx Buffer not updated
2362 // 1 Rx Buffer updated from new message
2363 #define MCAN_NDAT2_ND49 0x00020000U
2364 #define MCAN_NDAT2_ND49_MASK 0x00020000U
2365 #define MCAN_NDAT2_ND49_SHIFT 17U
2366 
2367 // Field: [16] ND48
2368 //
2369 // New Data RX Buffer 48
2370 // 0 Rx Buffer not updated
2371 // 1 Rx Buffer updated from new message
2372 #define MCAN_NDAT2_ND48 0x00010000U
2373 #define MCAN_NDAT2_ND48_MASK 0x00010000U
2374 #define MCAN_NDAT2_ND48_SHIFT 16U
2375 
2376 // Field: [15] ND47
2377 //
2378 // New Data RX Buffer 47
2379 // 0 Rx Buffer not updated
2380 // 1 Rx Buffer updated from new message
2381 #define MCAN_NDAT2_ND47 0x00008000U
2382 #define MCAN_NDAT2_ND47_MASK 0x00008000U
2383 #define MCAN_NDAT2_ND47_SHIFT 15U
2384 
2385 // Field: [14] ND46
2386 //
2387 // New Data RX Buffer 46
2388 // 0 Rx Buffer not updated
2389 // 1 Rx Buffer updated from new message
2390 #define MCAN_NDAT2_ND46 0x00004000U
2391 #define MCAN_NDAT2_ND46_MASK 0x00004000U
2392 #define MCAN_NDAT2_ND46_SHIFT 14U
2393 
2394 // Field: [13] ND45
2395 //
2396 // New Data RX Buffer 45
2397 // 0 Rx Buffer not updated
2398 // 1 Rx Buffer updated from new message
2399 #define MCAN_NDAT2_ND45 0x00002000U
2400 #define MCAN_NDAT2_ND45_MASK 0x00002000U
2401 #define MCAN_NDAT2_ND45_SHIFT 13U
2402 
2403 // Field: [12] ND44
2404 //
2405 // New Data RX Buffer 44
2406 // 0 Rx Buffer not updated
2407 // 1 Rx Buffer updated from new message
2408 #define MCAN_NDAT2_ND44 0x00001000U
2409 #define MCAN_NDAT2_ND44_MASK 0x00001000U
2410 #define MCAN_NDAT2_ND44_SHIFT 12U
2411 
2412 // Field: [11] ND43
2413 //
2414 // New Data RX Buffer 43
2415 // 0 Rx Buffer not updated
2416 // 1 Rx Buffer updated from new message
2417 #define MCAN_NDAT2_ND43 0x00000800U
2418 #define MCAN_NDAT2_ND43_MASK 0x00000800U
2419 #define MCAN_NDAT2_ND43_SHIFT 11U
2420 
2421 // Field: [10] ND42
2422 //
2423 // New Data RX Buffer 42
2424 // 0 Rx Buffer not updated
2425 // 1 Rx Buffer updated from new message
2426 #define MCAN_NDAT2_ND42 0x00000400U
2427 #define MCAN_NDAT2_ND42_MASK 0x00000400U
2428 #define MCAN_NDAT2_ND42_SHIFT 10U
2429 
2430 // Field: [9] ND41
2431 //
2432 // New Data RX Buffer 41
2433 // 0 Rx Buffer not updated
2434 // 1 Rx Buffer updated from new message
2435 #define MCAN_NDAT2_ND41 0x00000200U
2436 #define MCAN_NDAT2_ND41_MASK 0x00000200U
2437 #define MCAN_NDAT2_ND41_SHIFT 9U
2438 
2439 // Field: [8] ND40
2440 //
2441 // New Data RX Buffer 40
2442 // 0 Rx Buffer not updated
2443 // 1 Rx Buffer updated from new message
2444 #define MCAN_NDAT2_ND40 0x00000100U
2445 #define MCAN_NDAT2_ND40_MASK 0x00000100U
2446 #define MCAN_NDAT2_ND40_SHIFT 8U
2447 
2448 // Field: [7] ND39
2449 //
2450 // New Data RX Buffer 39
2451 // 0 Rx Buffer not updated
2452 // 1 Rx Buffer updated from new message
2453 #define MCAN_NDAT2_ND39 0x00000080U
2454 #define MCAN_NDAT2_ND39_MASK 0x00000080U
2455 #define MCAN_NDAT2_ND39_SHIFT 7U
2456 
2457 // Field: [6] ND38
2458 //
2459 // New Data RX Buffer 38
2460 // 0 Rx Buffer not updated
2461 // 1 Rx Buffer updated from new message
2462 #define MCAN_NDAT2_ND38 0x00000040U
2463 #define MCAN_NDAT2_ND38_MASK 0x00000040U
2464 #define MCAN_NDAT2_ND38_SHIFT 6U
2465 
2466 // Field: [5] ND37
2467 //
2468 // New Data RX Buffer 37
2469 // 0 Rx Buffer not updated
2470 // 1 Rx Buffer updated from new message
2471 #define MCAN_NDAT2_ND37 0x00000020U
2472 #define MCAN_NDAT2_ND37_MASK 0x00000020U
2473 #define MCAN_NDAT2_ND37_SHIFT 5U
2474 
2475 // Field: [4] ND36
2476 //
2477 // New Data RX Buffer 36
2478 // 0 Rx Buffer not updated
2479 // 1 Rx Buffer updated from new message
2480 #define MCAN_NDAT2_ND36 0x00000010U
2481 #define MCAN_NDAT2_ND36_MASK 0x00000010U
2482 #define MCAN_NDAT2_ND36_SHIFT 4U
2483 
2484 // Field: [3] ND35
2485 //
2486 // New Data RX Buffer 35
2487 // 0 Rx Buffer not updated
2488 // 1 Rx Buffer updated from new message
2489 #define MCAN_NDAT2_ND35 0x00000008U
2490 #define MCAN_NDAT2_ND35_MASK 0x00000008U
2491 #define MCAN_NDAT2_ND35_SHIFT 3U
2492 
2493 // Field: [2] ND34
2494 //
2495 // New Data RX Buffer 34
2496 // 0 Rx Buffer not updated
2497 // 1 Rx Buffer updated from new message
2498 #define MCAN_NDAT2_ND34 0x00000004U
2499 #define MCAN_NDAT2_ND34_MASK 0x00000004U
2500 #define MCAN_NDAT2_ND34_SHIFT 2U
2501 
2502 // Field: [1] ND33
2503 //
2504 // New Data RX Buffer 33
2505 // 0 Rx Buffer not updated
2506 // 1 Rx Buffer updated from new message
2507 #define MCAN_NDAT2_ND33 0x00000002U
2508 #define MCAN_NDAT2_ND33_MASK 0x00000002U
2509 #define MCAN_NDAT2_ND33_SHIFT 1U
2510 
2511 // Field: [0] ND32
2512 //
2513 // New Data RX Buffer 32
2514 // 0 Rx Buffer not updated
2515 // 1 Rx Buffer updated from new message
2516 #define MCAN_NDAT2_ND32 0x00000001U
2517 #define MCAN_NDAT2_ND32_MASK 0x00000001U
2518 #define MCAN_NDAT2_ND32_SHIFT 0U
2519 
2520 //*****************************************************************************
2521 //
2522 // Register: MCAN_RXF0C
2523 //
2524 //*****************************************************************************
2525 // Field: [31] F0OM
2526 //
2527 // FIFO 0 Operation Mode. FIFO 0 can be operated in blocking or in overwrite
2528 // mode.
2529 // 0 FIFO 0 blocking mode
2530 // 1 FIFO 0 overwrite mode
2531 //
2532 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2533 #define MCAN_RXF0C_F0OM 0x80000000U
2534 #define MCAN_RXF0C_F0OM_MASK 0x80000000U
2535 #define MCAN_RXF0C_F0OM_SHIFT 31U
2536 
2537 // Field: [30:24] F0WM
2538 //
2539 // Rx FIFO 0 Watermark
2540 // 0 Watermark interrupt disabled
2541 // 1-64 Level for Rx FIFO 0 watermark interrupt (IR.RF0W)
2542 // >64 Watermark interrupt disabled
2543 //
2544 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2545 #define MCAN_RXF0C_F0WM_WIDTH 7U
2546 #define MCAN_RXF0C_F0WM_MASK 0x7F000000U
2547 #define MCAN_RXF0C_F0WM_SHIFT 24U
2548 
2549 // Field: [22:16] F0S
2550 //
2551 // Rx FIFO 0 Size. The Rx FIFO 0 elements are indexed from 0 to F0S-1.
2552 // 0 No Rx FIFO 0
2553 // 1-64 Number of Rx FIFO 0 elements
2554 // >64 Values greater than 64 are interpreted as 64
2555 //
2556 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2557 #define MCAN_RXF0C_F0S_WIDTH 7U
2558 #define MCAN_RXF0C_F0S_MASK 0x007F0000U
2559 #define MCAN_RXF0C_F0S_SHIFT 16U
2560 
2561 // Field: [15:2] F0SA
2562 //
2563 // Rx FIFO 0 Start Address. Start address of Rx FIFO 0 in Message RAM (32-bit
2564 // word address).
2565 //
2566 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2567 #define MCAN_RXF0C_F0SA_WIDTH 14U
2568 #define MCAN_RXF0C_F0SA_MASK 0x0000FFFCU
2569 #define MCAN_RXF0C_F0SA_SHIFT 2U
2570 
2571 //*****************************************************************************
2572 //
2573 // Register: MCAN_RXF0S
2574 //
2575 //*****************************************************************************
2576 // Field: [25] RF0L
2577 //
2578 // Rx FIFO 0 Message Lost. This bit is a copy of interrupt flag IR.RF0L. When
2579 // IR.RF0L is reset, this bit is also reset.
2580 // 0 No Rx FIFO 0 message lost
2581 // 1 Rx FIFO 0 message lost, also set after write attempt to Rx FIFO 0 of
2582 // size zero
2583 //
2584 // Note: Overwriting the oldest message when RXF0C.F0OM = '1' will not set this
2585 // flag.
2586 #define MCAN_RXF0S_RF0L 0x02000000U
2587 #define MCAN_RXF0S_RF0L_MASK 0x02000000U
2588 #define MCAN_RXF0S_RF0L_SHIFT 25U
2589 
2590 // Field: [24] F0F
2591 //
2592 // Rx FIFO 0 Full
2593 // 0 Rx FIFO 0 not full
2594 // 1 Rx FIFO 0 full
2595 #define MCAN_RXF0S_F0F 0x01000000U
2596 #define MCAN_RXF0S_F0F_MASK 0x01000000U
2597 #define MCAN_RXF0S_F0F_SHIFT 24U
2598 
2599 // Field: [21:16] F0PI
2600 //
2601 // Rx FIFO 0 Put Index. Rx FIFO 0 write index pointer, range 0 to 63.
2602 #define MCAN_RXF0S_F0PI_WIDTH 6U
2603 #define MCAN_RXF0S_F0PI_MASK 0x003F0000U
2604 #define MCAN_RXF0S_F0PI_SHIFT 16U
2605 
2606 // Field: [13:8] F0GI
2607 //
2608 // Rx FIFO 0 Get Index. Rx FIFO 0 read index pointer, range 0 to 63.
2609 #define MCAN_RXF0S_F0GI_WIDTH 6U
2610 #define MCAN_RXF0S_F0GI_MASK 0x00003F00U
2611 #define MCAN_RXF0S_F0GI_SHIFT 8U
2612 
2613 // Field: [6:0] F0FL
2614 //
2615 // Rx FIFO 0 Fill Level. Number of elements stored in Rx FIFO 0, range 0 to 64.
2616 #define MCAN_RXF0S_F0FL_WIDTH 7U
2617 #define MCAN_RXF0S_F0FL_MASK 0x0000007FU
2618 #define MCAN_RXF0S_F0FL_SHIFT 0U
2619 
2620 //*****************************************************************************
2621 //
2622 // Register: MCAN_RXF0A
2623 //
2624 //*****************************************************************************
2625 // Field: [5:0] F0AI
2626 //
2627 // Rx FIFO 0 Acknowledge Index. After the Host has read a message or a sequence
2628 // of messages from Rx FIFO 0 it has to write the buffer index of the last
2629 // element read from Rx FIFO 0 to F0AI. This will set the Rx FIFO 0 Get Index
2630 // RXF0S.F0GI to F0AI + 1 and update the FIFO 0 Fill Level RXF0S.F0FL.
2631 #define MCAN_RXF0A_F0AI_WIDTH 6U
2632 #define MCAN_RXF0A_F0AI_MASK 0x0000003FU
2633 #define MCAN_RXF0A_F0AI_SHIFT 0U
2634 
2635 //*****************************************************************************
2636 //
2637 // Register: MCAN_RXBC
2638 //
2639 //*****************************************************************************
2640 // Field: [15:2] RBSA
2641 //
2642 // Rx Buffer Start Address. Configures the start address of the Rx Buffers
2643 // section in the Message RAM (32-bit word address).
2644 #define MCAN_RXBC_RBSA_WIDTH 14U
2645 #define MCAN_RXBC_RBSA_MASK 0x0000FFFCU
2646 #define MCAN_RXBC_RBSA_SHIFT 2U
2647 
2648 //*****************************************************************************
2649 //
2650 // Register: MCAN_RXF1C
2651 //
2652 //*****************************************************************************
2653 // Field: [31] F1OM
2654 //
2655 // FIFO 1 Operation Mode. FIFO 1 can be operated in blocking or in overwrite
2656 // mode.
2657 // 0 FIFO 1 blocking mode
2658 // 1 FIFO 1 overwrite mode
2659 //
2660 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2661 #define MCAN_RXF1C_F1OM 0x80000000U
2662 #define MCAN_RXF1C_F1OM_MASK 0x80000000U
2663 #define MCAN_RXF1C_F1OM_SHIFT 31U
2664 
2665 // Field: [30:24] F1WM
2666 //
2667 // Rx FIFO 1 Watermark
2668 // 0 Watermark interrupt disabled
2669 // 1-64 Level for Rx FIFO 1 watermark interrupt (IR.RF1W)
2670 // >64 Watermark interrupt disabled
2671 //
2672 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2673 #define MCAN_RXF1C_F1WM_WIDTH 7U
2674 #define MCAN_RXF1C_F1WM_MASK 0x7F000000U
2675 #define MCAN_RXF1C_F1WM_SHIFT 24U
2676 
2677 // Field: [22:16] F1S
2678 //
2679 // Rx FIFO 1 Size. The Rx FIFO 1 elements are indexed from 0 to F1S - 1.
2680 // 0 No Rx FIFO 1
2681 // 1-64 Number of Rx FIFO 1 elements
2682 // >64 Values greater than 64 are interpreted as 64
2683 //
2684 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2685 #define MCAN_RXF1C_F1S_WIDTH 7U
2686 #define MCAN_RXF1C_F1S_MASK 0x007F0000U
2687 #define MCAN_RXF1C_F1S_SHIFT 16U
2688 
2689 // Field: [15:2] F1SA
2690 //
2691 // Rx FIFO 1 Start Address Start address of Rx FIFO 1 in Message RAM (32-bit
2692 // word address).
2693 #define MCAN_RXF1C_F1SA_WIDTH 14U
2694 #define MCAN_RXF1C_F1SA_MASK 0x0000FFFCU
2695 #define MCAN_RXF1C_F1SA_SHIFT 2U
2696 
2697 //*****************************************************************************
2698 //
2699 // Register: MCAN_RXF1S
2700 //
2701 //*****************************************************************************
2702 // Field: [31:30] DMS
2703 //
2704 // Debug Message Status
2705 // 00 Idle state, wait for reception of debug messages, DMA request is
2706 // cleared
2707 // 01 Debug message A received
2708 // 10 Debug messages A, B received
2709 // 11 Debug messages A, B, C received, DMA request is set
2710 #define MCAN_RXF1S_DMS_WIDTH 2U
2711 #define MCAN_RXF1S_DMS_MASK 0xC0000000U
2712 #define MCAN_RXF1S_DMS_SHIFT 30U
2713 
2714 // Field: [25] RF1L
2715 //
2716 // Rx FIFO 1 Message Lost. This bit is a copy of interrupt flag IR.RF1L. When
2717 // IR.RF1L is reset, this bit is also reset.
2718 // 0 No Rx FIFO 1 message lost
2719 // 1 Rx FIFO 1 message lost, also set after write attempt to Rx FIFO 1 of
2720 // size zero
2721 //
2722 // Note: Overwriting the oldest message when RXF1C.F1OM = '1' will not set this
2723 // flag.
2724 #define MCAN_RXF1S_RF1L 0x02000000U
2725 #define MCAN_RXF1S_RF1L_MASK 0x02000000U
2726 #define MCAN_RXF1S_RF1L_SHIFT 25U
2727 
2728 // Field: [24] F1F
2729 //
2730 // Rx FIFO 1 Full
2731 // 0 Rx FIFO 1 not full
2732 // 1 Rx FIFO 1 full
2733 #define MCAN_RXF1S_F1F 0x01000000U
2734 #define MCAN_RXF1S_F1F_MASK 0x01000000U
2735 #define MCAN_RXF1S_F1F_SHIFT 24U
2736 
2737 // Field: [21:16] F1PI
2738 //
2739 // Rx FIFO 1 Put Index. Rx FIFO 1 write index pointer, range 0 to 63.
2740 #define MCAN_RXF1S_F1PI_WIDTH 6U
2741 #define MCAN_RXF1S_F1PI_MASK 0x003F0000U
2742 #define MCAN_RXF1S_F1PI_SHIFT 16U
2743 
2744 // Field: [13:8] F1GI
2745 //
2746 // Rx FIFO 1 Get Index. Rx FIFO 1 read index pointer, range 0 to 63.
2747 #define MCAN_RXF1S_F1GI_WIDTH 6U
2748 #define MCAN_RXF1S_F1GI_MASK 0x00003F00U
2749 #define MCAN_RXF1S_F1GI_SHIFT 8U
2750 
2751 // Field: [6:0] F1FL
2752 //
2753 // Rx FIFO 1 Fill Level. Number of elements stored in Rx FIFO 1, range 0 to 64.
2754 #define MCAN_RXF1S_F1FL_WIDTH 7U
2755 #define MCAN_RXF1S_F1FL_MASK 0x0000007FU
2756 #define MCAN_RXF1S_F1FL_SHIFT 0U
2757 
2758 //*****************************************************************************
2759 //
2760 // Register: MCAN_RXF1A
2761 //
2762 //*****************************************************************************
2763 // Field: [5:0] F1AI
2764 //
2765 // Rx FIFO 1 Acknowledge Index. After the Host has read a message or a sequence
2766 // of messages from Rx FIFO 1 it has to write the buffer index of the last
2767 // element read from Rx FIFO 1 to F1AI. This will set the Rx FIFO 1 Get Index
2768 // RXF1S.F1GI to F1AI + 1 and update the FIFO 1 Fill Level RXF1S.F1FL.
2769 #define MCAN_RXF1A_F1AI_WIDTH 6U
2770 #define MCAN_RXF1A_F1AI_MASK 0x0000003FU
2771 #define MCAN_RXF1A_F1AI_SHIFT 0U
2772 
2773 //*****************************************************************************
2774 //
2775 // Register: MCAN_RXESC
2776 //
2777 //*****************************************************************************
2778 // Field: [10:8] RBDS
2779 //
2780 // Rx Buffer Data Field Size
2781 // 000 8 byte data field
2782 // 001 12 byte data field
2783 // 010 16 byte data field
2784 // 011 20 byte data field
2785 // 100 24 byte data field
2786 // 101 32 byte data field
2787 // 110 48 byte data field
2788 // 111 64 byte data field
2789 //
2790 // Note: In case the data field size of an accepted CAN frame exceeds the data
2791 // field size configured for the matching Rx Buffer or Rx FIFO, only the number
2792 // of bytes as configured by RXESC are stored to the Rx Buffer resp. Rx FIFO
2793 // element. The rest of the frame's data field is ignored.
2794 //
2795 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2796 #define MCAN_RXESC_RBDS_WIDTH 3U
2797 #define MCAN_RXESC_RBDS_MASK 0x00000700U
2798 #define MCAN_RXESC_RBDS_SHIFT 8U
2799 
2800 // Field: [6:4] F1DS
2801 //
2802 // Rx FIFO 1 Data Field Size
2803 // 000 8 byte data field
2804 // 001 12 byte data field
2805 // 010 16 byte data field
2806 // 011 20 byte data field
2807 // 100 24 byte data field
2808 // 101 32 byte data field
2809 // 110 48 byte data field
2810 // 111 64 byte data field
2811 //
2812 // Note: In case the data field size of an accepted CAN frame exceeds the data
2813 // field size configured for the matching Rx Buffer or Rx FIFO, only the number
2814 // of bytes as configured by RXESC are stored to the Rx Buffer resp. Rx FIFO
2815 // element. The rest of the frame's data field is ignored.
2816 //
2817 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2818 #define MCAN_RXESC_F1DS_WIDTH 3U
2819 #define MCAN_RXESC_F1DS_MASK 0x00000070U
2820 #define MCAN_RXESC_F1DS_SHIFT 4U
2821 
2822 // Field: [2:0] F0DS
2823 //
2824 // Rx FIFO 0 Data Field Size
2825 // 000 8 byte data field
2826 // 001 12 byte data field
2827 // 010 16 byte data field
2828 // 011 20 byte data field
2829 // 100 24 byte data field
2830 // 101 32 byte data field
2831 // 110 48 byte data field
2832 // 111 64 byte data field
2833 //
2834 // Note: In case the data field size of an accepted CAN frame exceeds the data
2835 // field size configured for the matching Rx Buffer or Rx FIFO, only the number
2836 // of bytes as configured by RXESC are stored to the Rx Buffer resp. Rx FIFO
2837 // element. The rest of the frame's data field is ignored.
2838 //
2839 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2840 #define MCAN_RXESC_F0DS_WIDTH 3U
2841 #define MCAN_RXESC_F0DS_MASK 0x00000007U
2842 #define MCAN_RXESC_F0DS_SHIFT 0U
2843 
2844 //*****************************************************************************
2845 //
2846 // Register: MCAN_TXBC
2847 //
2848 //*****************************************************************************
2849 // Field: [30] TFQM
2850 //
2851 // Tx FIFO/Queue Mode
2852 // 0 Tx FIFO operation
2853 // 1 Tx Queue operation
2854 //
2855 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2856 #define MCAN_TXBC_TFQM 0x40000000U
2857 #define MCAN_TXBC_TFQM_MASK 0x40000000U
2858 #define MCAN_TXBC_TFQM_SHIFT 30U
2859 
2860 // Field: [29:24] TFQS
2861 //
2862 // Transmit FIFO/Queue Size
2863 // 0 No Tx FIFO/Queue
2864 // 1-32 Number of Tx Buffers used for Tx FIFO/Queue
2865 // >32 Values greater than 32 are interpreted as 32
2866 //
2867 // Note: Be aware that the sum of TFQS and NDTB may be not greater than 32.
2868 // There is no check
2869 // for erroneous configurations. The Tx Buffers section in the Message RAM
2870 // starts with the
2871 // dedicated Tx Buffers.
2872 //
2873 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2874 #define MCAN_TXBC_TFQS_WIDTH 6U
2875 #define MCAN_TXBC_TFQS_MASK 0x3F000000U
2876 #define MCAN_TXBC_TFQS_SHIFT 24U
2877 
2878 // Field: [21:16] NDTB
2879 //
2880 // Number of Dedicated Transmit Buffers
2881 // 0 No Dedicated Tx Buffers
2882 // 1-32 Number of Dedicated Tx Buffers
2883 // >32 Values greater than 32 are interpreted as 32
2884 //
2885 // Note: Be aware that the sum of TFQS and NDTB may be not greater than 32.
2886 // There is no check
2887 // for erroneous configurations. The Tx Buffers section in the Message RAM
2888 // starts with the
2889 // dedicated Tx Buffers.
2890 //
2891 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2892 #define MCAN_TXBC_NDTB_WIDTH 6U
2893 #define MCAN_TXBC_NDTB_MASK 0x003F0000U
2894 #define MCAN_TXBC_NDTB_SHIFT 16U
2895 
2896 // Field: [15:2] TBSA
2897 //
2898 // Tx Buffers Start Address. Start address of Tx Buffers section in Message RAM
2899 // (32-bit word address).
2900 //
2901 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2902 #define MCAN_TXBC_TBSA_WIDTH 14U
2903 #define MCAN_TXBC_TBSA_MASK 0x0000FFFCU
2904 #define MCAN_TXBC_TBSA_SHIFT 2U
2905 
2906 //*****************************************************************************
2907 //
2908 // Register: MCAN_TXFQS
2909 //
2910 //*****************************************************************************
2911 // Field: [21] TFQF
2912 //
2913 // Tx FIFO/Queue Full
2914 // 0 Tx FIFO/Queue not full
2915 // 1 Tx FIFO/Queue full
2916 #define MCAN_TXFQS_TFQF 0x00200000U
2917 #define MCAN_TXFQS_TFQF_MASK 0x00200000U
2918 #define MCAN_TXFQS_TFQF_SHIFT 21U
2919 
2920 // Field: [20:16] TFQPI
2921 //
2922 // Tx FIFO/Queue Put Index. Tx FIFO/Queue write index pointer, range 0 to 31.
2923 //
2924 // Note: In case of mixed configurations where dedicated Tx Buffers are
2925 // combined with a Tx FIFO or a Tx Queue, the Put and Get Indices indicate the
2926 // number of the Tx Buffer starting with the first dedicated Tx Buffers.
2927 // Example: For a configuration of 12 dedicated Tx Buffers and a Tx FIFO of 20
2928 // Buffers a Put Index of 15 points to the fourth buffer of the Tx FIFO.
2929 #define MCAN_TXFQS_TFQPI_WIDTH 5U
2930 #define MCAN_TXFQS_TFQPI_MASK 0x001F0000U
2931 #define MCAN_TXFQS_TFQPI_SHIFT 16U
2932 
2933 // Field: [12:8] TFGI
2934 //
2935 // Tx FIFO Get Index. Tx FIFO read index pointer, range 0 to 31. Read as zero
2936 // when Tx Queue operation is configured (TXBC.TFQM = '1').
2937 //
2938 // Note: In case of mixed configurations where dedicated Tx Buffers are
2939 // combined with a Tx FIFO or a Tx Queue, the Put and Get Indices indicate the
2940 // number of the Tx Buffer starting with the first dedicated Tx Buffers.
2941 // Example: For a configuration of 12 dedicated Tx Buffers and a Tx FIFO of 20
2942 // Buffers a Put Index of 15 points to the fourth buffer of the Tx FIFO.
2943 #define MCAN_TXFQS_TFGI_WIDTH 5U
2944 #define MCAN_TXFQS_TFGI_MASK 0x00001F00U
2945 #define MCAN_TXFQS_TFGI_SHIFT 8U
2946 
2947 // Field: [5:0] TFFL
2948 //
2949 // Tx FIFO Free Level. Number of consecutive free Tx FIFO elements starting
2950 // from TFGI, range 0 to 32. Read as zero when Tx Queue operation is configured
2951 // (TXBC.TFQM = '1').
2952 #define MCAN_TXFQS_TFFL_WIDTH 6U
2953 #define MCAN_TXFQS_TFFL_MASK 0x0000003FU
2954 #define MCAN_TXFQS_TFFL_SHIFT 0U
2955 
2956 //*****************************************************************************
2957 //
2958 // Register: MCAN_TXESC
2959 //
2960 //*****************************************************************************
2961 // Field: [2:0] TBDS
2962 //
2963 // Tx Buffer Data Field Size
2964 // 000 8 byte data field
2965 // 001 12 byte data field
2966 // 010 16 byte data field
2967 // 011 20 byte data field
2968 // 100 24 byte data field
2969 // 101 32 byte data field
2970 // 110 48 byte data field
2971 // 111 64 byte data field
2972 //
2973 // Note: In case the data length code DLC of a Tx Buffer element is configured
2974 // to a value higher than the Tx Buffer data field size TXESC.TBDS, the bytes
2975 // not defined by the Tx Buffer are transmitted as "0xCC" (padding bytes).
2976 //
2977 // Qualified Write is possible only with CCCR.CCE='1' and CCCR.INIT='1'.
2978 #define MCAN_TXESC_TBDS_WIDTH 3U
2979 #define MCAN_TXESC_TBDS_MASK 0x00000007U
2980 #define MCAN_TXESC_TBDS_SHIFT 0U
2981 
2982 //*****************************************************************************
2983 //
2984 // Register: MCAN_TXBRP
2985 //
2986 //*****************************************************************************
2987 // Field: [31] TRP31
2988 //
2989 // Transmission Request Pending 31. See description for bit 0.
2990 #define MCAN_TXBRP_TRP31 0x80000000U
2991 #define MCAN_TXBRP_TRP31_MASK 0x80000000U
2992 #define MCAN_TXBRP_TRP31_SHIFT 31U
2993 
2994 // Field: [30] TRP30
2995 //
2996 // Transmission Request Pending 30. See description for bit 0.
2997 #define MCAN_TXBRP_TRP30 0x40000000U
2998 #define MCAN_TXBRP_TRP30_MASK 0x40000000U
2999 #define MCAN_TXBRP_TRP30_SHIFT 30U
3000 
3001 // Field: [29] TRP29
3002 //
3003 // Transmission Request Pending 29. See description for bit 0.
3004 #define MCAN_TXBRP_TRP29 0x20000000U
3005 #define MCAN_TXBRP_TRP29_MASK 0x20000000U
3006 #define MCAN_TXBRP_TRP29_SHIFT 29U
3007 
3008 // Field: [28] TRP28
3009 //
3010 // Transmission Request Pending 28. See description for bit 0.
3011 #define MCAN_TXBRP_TRP28 0x10000000U
3012 #define MCAN_TXBRP_TRP28_MASK 0x10000000U
3013 #define MCAN_TXBRP_TRP28_SHIFT 28U
3014 
3015 // Field: [27] TRP27
3016 //
3017 // Transmission Request Pending 27. See description for bit 0.
3018 #define MCAN_TXBRP_TRP27 0x08000000U
3019 #define MCAN_TXBRP_TRP27_MASK 0x08000000U
3020 #define MCAN_TXBRP_TRP27_SHIFT 27U
3021 
3022 // Field: [26] TRP26
3023 //
3024 // Transmission Request Pending 26. See description for bit 0.
3025 #define MCAN_TXBRP_TRP26 0x04000000U
3026 #define MCAN_TXBRP_TRP26_MASK 0x04000000U
3027 #define MCAN_TXBRP_TRP26_SHIFT 26U
3028 
3029 // Field: [25] TRP25
3030 //
3031 // Transmission Request Pending 25. See description for bit 0.
3032 #define MCAN_TXBRP_TRP25 0x02000000U
3033 #define MCAN_TXBRP_TRP25_MASK 0x02000000U
3034 #define MCAN_TXBRP_TRP25_SHIFT 25U
3035 
3036 // Field: [24] TRP24
3037 //
3038 // Transmission Request Pending 24. See description for bit 0.
3039 #define MCAN_TXBRP_TRP24 0x01000000U
3040 #define MCAN_TXBRP_TRP24_MASK 0x01000000U
3041 #define MCAN_TXBRP_TRP24_SHIFT 24U
3042 
3043 // Field: [23] TRP23
3044 //
3045 // Transmission Request Pending 23. See description for bit 0.
3046 #define MCAN_TXBRP_TRP23 0x00800000U
3047 #define MCAN_TXBRP_TRP23_MASK 0x00800000U
3048 #define MCAN_TXBRP_TRP23_SHIFT 23U
3049 
3050 // Field: [22] TRP22
3051 //
3052 // Transmission Request Pending 22. See description for bit 0.
3053 #define MCAN_TXBRP_TRP22 0x00400000U
3054 #define MCAN_TXBRP_TRP22_MASK 0x00400000U
3055 #define MCAN_TXBRP_TRP22_SHIFT 22U
3056 
3057 // Field: [21] TRP21
3058 //
3059 // Transmission Request Pending 21. See description for bit 0.
3060 #define MCAN_TXBRP_TRP21 0x00200000U
3061 #define MCAN_TXBRP_TRP21_MASK 0x00200000U
3062 #define MCAN_TXBRP_TRP21_SHIFT 21U
3063 
3064 // Field: [20] TRP20
3065 //
3066 // Transmission Request Pending 20. See description for bit 0.
3067 #define MCAN_TXBRP_TRP20 0x00100000U
3068 #define MCAN_TXBRP_TRP20_MASK 0x00100000U
3069 #define MCAN_TXBRP_TRP20_SHIFT 20U
3070 
3071 // Field: [19] TRP19
3072 //
3073 // Transmission Request Pending 19. See description for bit 0.
3074 #define MCAN_TXBRP_TRP19 0x00080000U
3075 #define MCAN_TXBRP_TRP19_MASK 0x00080000U
3076 #define MCAN_TXBRP_TRP19_SHIFT 19U
3077 
3078 // Field: [18] TRP18
3079 //
3080 // Transmission Request Pending 18. See description for bit 0.
3081 #define MCAN_TXBRP_TRP18 0x00040000U
3082 #define MCAN_TXBRP_TRP18_MASK 0x00040000U
3083 #define MCAN_TXBRP_TRP18_SHIFT 18U
3084 
3085 // Field: [17] TRP17
3086 //
3087 // Transmission Request Pending 17. See description for bit 0.
3088 #define MCAN_TXBRP_TRP17 0x00020000U
3089 #define MCAN_TXBRP_TRP17_MASK 0x00020000U
3090 #define MCAN_TXBRP_TRP17_SHIFT 17U
3091 
3092 // Field: [16] TRP16
3093 //
3094 // Transmission Request Pending 16. See description for bit 0.
3095 #define MCAN_TXBRP_TRP16 0x00010000U
3096 #define MCAN_TXBRP_TRP16_MASK 0x00010000U
3097 #define MCAN_TXBRP_TRP16_SHIFT 16U
3098 
3099 // Field: [15] TRP15
3100 //
3101 // Transmission Request Pending 15. See description for bit 0.
3102 #define MCAN_TXBRP_TRP15 0x00008000U
3103 #define MCAN_TXBRP_TRP15_MASK 0x00008000U
3104 #define MCAN_TXBRP_TRP15_SHIFT 15U
3105 
3106 // Field: [14] TRP14
3107 //
3108 // Transmission Request Pending 14. See description for bit 0.
3109 #define MCAN_TXBRP_TRP14 0x00004000U
3110 #define MCAN_TXBRP_TRP14_MASK 0x00004000U
3111 #define MCAN_TXBRP_TRP14_SHIFT 14U
3112 
3113 // Field: [13] TRP13
3114 //
3115 // Transmission Request Pending 13. See description for bit 0.
3116 #define MCAN_TXBRP_TRP13 0x00002000U
3117 #define MCAN_TXBRP_TRP13_MASK 0x00002000U
3118 #define MCAN_TXBRP_TRP13_SHIFT 13U
3119 
3120 // Field: [12] TRP12
3121 //
3122 // Transmission Request Pending 12. See description for bit 0.
3123 #define MCAN_TXBRP_TRP12 0x00001000U
3124 #define MCAN_TXBRP_TRP12_MASK 0x00001000U
3125 #define MCAN_TXBRP_TRP12_SHIFT 12U
3126 
3127 // Field: [11] TRP11
3128 //
3129 // Transmission Request Pending 11. See description for bit 0.
3130 #define MCAN_TXBRP_TRP11 0x00000800U
3131 #define MCAN_TXBRP_TRP11_MASK 0x00000800U
3132 #define MCAN_TXBRP_TRP11_SHIFT 11U
3133 
3134 // Field: [10] TRP10
3135 //
3136 // Transmission Request Pending 10. See description for bit 0.
3137 #define MCAN_TXBRP_TRP10 0x00000400U
3138 #define MCAN_TXBRP_TRP10_MASK 0x00000400U
3139 #define MCAN_TXBRP_TRP10_SHIFT 10U
3140 
3141 // Field: [9] TRP9
3142 //
3143 // Transmission Request Pending 9. See description for bit 0.
3144 #define MCAN_TXBRP_TRP9 0x00000200U
3145 #define MCAN_TXBRP_TRP9_MASK 0x00000200U
3146 #define MCAN_TXBRP_TRP9_SHIFT 9U
3147 
3148 // Field: [8] TRP8
3149 //
3150 // Transmission Request Pending 8. See description for bit 0.
3151 #define MCAN_TXBRP_TRP8 0x00000100U
3152 #define MCAN_TXBRP_TRP8_MASK 0x00000100U
3153 #define MCAN_TXBRP_TRP8_SHIFT 8U
3154 
3155 // Field: [7] TRP7
3156 //
3157 // Transmission Request Pending 7. See description for bit 0.
3158 #define MCAN_TXBRP_TRP7 0x00000080U
3159 #define MCAN_TXBRP_TRP7_MASK 0x00000080U
3160 #define MCAN_TXBRP_TRP7_SHIFT 7U
3161 
3162 // Field: [6] TRP6
3163 //
3164 // Transmission Request Pending 6. See description for bit 0.
3165 #define MCAN_TXBRP_TRP6 0x00000040U
3166 #define MCAN_TXBRP_TRP6_MASK 0x00000040U
3167 #define MCAN_TXBRP_TRP6_SHIFT 6U
3168 
3169 // Field: [5] TRP5
3170 //
3171 // Transmission Request Pending 5. See description for bit 0.
3172 #define MCAN_TXBRP_TRP5 0x00000020U
3173 #define MCAN_TXBRP_TRP5_MASK 0x00000020U
3174 #define MCAN_TXBRP_TRP5_SHIFT 5U
3175 
3176 // Field: [4] TRP4
3177 //
3178 // Transmission Request Pending 4. See description for bit 0.
3179 #define MCAN_TXBRP_TRP4 0x00000010U
3180 #define MCAN_TXBRP_TRP4_MASK 0x00000010U
3181 #define MCAN_TXBRP_TRP4_SHIFT 4U
3182 
3183 // Field: [3] TRP3
3184 //
3185 // Transmission Request Pending 3. See description for bit 0.
3186 #define MCAN_TXBRP_TRP3 0x00000008U
3187 #define MCAN_TXBRP_TRP3_MASK 0x00000008U
3188 #define MCAN_TXBRP_TRP3_SHIFT 3U
3189 
3190 // Field: [2] TRP2
3191 //
3192 // Transmission Request Pending 2. See description for bit 0.
3193 #define MCAN_TXBRP_TRP2 0x00000004U
3194 #define MCAN_TXBRP_TRP2_MASK 0x00000004U
3195 #define MCAN_TXBRP_TRP2_SHIFT 2U
3196 
3197 // Field: [1] TRP1
3198 //
3199 // Transmission Request Pending 1. See description for bit 0.
3200 #define MCAN_TXBRP_TRP1 0x00000002U
3201 #define MCAN_TXBRP_TRP1_MASK 0x00000002U
3202 #define MCAN_TXBRP_TRP1_SHIFT 1U
3203 
3204 // Field: [0] TRP0
3205 //
3206 // Transmission Request Pending 0.
3207 //
3208 // Each Tx Buffer has its own Transmission Request Pending bit. The bits are
3209 // set via register TXBAR. The bits are reset after a requested transmission
3210 // has completed or has been cancelled via register TXBCR.
3211 //
3212 // TXBRP bits are set only for those Tx Buffers configured via TXBC. After a
3213 // TXBRP bit has been set, a Tx scan is started to check for the pending Tx
3214 // request with the highest priority (Tx Buffer with lowest Message ID).
3215 //
3216 // A cancellation request resets the corresponding transmission request pending
3217 // bit of register TXBRP. In case a transmission has already been started when
3218 // a cancellation is requested, this is done at the end of the transmission,
3219 // regardless whether the transmission was successful or not. The cancellation
3220 // request bits are reset directly after the corresponding TXBRP bit has been
3221 // reset.
3222 //
3223 // After a cancellation has been requested, a finished cancellation is
3224 // signalled via TXBCF
3225 // - after successful transmission together with the corresponding TXBTO bit
3226 // - when the transmission has not yet been started at the point of
3227 // cancellation
3228 // - when the transmission has been aborted due to lost arbitration
3229 // - when an error occurred during frame transmission
3230 //
3231 // In DAR mode all transmissions are automatically cancelled if they are not
3232 // successful. The corresponding TXBCF bit is set for all unsuccessful
3233 // transmissions.
3234 // 0 No transmission request pending
3235 // 1 Transmission request pending
3236 //
3237 // Note: TXBRP bits which are set while a Tx scan is in progress are not
3238 // considered during this particular Tx scan. In case a cancellation is
3239 // requested for such a Tx Buffer, this Add Request is cancelled immediately,
3240 // the corresponding TXBRP bit is reset.
3241 #define MCAN_TXBRP_TRP0 0x00000001U
3242 #define MCAN_TXBRP_TRP0_MASK 0x00000001U
3243 #define MCAN_TXBRP_TRP0_SHIFT 0U
3244 
3245 //*****************************************************************************
3246 //
3247 // Register: MCAN_TXBAR
3248 //
3249 //*****************************************************************************
3250 // Field: [31] AR31
3251 //
3252 // Add Request 31. See description for bit 0.
3253 #define MCAN_TXBAR_AR31 0x80000000U
3254 #define MCAN_TXBAR_AR31_MASK 0x80000000U
3255 #define MCAN_TXBAR_AR31_SHIFT 31U
3256 
3257 // Field: [30] AR30
3258 //
3259 // Add Request 30. See description for bit 0.
3260 #define MCAN_TXBAR_AR30 0x40000000U
3261 #define MCAN_TXBAR_AR30_MASK 0x40000000U
3262 #define MCAN_TXBAR_AR30_SHIFT 30U
3263 
3264 // Field: [29] AR29
3265 //
3266 // Add Request 29. See description for bit 0.
3267 #define MCAN_TXBAR_AR29 0x20000000U
3268 #define MCAN_TXBAR_AR29_MASK 0x20000000U
3269 #define MCAN_TXBAR_AR29_SHIFT 29U
3270 
3271 // Field: [28] AR28
3272 //
3273 // Add Request 28. See description for bit 0.
3274 #define MCAN_TXBAR_AR28 0x10000000U
3275 #define MCAN_TXBAR_AR28_MASK 0x10000000U
3276 #define MCAN_TXBAR_AR28_SHIFT 28U
3277 
3278 // Field: [27] AR27
3279 //
3280 // Add Request 27. See description for bit 0.
3281 #define MCAN_TXBAR_AR27 0x08000000U
3282 #define MCAN_TXBAR_AR27_MASK 0x08000000U
3283 #define MCAN_TXBAR_AR27_SHIFT 27U
3284 
3285 // Field: [26] AR26
3286 //
3287 // Add Request 26. See description for bit 0.
3288 #define MCAN_TXBAR_AR26 0x04000000U
3289 #define MCAN_TXBAR_AR26_MASK 0x04000000U
3290 #define MCAN_TXBAR_AR26_SHIFT 26U
3291 
3292 // Field: [25] AR25
3293 //
3294 // Add Request 25. See description for bit 0.
3295 #define MCAN_TXBAR_AR25 0x02000000U
3296 #define MCAN_TXBAR_AR25_MASK 0x02000000U
3297 #define MCAN_TXBAR_AR25_SHIFT 25U
3298 
3299 // Field: [24] AR24
3300 //
3301 // Add Request 24. See description for bit 0.
3302 #define MCAN_TXBAR_AR24 0x01000000U
3303 #define MCAN_TXBAR_AR24_MASK 0x01000000U
3304 #define MCAN_TXBAR_AR24_SHIFT 24U
3305 
3306 // Field: [23] AR23
3307 //
3308 // Add Request 23. See description for bit 0.
3309 #define MCAN_TXBAR_AR23 0x00800000U
3310 #define MCAN_TXBAR_AR23_MASK 0x00800000U
3311 #define MCAN_TXBAR_AR23_SHIFT 23U
3312 
3313 // Field: [22] AR22
3314 //
3315 // Add Request 22. See description for bit 0.
3316 #define MCAN_TXBAR_AR22 0x00400000U
3317 #define MCAN_TXBAR_AR22_MASK 0x00400000U
3318 #define MCAN_TXBAR_AR22_SHIFT 22U
3319 
3320 // Field: [21] AR21
3321 //
3322 // Add Request 21. See description for bit 0.
3323 #define MCAN_TXBAR_AR21 0x00200000U
3324 #define MCAN_TXBAR_AR21_MASK 0x00200000U
3325 #define MCAN_TXBAR_AR21_SHIFT 21U
3326 
3327 // Field: [20] AR20
3328 //
3329 // Add Request 20. See description for bit 0.
3330 #define MCAN_TXBAR_AR20 0x00100000U
3331 #define MCAN_TXBAR_AR20_MASK 0x00100000U
3332 #define MCAN_TXBAR_AR20_SHIFT 20U
3333 
3334 // Field: [19] AR19
3335 //
3336 // Add Request 19. See description for bit 0.
3337 #define MCAN_TXBAR_AR19 0x00080000U
3338 #define MCAN_TXBAR_AR19_MASK 0x00080000U
3339 #define MCAN_TXBAR_AR19_SHIFT 19U
3340 
3341 // Field: [18] AR18
3342 //
3343 // Add Request 18. See description for bit 0.
3344 #define MCAN_TXBAR_AR18 0x00040000U
3345 #define MCAN_TXBAR_AR18_MASK 0x00040000U
3346 #define MCAN_TXBAR_AR18_SHIFT 18U
3347 
3348 // Field: [17] AR17
3349 //
3350 // Add Request 17. See description for bit 0.
3351 #define MCAN_TXBAR_AR17 0x00020000U
3352 #define MCAN_TXBAR_AR17_MASK 0x00020000U
3353 #define MCAN_TXBAR_AR17_SHIFT 17U
3354 
3355 // Field: [16] AR16
3356 //
3357 // Add Request 16. See description for bit 0.
3358 #define MCAN_TXBAR_AR16 0x00010000U
3359 #define MCAN_TXBAR_AR16_MASK 0x00010000U
3360 #define MCAN_TXBAR_AR16_SHIFT 16U
3361 
3362 // Field: [15] AR15
3363 //
3364 // Add Request 15. See description for bit 0.
3365 #define MCAN_TXBAR_AR15 0x00008000U
3366 #define MCAN_TXBAR_AR15_MASK 0x00008000U
3367 #define MCAN_TXBAR_AR15_SHIFT 15U
3368 
3369 // Field: [14] AR14
3370 //
3371 // Add Request 14. See description for bit 0.
3372 #define MCAN_TXBAR_AR14 0x00004000U
3373 #define MCAN_TXBAR_AR14_MASK 0x00004000U
3374 #define MCAN_TXBAR_AR14_SHIFT 14U
3375 
3376 // Field: [13] AR13
3377 //
3378 // Add Request 13. See description for bit 0.
3379 #define MCAN_TXBAR_AR13 0x00002000U
3380 #define MCAN_TXBAR_AR13_MASK 0x00002000U
3381 #define MCAN_TXBAR_AR13_SHIFT 13U
3382 
3383 // Field: [12] AR12
3384 //
3385 // Add Request 12. See description for bit 0.
3386 #define MCAN_TXBAR_AR12 0x00001000U
3387 #define MCAN_TXBAR_AR12_MASK 0x00001000U
3388 #define MCAN_TXBAR_AR12_SHIFT 12U
3389 
3390 // Field: [11] AR11
3391 //
3392 // Add Request 11. See description for bit 0.
3393 #define MCAN_TXBAR_AR11 0x00000800U
3394 #define MCAN_TXBAR_AR11_MASK 0x00000800U
3395 #define MCAN_TXBAR_AR11_SHIFT 11U
3396 
3397 // Field: [10] AR10
3398 //
3399 // Add Request 10. See description for bit 0.
3400 #define MCAN_TXBAR_AR10 0x00000400U
3401 #define MCAN_TXBAR_AR10_MASK 0x00000400U
3402 #define MCAN_TXBAR_AR10_SHIFT 10U
3403 
3404 // Field: [9] AR9
3405 //
3406 // Add Request 9. See description for bit 0.
3407 #define MCAN_TXBAR_AR9 0x00000200U
3408 #define MCAN_TXBAR_AR9_MASK 0x00000200U
3409 #define MCAN_TXBAR_AR9_SHIFT 9U
3410 
3411 // Field: [8] AR8
3412 //
3413 // Add Request 8. See description for bit 0.
3414 #define MCAN_TXBAR_AR8 0x00000100U
3415 #define MCAN_TXBAR_AR8_MASK 0x00000100U
3416 #define MCAN_TXBAR_AR8_SHIFT 8U
3417 
3418 // Field: [7] AR7
3419 //
3420 // Add Request 7. See description for bit 0.
3421 #define MCAN_TXBAR_AR7 0x00000080U
3422 #define MCAN_TXBAR_AR7_MASK 0x00000080U
3423 #define MCAN_TXBAR_AR7_SHIFT 7U
3424 
3425 // Field: [6] AR6
3426 //
3427 // Add Request 6. See description for bit 0.
3428 #define MCAN_TXBAR_AR6 0x00000040U
3429 #define MCAN_TXBAR_AR6_MASK 0x00000040U
3430 #define MCAN_TXBAR_AR6_SHIFT 6U
3431 
3432 // Field: [5] AR5
3433 //
3434 // Add Request 5. See description for bit 0.
3435 #define MCAN_TXBAR_AR5 0x00000020U
3436 #define MCAN_TXBAR_AR5_MASK 0x00000020U
3437 #define MCAN_TXBAR_AR5_SHIFT 5U
3438 
3439 // Field: [4] AR4
3440 //
3441 // Add Request 4. See description for bit 0.
3442 #define MCAN_TXBAR_AR4 0x00000010U
3443 #define MCAN_TXBAR_AR4_MASK 0x00000010U
3444 #define MCAN_TXBAR_AR4_SHIFT 4U
3445 
3446 // Field: [3] AR3
3447 //
3448 // Add Request 3. See description for bit 0.
3449 #define MCAN_TXBAR_AR3 0x00000008U
3450 #define MCAN_TXBAR_AR3_MASK 0x00000008U
3451 #define MCAN_TXBAR_AR3_SHIFT 3U
3452 
3453 // Field: [2] AR2
3454 //
3455 // Add Request 2. See description for bit 0.
3456 #define MCAN_TXBAR_AR2 0x00000004U
3457 #define MCAN_TXBAR_AR2_MASK 0x00000004U
3458 #define MCAN_TXBAR_AR2_SHIFT 2U
3459 
3460 // Field: [1] AR1
3461 //
3462 // Add Request 1. See description for bit 0.
3463 #define MCAN_TXBAR_AR1 0x00000002U
3464 #define MCAN_TXBAR_AR1_MASK 0x00000002U
3465 #define MCAN_TXBAR_AR1_SHIFT 1U
3466 
3467 // Field: [0] AR0
3468 //
3469 // Add Request 0.
3470 //
3471 // Each Tx Buffer has its own Add Request bit. Writing a '1' will set the
3472 // corresponding Add Request bit; writing a '0' has no impact. This enables the
3473 // Host to set transmission requests for multiple Tx Buffers with one write to
3474 // TXBAR. TXBAR bits are set only for those Tx Buffers configured via TXBC.
3475 // When no Tx scan is running, the bits are reset immediately, else the bits
3476 // remain set until the Tx scan process has completed.
3477 // 0 No transmission request added
3478 // 1 Transmission requested added
3479 //
3480 // Note: If an add request is applied for a Tx Buffer with pending transmission
3481 // request (corresponding TXBRP bit already set), this add request is ignored.
3482 //
3483 // Qualified Write is possible only with CCCR.CCE='0'
3484 #define MCAN_TXBAR_AR0 0x00000001U
3485 #define MCAN_TXBAR_AR0_MASK 0x00000001U
3486 #define MCAN_TXBAR_AR0_SHIFT 0U
3487 
3488 //*****************************************************************************
3489 //
3490 // Register: MCAN_TXBCR
3491 //
3492 //*****************************************************************************
3493 // Field: [31] CR31
3494 //
3495 // Cancellation Request 31. See description for bit 0.
3496 #define MCAN_TXBCR_CR31 0x80000000U
3497 #define MCAN_TXBCR_CR31_MASK 0x80000000U
3498 #define MCAN_TXBCR_CR31_SHIFT 31U
3499 
3500 // Field: [30] CR30
3501 //
3502 // Cancellation Request 30. See description for bit 0.
3503 #define MCAN_TXBCR_CR30 0x40000000U
3504 #define MCAN_TXBCR_CR30_MASK 0x40000000U
3505 #define MCAN_TXBCR_CR30_SHIFT 30U
3506 
3507 // Field: [29] CR29
3508 //
3509 // Cancellation Request 29. See description for bit 0.
3510 #define MCAN_TXBCR_CR29 0x20000000U
3511 #define MCAN_TXBCR_CR29_MASK 0x20000000U
3512 #define MCAN_TXBCR_CR29_SHIFT 29U
3513 
3514 // Field: [28] CR28
3515 //
3516 // Cancellation Request 28. See description for bit 0.
3517 #define MCAN_TXBCR_CR28 0x10000000U
3518 #define MCAN_TXBCR_CR28_MASK 0x10000000U
3519 #define MCAN_TXBCR_CR28_SHIFT 28U
3520 
3521 // Field: [27] CR27
3522 //
3523 // Cancellation Request 27. See description for bit 0.
3524 #define MCAN_TXBCR_CR27 0x08000000U
3525 #define MCAN_TXBCR_CR27_MASK 0x08000000U
3526 #define MCAN_TXBCR_CR27_SHIFT 27U
3527 
3528 // Field: [26] CR26
3529 //
3530 // Cancellation Request 26. See description for bit 0.
3531 #define MCAN_TXBCR_CR26 0x04000000U
3532 #define MCAN_TXBCR_CR26_MASK 0x04000000U
3533 #define MCAN_TXBCR_CR26_SHIFT 26U
3534 
3535 // Field: [25] CR25
3536 //
3537 // Cancellation Request 25. See description for bit 0.
3538 #define MCAN_TXBCR_CR25 0x02000000U
3539 #define MCAN_TXBCR_CR25_MASK 0x02000000U
3540 #define MCAN_TXBCR_CR25_SHIFT 25U
3541 
3542 // Field: [24] CR24
3543 //
3544 // Cancellation Request 24. See description for bit 0.
3545 #define MCAN_TXBCR_CR24 0x01000000U
3546 #define MCAN_TXBCR_CR24_MASK 0x01000000U
3547 #define MCAN_TXBCR_CR24_SHIFT 24U
3548 
3549 // Field: [23] CR23
3550 //
3551 // Cancellation Request 23. See description for bit 0.
3552 #define MCAN_TXBCR_CR23 0x00800000U
3553 #define MCAN_TXBCR_CR23_MASK 0x00800000U
3554 #define MCAN_TXBCR_CR23_SHIFT 23U
3555 
3556 // Field: [22] CR22
3557 //
3558 // Cancellation Request 22. See description for bit 0.
3559 #define MCAN_TXBCR_CR22 0x00400000U
3560 #define MCAN_TXBCR_CR22_MASK 0x00400000U
3561 #define MCAN_TXBCR_CR22_SHIFT 22U
3562 
3563 // Field: [21] CR21
3564 //
3565 // Cancellation Request 21. See description for bit 0.
3566 #define MCAN_TXBCR_CR21 0x00200000U
3567 #define MCAN_TXBCR_CR21_MASK 0x00200000U
3568 #define MCAN_TXBCR_CR21_SHIFT 21U
3569 
3570 // Field: [20] CR20
3571 //
3572 // Cancellation Request 20. See description for bit 0.
3573 #define MCAN_TXBCR_CR20 0x00100000U
3574 #define MCAN_TXBCR_CR20_MASK 0x00100000U
3575 #define MCAN_TXBCR_CR20_SHIFT 20U
3576 
3577 // Field: [19] CR19
3578 //
3579 // Cancellation Request 19. See description for bit 0.
3580 #define MCAN_TXBCR_CR19 0x00080000U
3581 #define MCAN_TXBCR_CR19_MASK 0x00080000U
3582 #define MCAN_TXBCR_CR19_SHIFT 19U
3583 
3584 // Field: [18] CR18
3585 //
3586 // Cancellation Request 18. See description for bit 0.
3587 #define MCAN_TXBCR_CR18 0x00040000U
3588 #define MCAN_TXBCR_CR18_MASK 0x00040000U
3589 #define MCAN_TXBCR_CR18_SHIFT 18U
3590 
3591 // Field: [17] CR17
3592 //
3593 // Cancellation Request 17. See description for bit 0.
3594 #define MCAN_TXBCR_CR17 0x00020000U
3595 #define MCAN_TXBCR_CR17_MASK 0x00020000U
3596 #define MCAN_TXBCR_CR17_SHIFT 17U
3597 
3598 // Field: [16] CR16
3599 //
3600 // Cancellation Request 16. See description for bit 0.
3601 #define MCAN_TXBCR_CR16 0x00010000U
3602 #define MCAN_TXBCR_CR16_MASK 0x00010000U
3603 #define MCAN_TXBCR_CR16_SHIFT 16U
3604 
3605 // Field: [15] CR15
3606 //
3607 // Cancellation Request 15. See description for bit 0.
3608 #define MCAN_TXBCR_CR15 0x00008000U
3609 #define MCAN_TXBCR_CR15_MASK 0x00008000U
3610 #define MCAN_TXBCR_CR15_SHIFT 15U
3611 
3612 // Field: [14] CR14
3613 //
3614 // Cancellation Request 14. See description for bit 0.
3615 #define MCAN_TXBCR_CR14 0x00004000U
3616 #define MCAN_TXBCR_CR14_MASK 0x00004000U
3617 #define MCAN_TXBCR_CR14_SHIFT 14U
3618 
3619 // Field: [13] CR13
3620 //
3621 // Cancellation Request 13. See description for bit 0.
3622 #define MCAN_TXBCR_CR13 0x00002000U
3623 #define MCAN_TXBCR_CR13_MASK 0x00002000U
3624 #define MCAN_TXBCR_CR13_SHIFT 13U
3625 
3626 // Field: [12] CR12
3627 //
3628 // Cancellation Request 12. See description for bit 0.
3629 #define MCAN_TXBCR_CR12 0x00001000U
3630 #define MCAN_TXBCR_CR12_MASK 0x00001000U
3631 #define MCAN_TXBCR_CR12_SHIFT 12U
3632 
3633 // Field: [11] CR11
3634 //
3635 // Cancellation Request 11. See description for bit 0.
3636 #define MCAN_TXBCR_CR11 0x00000800U
3637 #define MCAN_TXBCR_CR11_MASK 0x00000800U
3638 #define MCAN_TXBCR_CR11_SHIFT 11U
3639 
3640 // Field: [10] CR10
3641 //
3642 // Cancellation Request 10. See description for bit 0.
3643 #define MCAN_TXBCR_CR10 0x00000400U
3644 #define MCAN_TXBCR_CR10_MASK 0x00000400U
3645 #define MCAN_TXBCR_CR10_SHIFT 10U
3646 
3647 // Field: [9] CR9
3648 //
3649 // Cancellation Request 9. See description for bit 0.
3650 #define MCAN_TXBCR_CR9 0x00000200U
3651 #define MCAN_TXBCR_CR9_MASK 0x00000200U
3652 #define MCAN_TXBCR_CR9_SHIFT 9U
3653 
3654 // Field: [8] CR8
3655 //
3656 // Cancellation Request 8. See description for bit 0.
3657 #define MCAN_TXBCR_CR8 0x00000100U
3658 #define MCAN_TXBCR_CR8_MASK 0x00000100U
3659 #define MCAN_TXBCR_CR8_SHIFT 8U
3660 
3661 // Field: [7] CR7
3662 //
3663 // Cancellation Request 7. See description for bit 0.
3664 #define MCAN_TXBCR_CR7 0x00000080U
3665 #define MCAN_TXBCR_CR7_MASK 0x00000080U
3666 #define MCAN_TXBCR_CR7_SHIFT 7U
3667 
3668 // Field: [6] CR6
3669 //
3670 // Cancellation Request 6. See description for bit 0.
3671 #define MCAN_TXBCR_CR6 0x00000040U
3672 #define MCAN_TXBCR_CR6_MASK 0x00000040U
3673 #define MCAN_TXBCR_CR6_SHIFT 6U
3674 
3675 // Field: [5] CR5
3676 //
3677 // Cancellation Request 5. See description for bit 0.
3678 #define MCAN_TXBCR_CR5 0x00000020U
3679 #define MCAN_TXBCR_CR5_MASK 0x00000020U
3680 #define MCAN_TXBCR_CR5_SHIFT 5U
3681 
3682 // Field: [4] CR4
3683 //
3684 // Cancellation Request 4. See description for bit 0.
3685 #define MCAN_TXBCR_CR4 0x00000010U
3686 #define MCAN_TXBCR_CR4_MASK 0x00000010U
3687 #define MCAN_TXBCR_CR4_SHIFT 4U
3688 
3689 // Field: [3] CR3
3690 //
3691 // Cancellation Request 3. See description for bit 0.
3692 #define MCAN_TXBCR_CR3 0x00000008U
3693 #define MCAN_TXBCR_CR3_MASK 0x00000008U
3694 #define MCAN_TXBCR_CR3_SHIFT 3U
3695 
3696 // Field: [2] CR2
3697 //
3698 // Cancellation Request 2. See description for bit 0.
3699 #define MCAN_TXBCR_CR2 0x00000004U
3700 #define MCAN_TXBCR_CR2_MASK 0x00000004U
3701 #define MCAN_TXBCR_CR2_SHIFT 2U
3702 
3703 // Field: [1] CR1
3704 //
3705 // Cancellation Request 1. See description for bit 0.
3706 #define MCAN_TXBCR_CR1 0x00000002U
3707 #define MCAN_TXBCR_CR1_MASK 0x00000002U
3708 #define MCAN_TXBCR_CR1_SHIFT 1U
3709 
3710 // Field: [0] CR0
3711 //
3712 // Cancellation Request 0.
3713 //
3714 // Each Tx Buffer has its own Cancellation Request bit. Writing a '1' will set
3715 // the corresponding Cancellation Request bit; writing a '0' has no impact.
3716 // This enables the Host to set cancellation requests for multiple Tx Buffers
3717 // with one write to TXBCR. TXBCR bits are set only for those Tx Buffers
3718 // configured via TXBC. The bits remain set until the corresponding bit of
3719 // TXBRP is reset.
3720 // 0 No cancellation pending
3721 // 1 Cancellation pending
3722 //
3723 // Qualified Write is possible only with CCCR.CCE='0'
3724 #define MCAN_TXBCR_CR0 0x00000001U
3725 #define MCAN_TXBCR_CR0_MASK 0x00000001U
3726 #define MCAN_TXBCR_CR0_SHIFT 0U
3727 
3728 //*****************************************************************************
3729 //
3730 // Register: MCAN_TXBTO
3731 //
3732 //*****************************************************************************
3733 // Field: [31] TO31
3734 //
3735 // Transmission Occurred 31. See description for bit 0.
3736 #define MCAN_TXBTO_TO31 0x80000000U
3737 #define MCAN_TXBTO_TO31_MASK 0x80000000U
3738 #define MCAN_TXBTO_TO31_SHIFT 31U
3739 
3740 // Field: [30] TO30
3741 //
3742 // Transmission Occurred 30. See description for bit 0.
3743 #define MCAN_TXBTO_TO30 0x40000000U
3744 #define MCAN_TXBTO_TO30_MASK 0x40000000U
3745 #define MCAN_TXBTO_TO30_SHIFT 30U
3746 
3747 // Field: [29] TO29
3748 //
3749 // Transmission Occurred 29. See description for bit 0.
3750 #define MCAN_TXBTO_TO29 0x20000000U
3751 #define MCAN_TXBTO_TO29_MASK 0x20000000U
3752 #define MCAN_TXBTO_TO29_SHIFT 29U
3753 
3754 // Field: [28] TO28
3755 //
3756 // Transmission Occurred 28. See description for bit 0.
3757 #define MCAN_TXBTO_TO28 0x10000000U
3758 #define MCAN_TXBTO_TO28_MASK 0x10000000U
3759 #define MCAN_TXBTO_TO28_SHIFT 28U
3760 
3761 // Field: [27] TO27
3762 //
3763 // Transmission Occurred 27. See description for bit 0.
3764 #define MCAN_TXBTO_TO27 0x08000000U
3765 #define MCAN_TXBTO_TO27_MASK 0x08000000U
3766 #define MCAN_TXBTO_TO27_SHIFT 27U
3767 
3768 // Field: [26] TO26
3769 //
3770 // Transmission Occurred 26. See description for bit 0.
3771 #define MCAN_TXBTO_TO26 0x04000000U
3772 #define MCAN_TXBTO_TO26_MASK 0x04000000U
3773 #define MCAN_TXBTO_TO26_SHIFT 26U
3774 
3775 // Field: [25] TO25
3776 //
3777 // Transmission Occurred 25. See description for bit 0.
3778 #define MCAN_TXBTO_TO25 0x02000000U
3779 #define MCAN_TXBTO_TO25_MASK 0x02000000U
3780 #define MCAN_TXBTO_TO25_SHIFT 25U
3781 
3782 // Field: [24] TO24
3783 //
3784 // Transmission Occurred 24. See description for bit 0.
3785 #define MCAN_TXBTO_TO24 0x01000000U
3786 #define MCAN_TXBTO_TO24_MASK 0x01000000U
3787 #define MCAN_TXBTO_TO24_SHIFT 24U
3788 
3789 // Field: [23] TO23
3790 //
3791 // Transmission Occurred 23. See description for bit 0.
3792 #define MCAN_TXBTO_TO23 0x00800000U
3793 #define MCAN_TXBTO_TO23_MASK 0x00800000U
3794 #define MCAN_TXBTO_TO23_SHIFT 23U
3795 
3796 // Field: [22] TO22
3797 //
3798 // Transmission Occurred 22. See description for bit 0.
3799 #define MCAN_TXBTO_TO22 0x00400000U
3800 #define MCAN_TXBTO_TO22_MASK 0x00400000U
3801 #define MCAN_TXBTO_TO22_SHIFT 22U
3802 
3803 // Field: [21] TO21
3804 //
3805 // Transmission Occurred 21. See description for bit 0.
3806 #define MCAN_TXBTO_TO21 0x00200000U
3807 #define MCAN_TXBTO_TO21_MASK 0x00200000U
3808 #define MCAN_TXBTO_TO21_SHIFT 21U
3809 
3810 // Field: [20] TO20
3811 //
3812 // Transmission Occurred 20. See description for bit 0.
3813 #define MCAN_TXBTO_TO20 0x00100000U
3814 #define MCAN_TXBTO_TO20_MASK 0x00100000U
3815 #define MCAN_TXBTO_TO20_SHIFT 20U
3816 
3817 // Field: [19] TO19
3818 //
3819 // Transmission Occurred 19. See description for bit 0.
3820 #define MCAN_TXBTO_TO19 0x00080000U
3821 #define MCAN_TXBTO_TO19_MASK 0x00080000U
3822 #define MCAN_TXBTO_TO19_SHIFT 19U
3823 
3824 // Field: [18] TO18
3825 //
3826 // Transmission Occurred 18. See description for bit 0.
3827 #define MCAN_TXBTO_TO18 0x00040000U
3828 #define MCAN_TXBTO_TO18_MASK 0x00040000U
3829 #define MCAN_TXBTO_TO18_SHIFT 18U
3830 
3831 // Field: [17] TO17
3832 //
3833 // Transmission Occurred 17. See description for bit 0.
3834 #define MCAN_TXBTO_TO17 0x00020000U
3835 #define MCAN_TXBTO_TO17_MASK 0x00020000U
3836 #define MCAN_TXBTO_TO17_SHIFT 17U
3837 
3838 // Field: [16] TO16
3839 //
3840 // Transmission Occurred 16. See description for bit 0.
3841 #define MCAN_TXBTO_TO16 0x00010000U
3842 #define MCAN_TXBTO_TO16_MASK 0x00010000U
3843 #define MCAN_TXBTO_TO16_SHIFT 16U
3844 
3845 // Field: [15] TO15
3846 //
3847 // Transmission Occurred 15. See description for bit 0.
3848 #define MCAN_TXBTO_TO15 0x00008000U
3849 #define MCAN_TXBTO_TO15_MASK 0x00008000U
3850 #define MCAN_TXBTO_TO15_SHIFT 15U
3851 
3852 // Field: [14] TO14
3853 //
3854 // Transmission Occurred 14. See description for bit 0.
3855 #define MCAN_TXBTO_TO14 0x00004000U
3856 #define MCAN_TXBTO_TO14_MASK 0x00004000U
3857 #define MCAN_TXBTO_TO14_SHIFT 14U
3858 
3859 // Field: [13] TO13
3860 //
3861 // Transmission Occurred 13. See description for bit 0.
3862 #define MCAN_TXBTO_TO13 0x00002000U
3863 #define MCAN_TXBTO_TO13_MASK 0x00002000U
3864 #define MCAN_TXBTO_TO13_SHIFT 13U
3865 
3866 // Field: [12] TO12
3867 //
3868 // Transmission Occurred 12. See description for bit 0.
3869 #define MCAN_TXBTO_TO12 0x00001000U
3870 #define MCAN_TXBTO_TO12_MASK 0x00001000U
3871 #define MCAN_TXBTO_TO12_SHIFT 12U
3872 
3873 // Field: [11] TO11
3874 //
3875 // Transmission Occurred 11. See description for bit 0.
3876 #define MCAN_TXBTO_TO11 0x00000800U
3877 #define MCAN_TXBTO_TO11_MASK 0x00000800U
3878 #define MCAN_TXBTO_TO11_SHIFT 11U
3879 
3880 // Field: [10] TO10
3881 //
3882 // Transmission Occurred 10. See description for bit 0.
3883 #define MCAN_TXBTO_TO10 0x00000400U
3884 #define MCAN_TXBTO_TO10_MASK 0x00000400U
3885 #define MCAN_TXBTO_TO10_SHIFT 10U
3886 
3887 // Field: [9] TO9
3888 //
3889 // Transmission Occurred 9. See description for bit 0.
3890 #define MCAN_TXBTO_TO9 0x00000200U
3891 #define MCAN_TXBTO_TO9_MASK 0x00000200U
3892 #define MCAN_TXBTO_TO9_SHIFT 9U
3893 
3894 // Field: [8] TO8
3895 //
3896 // Transmission Occurred 8. See description for bit 0.
3897 #define MCAN_TXBTO_TO8 0x00000100U
3898 #define MCAN_TXBTO_TO8_MASK 0x00000100U
3899 #define MCAN_TXBTO_TO8_SHIFT 8U
3900 
3901 // Field: [7] TO7
3902 //
3903 // Transmission Occurred 7. See description for bit 0.
3904 #define MCAN_TXBTO_TO7 0x00000080U
3905 #define MCAN_TXBTO_TO7_MASK 0x00000080U
3906 #define MCAN_TXBTO_TO7_SHIFT 7U
3907 
3908 // Field: [6] TO6
3909 //
3910 // Transmission Occurred 6. See description for bit 0.
3911 #define MCAN_TXBTO_TO6 0x00000040U
3912 #define MCAN_TXBTO_TO6_MASK 0x00000040U
3913 #define MCAN_TXBTO_TO6_SHIFT 6U
3914 
3915 // Field: [5] TO5
3916 //
3917 // Transmission Occurred 5. See description for bit 0.
3918 #define MCAN_TXBTO_TO5 0x00000020U
3919 #define MCAN_TXBTO_TO5_MASK 0x00000020U
3920 #define MCAN_TXBTO_TO5_SHIFT 5U
3921 
3922 // Field: [4] TO4
3923 //
3924 // Transmission Occurred 4. See description for bit 0.
3925 #define MCAN_TXBTO_TO4 0x00000010U
3926 #define MCAN_TXBTO_TO4_MASK 0x00000010U
3927 #define MCAN_TXBTO_TO4_SHIFT 4U
3928 
3929 // Field: [3] TO3
3930 //
3931 // Transmission Occurred 3. See description for bit 0.
3932 #define MCAN_TXBTO_TO3 0x00000008U
3933 #define MCAN_TXBTO_TO3_MASK 0x00000008U
3934 #define MCAN_TXBTO_TO3_SHIFT 3U
3935 
3936 // Field: [2] TO2
3937 //
3938 // Transmission Occurred 2. See description for bit 0.
3939 #define MCAN_TXBTO_TO2 0x00000004U
3940 #define MCAN_TXBTO_TO2_MASK 0x00000004U
3941 #define MCAN_TXBTO_TO2_SHIFT 2U
3942 
3943 // Field: [1] TO1
3944 //
3945 // Transmission Occurred 1. See description for bit 0.
3946 #define MCAN_TXBTO_TO1 0x00000002U
3947 #define MCAN_TXBTO_TO1_MASK 0x00000002U
3948 #define MCAN_TXBTO_TO1_SHIFT 1U
3949 
3950 // Field: [0] TO0
3951 //
3952 // Transmission Occurred 0.
3953 //
3954 // Each Tx Buffer has its own Transmission Occurred bit. The bits are set when
3955 // the corresponding TXBRP bit is cleared after a successful transmission. The
3956 // bits are reset when a new transmission is requested by writing a '1' to the
3957 // corresponding bit of register TXBAR.
3958 // 0 No transmission occurred
3959 // 1 Transmission occurred
3960 #define MCAN_TXBTO_TO0 0x00000001U
3961 #define MCAN_TXBTO_TO0_MASK 0x00000001U
3962 #define MCAN_TXBTO_TO0_SHIFT 0U
3963 
3964 //*****************************************************************************
3965 //
3966 // Register: MCAN_TXBCF
3967 //
3968 //*****************************************************************************
3969 // Field: [31] CF31
3970 //
3971 // Cancellation Finished 31. See description for bit 0.
3972 #define MCAN_TXBCF_CF31 0x80000000U
3973 #define MCAN_TXBCF_CF31_MASK 0x80000000U
3974 #define MCAN_TXBCF_CF31_SHIFT 31U
3975 
3976 // Field: [30] CF30
3977 //
3978 // Cancellation Finished 30. See description for bit 0.
3979 #define MCAN_TXBCF_CF30 0x40000000U
3980 #define MCAN_TXBCF_CF30_MASK 0x40000000U
3981 #define MCAN_TXBCF_CF30_SHIFT 30U
3982 
3983 // Field: [29] CF29
3984 //
3985 // Cancellation Finished 29. See description for bit 0.
3986 #define MCAN_TXBCF_CF29 0x20000000U
3987 #define MCAN_TXBCF_CF29_MASK 0x20000000U
3988 #define MCAN_TXBCF_CF29_SHIFT 29U
3989 
3990 // Field: [28] CF28
3991 //
3992 // Cancellation Finished 28. See description for bit 0.
3993 #define MCAN_TXBCF_CF28 0x10000000U
3994 #define MCAN_TXBCF_CF28_MASK 0x10000000U
3995 #define MCAN_TXBCF_CF28_SHIFT 28U
3996 
3997 // Field: [27] CF27
3998 //
3999 // Cancellation Finished 27. See description for bit 0.
4000 #define MCAN_TXBCF_CF27 0x08000000U
4001 #define MCAN_TXBCF_CF27_MASK 0x08000000U
4002 #define MCAN_TXBCF_CF27_SHIFT 27U
4003 
4004 // Field: [26] CF26
4005 //
4006 // Cancellation Finished 26. See description for bit 0.
4007 #define MCAN_TXBCF_CF26 0x04000000U
4008 #define MCAN_TXBCF_CF26_MASK 0x04000000U
4009 #define MCAN_TXBCF_CF26_SHIFT 26U
4010 
4011 // Field: [25] CF25
4012 //
4013 // Cancellation Finished 25. See description for bit 0.
4014 #define MCAN_TXBCF_CF25 0x02000000U
4015 #define MCAN_TXBCF_CF25_MASK 0x02000000U
4016 #define MCAN_TXBCF_CF25_SHIFT 25U
4017 
4018 // Field: [24] CF24
4019 //
4020 // Cancellation Finished 24. See description for bit 0.
4021 #define MCAN_TXBCF_CF24 0x01000000U
4022 #define MCAN_TXBCF_CF24_MASK 0x01000000U
4023 #define MCAN_TXBCF_CF24_SHIFT 24U
4024 
4025 // Field: [23] CF23
4026 //
4027 // Cancellation Finished 23. See description for bit 0.
4028 #define MCAN_TXBCF_CF23 0x00800000U
4029 #define MCAN_TXBCF_CF23_MASK 0x00800000U
4030 #define MCAN_TXBCF_CF23_SHIFT 23U
4031 
4032 // Field: [22] CF22
4033 //
4034 // Cancellation Finished 22. See description for bit 0.
4035 #define MCAN_TXBCF_CF22 0x00400000U
4036 #define MCAN_TXBCF_CF22_MASK 0x00400000U
4037 #define MCAN_TXBCF_CF22_SHIFT 22U
4038 
4039 // Field: [21] CF21
4040 //
4041 // Cancellation Finished 21. See description for bit 0.
4042 #define MCAN_TXBCF_CF21 0x00200000U
4043 #define MCAN_TXBCF_CF21_MASK 0x00200000U
4044 #define MCAN_TXBCF_CF21_SHIFT 21U
4045 
4046 // Field: [20] CF20
4047 //
4048 // Cancellation Finished 20. See description for bit 0.
4049 #define MCAN_TXBCF_CF20 0x00100000U
4050 #define MCAN_TXBCF_CF20_MASK 0x00100000U
4051 #define MCAN_TXBCF_CF20_SHIFT 20U
4052 
4053 // Field: [19] CF19
4054 //
4055 // Cancellation Finished 19. See description for bit 0.
4056 #define MCAN_TXBCF_CF19 0x00080000U
4057 #define MCAN_TXBCF_CF19_MASK 0x00080000U
4058 #define MCAN_TXBCF_CF19_SHIFT 19U
4059 
4060 // Field: [18] CF18
4061 //
4062 // Cancellation Finished 18. See description for bit 0.
4063 #define MCAN_TXBCF_CF18 0x00040000U
4064 #define MCAN_TXBCF_CF18_MASK 0x00040000U
4065 #define MCAN_TXBCF_CF18_SHIFT 18U
4066 
4067 // Field: [17] CF17
4068 //
4069 // Cancellation Finished 17. See description for bit 0.
4070 #define MCAN_TXBCF_CF17 0x00020000U
4071 #define MCAN_TXBCF_CF17_MASK 0x00020000U
4072 #define MCAN_TXBCF_CF17_SHIFT 17U
4073 
4074 // Field: [16] CF16
4075 //
4076 // Cancellation Finished 16. See description for bit 0.
4077 #define MCAN_TXBCF_CF16 0x00010000U
4078 #define MCAN_TXBCF_CF16_MASK 0x00010000U
4079 #define MCAN_TXBCF_CF16_SHIFT 16U
4080 
4081 // Field: [15] CF15
4082 //
4083 // Cancellation Finished 15. See description for bit 0.
4084 #define MCAN_TXBCF_CF15 0x00008000U
4085 #define MCAN_TXBCF_CF15_MASK 0x00008000U
4086 #define MCAN_TXBCF_CF15_SHIFT 15U
4087 
4088 // Field: [14] CF14
4089 //
4090 // Cancellation Finished 14. See description for bit 0.
4091 #define MCAN_TXBCF_CF14 0x00004000U
4092 #define MCAN_TXBCF_CF14_MASK 0x00004000U
4093 #define MCAN_TXBCF_CF14_SHIFT 14U
4094 
4095 // Field: [13] CF13
4096 //
4097 // Cancellation Finished 13. See description for bit 0.
4098 #define MCAN_TXBCF_CF13 0x00002000U
4099 #define MCAN_TXBCF_CF13_MASK 0x00002000U
4100 #define MCAN_TXBCF_CF13_SHIFT 13U
4101 
4102 // Field: [12] CF12
4103 //
4104 // Cancellation Finished 12. See description for bit 0.
4105 #define MCAN_TXBCF_CF12 0x00001000U
4106 #define MCAN_TXBCF_CF12_MASK 0x00001000U
4107 #define MCAN_TXBCF_CF12_SHIFT 12U
4108 
4109 // Field: [11] CF11
4110 //
4111 // Cancellation Finished 11. See description for bit 0.
4112 #define MCAN_TXBCF_CF11 0x00000800U
4113 #define MCAN_TXBCF_CF11_MASK 0x00000800U
4114 #define MCAN_TXBCF_CF11_SHIFT 11U
4115 
4116 // Field: [10] CF10
4117 //
4118 // Cancellation Finished 10. See description for bit 0.
4119 #define MCAN_TXBCF_CF10 0x00000400U
4120 #define MCAN_TXBCF_CF10_MASK 0x00000400U
4121 #define MCAN_TXBCF_CF10_SHIFT 10U
4122 
4123 // Field: [9] CF9
4124 //
4125 // Cancellation Finished 9. See description for bit 0.
4126 #define MCAN_TXBCF_CF9 0x00000200U
4127 #define MCAN_TXBCF_CF9_MASK 0x00000200U
4128 #define MCAN_TXBCF_CF9_SHIFT 9U
4129 
4130 // Field: [8] CF8
4131 //
4132 // Cancellation Finished 8. See description for bit 0.
4133 #define MCAN_TXBCF_CF8 0x00000100U
4134 #define MCAN_TXBCF_CF8_MASK 0x00000100U
4135 #define MCAN_TXBCF_CF8_SHIFT 8U
4136 
4137 // Field: [7] CF7
4138 //
4139 // Cancellation Finished 7. See description for bit 0.
4140 #define MCAN_TXBCF_CF7 0x00000080U
4141 #define MCAN_TXBCF_CF7_MASK 0x00000080U
4142 #define MCAN_TXBCF_CF7_SHIFT 7U
4143 
4144 // Field: [6] CF6
4145 //
4146 // Cancellation Finished 6. See description for bit 0.
4147 #define MCAN_TXBCF_CF6 0x00000040U
4148 #define MCAN_TXBCF_CF6_MASK 0x00000040U
4149 #define MCAN_TXBCF_CF6_SHIFT 6U
4150 
4151 // Field: [5] CF5
4152 //
4153 // Cancellation Finished 5. See description for bit 0.
4154 #define MCAN_TXBCF_CF5 0x00000020U
4155 #define MCAN_TXBCF_CF5_MASK 0x00000020U
4156 #define MCAN_TXBCF_CF5_SHIFT 5U
4157 
4158 // Field: [4] CF4
4159 //
4160 // Cancellation Finished 4. See description for bit 0.
4161 #define MCAN_TXBCF_CF4 0x00000010U
4162 #define MCAN_TXBCF_CF4_MASK 0x00000010U
4163 #define MCAN_TXBCF_CF4_SHIFT 4U
4164 
4165 // Field: [3] CF3
4166 //
4167 // Cancellation Finished 3. See description for bit 0.
4168 #define MCAN_TXBCF_CF3 0x00000008U
4169 #define MCAN_TXBCF_CF3_MASK 0x00000008U
4170 #define MCAN_TXBCF_CF3_SHIFT 3U
4171 
4172 // Field: [2] CF2
4173 //
4174 // Cancellation Finished 2. See description for bit 0.
4175 #define MCAN_TXBCF_CF2 0x00000004U
4176 #define MCAN_TXBCF_CF2_MASK 0x00000004U
4177 #define MCAN_TXBCF_CF2_SHIFT 2U
4178 
4179 // Field: [1] CF1
4180 //
4181 // Cancellation Finished 1. See description for bit 0.
4182 #define MCAN_TXBCF_CF1 0x00000002U
4183 #define MCAN_TXBCF_CF1_MASK 0x00000002U
4184 #define MCAN_TXBCF_CF1_SHIFT 1U
4185 
4186 // Field: [0] CF0
4187 //
4188 // Cancellation Finished 0.
4189 //
4190 // Each Tx Buffer has its own Cancellation Finished bit. The bits are set when
4191 // the corresponding TXBRP bit is cleared after a cancellation was requested
4192 // via TXBCR. In case the corresponding TXBRP bit was not set at the point of
4193 // cancellation, CF is set immediately. The bits are reset when a new
4194 // transmission is requested by writing a '1' to the corresponding bit of
4195 // register TXBAR.
4196 // 0 No transmit buffer cancellation
4197 // 1 Transmit buffer cancellation finished
4198 #define MCAN_TXBCF_CF0 0x00000001U
4199 #define MCAN_TXBCF_CF0_MASK 0x00000001U
4200 #define MCAN_TXBCF_CF0_SHIFT 0U
4201 
4202 //*****************************************************************************
4203 //
4204 // Register: MCAN_TXBTIE
4205 //
4206 //*****************************************************************************
4207 // Field: [31] TIE31
4208 //
4209 // Transmission Interrupt Enable 31. Each Tx Buffer has its own Transmission
4210 // Interrupt Enable bit.
4211 // 0 Transmission interrupt disabled
4212 // 1 Transmission interrupt enable
4213 #define MCAN_TXBTIE_TIE31 0x80000000U
4214 #define MCAN_TXBTIE_TIE31_MASK 0x80000000U
4215 #define MCAN_TXBTIE_TIE31_SHIFT 31U
4216 
4217 // Field: [30] TIE30
4218 //
4219 // Transmission Interrupt Enable 30. Each Tx Buffer has its own Transmission
4220 // Interrupt Enable bit.
4221 // 0 Transmission interrupt disabled
4222 // 1 Transmission interrupt enable
4223 #define MCAN_TXBTIE_TIE30 0x40000000U
4224 #define MCAN_TXBTIE_TIE30_MASK 0x40000000U
4225 #define MCAN_TXBTIE_TIE30_SHIFT 30U
4226 
4227 // Field: [29] TIE29
4228 //
4229 // Transmission Interrupt Enable 29. Each Tx Buffer has its own Transmission
4230 // Interrupt Enable bit.
4231 // 0 Transmission interrupt disabled
4232 // 1 Transmission interrupt enable
4233 #define MCAN_TXBTIE_TIE29 0x20000000U
4234 #define MCAN_TXBTIE_TIE29_MASK 0x20000000U
4235 #define MCAN_TXBTIE_TIE29_SHIFT 29U
4236 
4237 // Field: [28] TIE28
4238 //
4239 // Transmission Interrupt Enable 28. Each Tx Buffer has its own Transmission
4240 // Interrupt Enable bit.
4241 // 0 Transmission interrupt disabled
4242 // 1 Transmission interrupt enable
4243 #define MCAN_TXBTIE_TIE28 0x10000000U
4244 #define MCAN_TXBTIE_TIE28_MASK 0x10000000U
4245 #define MCAN_TXBTIE_TIE28_SHIFT 28U
4246 
4247 // Field: [27] TIE27
4248 //
4249 // Transmission Interrupt Enable 27. Each Tx Buffer has its own Transmission
4250 // Interrupt Enable bit.
4251 // 0 Transmission interrupt disabled
4252 // 1 Transmission interrupt enable
4253 #define MCAN_TXBTIE_TIE27 0x08000000U
4254 #define MCAN_TXBTIE_TIE27_MASK 0x08000000U
4255 #define MCAN_TXBTIE_TIE27_SHIFT 27U
4256 
4257 // Field: [26] TIE26
4258 //
4259 // Transmission Interrupt Enable 26. Each Tx Buffer has its own Transmission
4260 // Interrupt Enable bit.
4261 // 0 Transmission interrupt disabled
4262 // 1 Transmission interrupt enable
4263 #define MCAN_TXBTIE_TIE26 0x04000000U
4264 #define MCAN_TXBTIE_TIE26_MASK 0x04000000U
4265 #define MCAN_TXBTIE_TIE26_SHIFT 26U
4266 
4267 // Field: [25] TIE25
4268 //
4269 // Transmission Interrupt Enable 25. Each Tx Buffer has its own Transmission
4270 // Interrupt Enable bit.
4271 // 0 Transmission interrupt disabled
4272 // 1 Transmission interrupt enable
4273 #define MCAN_TXBTIE_TIE25 0x02000000U
4274 #define MCAN_TXBTIE_TIE25_MASK 0x02000000U
4275 #define MCAN_TXBTIE_TIE25_SHIFT 25U
4276 
4277 // Field: [24] TIE24
4278 //
4279 // Transmission Interrupt Enable 24. Each Tx Buffer has its own Transmission
4280 // Interrupt Enable bit.
4281 // 0 Transmission interrupt disabled
4282 // 1 Transmission interrupt enable
4283 #define MCAN_TXBTIE_TIE24 0x01000000U
4284 #define MCAN_TXBTIE_TIE24_MASK 0x01000000U
4285 #define MCAN_TXBTIE_TIE24_SHIFT 24U
4286 
4287 // Field: [23] TIE23
4288 //
4289 // Transmission Interrupt Enable 23. Each Tx Buffer has its own Transmission
4290 // Interrupt Enable bit.
4291 // 0 Transmission interrupt disabled
4292 // 1 Transmission interrupt enable
4293 #define MCAN_TXBTIE_TIE23 0x00800000U
4294 #define MCAN_TXBTIE_TIE23_MASK 0x00800000U
4295 #define MCAN_TXBTIE_TIE23_SHIFT 23U
4296 
4297 // Field: [22] TIE22
4298 //
4299 // Transmission Interrupt Enable 22. Each Tx Buffer has its own Transmission
4300 // Interrupt Enable bit.
4301 // 0 Transmission interrupt disabled
4302 // 1 Transmission interrupt enable
4303 #define MCAN_TXBTIE_TIE22 0x00400000U
4304 #define MCAN_TXBTIE_TIE22_MASK 0x00400000U
4305 #define MCAN_TXBTIE_TIE22_SHIFT 22U
4306 
4307 // Field: [21] TIE21
4308 //
4309 // Transmission Interrupt Enable 21. Each Tx Buffer has its own Transmission
4310 // Interrupt Enable bit.
4311 // 0 Transmission interrupt disabled
4312 // 1 Transmission interrupt enable
4313 #define MCAN_TXBTIE_TIE21 0x00200000U
4314 #define MCAN_TXBTIE_TIE21_MASK 0x00200000U
4315 #define MCAN_TXBTIE_TIE21_SHIFT 21U
4316 
4317 // Field: [20] TIE20
4318 //
4319 // Transmission Interrupt Enable 20. Each Tx Buffer has its own Transmission
4320 // Interrupt Enable bit.
4321 // 0 Transmission interrupt disabled
4322 // 1 Transmission interrupt enable
4323 #define MCAN_TXBTIE_TIE20 0x00100000U
4324 #define MCAN_TXBTIE_TIE20_MASK 0x00100000U
4325 #define MCAN_TXBTIE_TIE20_SHIFT 20U
4326 
4327 // Field: [19] TIE19
4328 //
4329 // Transmission Interrupt Enable 19. Each Tx Buffer has its own Transmission
4330 // Interrupt Enable bit.
4331 // 0 Transmission interrupt disabled
4332 // 1 Transmission interrupt enable
4333 #define MCAN_TXBTIE_TIE19 0x00080000U
4334 #define MCAN_TXBTIE_TIE19_MASK 0x00080000U
4335 #define MCAN_TXBTIE_TIE19_SHIFT 19U
4336 
4337 // Field: [18] TIE18
4338 //
4339 // Transmission Interrupt Enable 18. Each Tx Buffer has its own Transmission
4340 // Interrupt Enable bit.
4341 // 0 Transmission interrupt disabled
4342 // 1 Transmission interrupt enable
4343 #define MCAN_TXBTIE_TIE18 0x00040000U
4344 #define MCAN_TXBTIE_TIE18_MASK 0x00040000U
4345 #define MCAN_TXBTIE_TIE18_SHIFT 18U
4346 
4347 // Field: [17] TIE17
4348 //
4349 // Transmission Interrupt Enable 17. Each Tx Buffer has its own Transmission
4350 // Interrupt Enable bit.
4351 // 0 Transmission interrupt disabled
4352 // 1 Transmission interrupt enable
4353 #define MCAN_TXBTIE_TIE17 0x00020000U
4354 #define MCAN_TXBTIE_TIE17_MASK 0x00020000U
4355 #define MCAN_TXBTIE_TIE17_SHIFT 17U
4356 
4357 // Field: [16] TIE16
4358 //
4359 // Transmission Interrupt Enable 16. Each Tx Buffer has its own Transmission
4360 // Interrupt Enable bit.
4361 // 0 Transmission interrupt disabled
4362 // 1 Transmission interrupt enable
4363 #define MCAN_TXBTIE_TIE16 0x00010000U
4364 #define MCAN_TXBTIE_TIE16_MASK 0x00010000U
4365 #define MCAN_TXBTIE_TIE16_SHIFT 16U
4366 
4367 // Field: [15] TIE15
4368 //
4369 // Transmission Interrupt Enable 15. Each Tx Buffer has its own Transmission
4370 // Interrupt Enable bit.
4371 // 0 Transmission interrupt disabled
4372 // 1 Transmission interrupt enable
4373 #define MCAN_TXBTIE_TIE15 0x00008000U
4374 #define MCAN_TXBTIE_TIE15_MASK 0x00008000U
4375 #define MCAN_TXBTIE_TIE15_SHIFT 15U
4376 
4377 // Field: [14] TIE14
4378 //
4379 // Transmission Interrupt Enable 14. Each Tx Buffer has its own Transmission
4380 // Interrupt Enable bit.
4381 // 0 Transmission interrupt disabled
4382 // 1 Transmission interrupt enable
4383 #define MCAN_TXBTIE_TIE14 0x00004000U
4384 #define MCAN_TXBTIE_TIE14_MASK 0x00004000U
4385 #define MCAN_TXBTIE_TIE14_SHIFT 14U
4386 
4387 // Field: [13] TIE13
4388 //
4389 // Transmission Interrupt Enable 13. Each Tx Buffer has its own Transmission
4390 // Interrupt Enable bit.
4391 // 0 Transmission interrupt disabled
4392 // 1 Transmission interrupt enable
4393 #define MCAN_TXBTIE_TIE13 0x00002000U
4394 #define MCAN_TXBTIE_TIE13_MASK 0x00002000U
4395 #define MCAN_TXBTIE_TIE13_SHIFT 13U
4396 
4397 // Field: [12] TIE12
4398 //
4399 // Transmission Interrupt Enable 12. Each Tx Buffer has its own Transmission
4400 // Interrupt Enable bit.
4401 // 0 Transmission interrupt disabled
4402 // 1 Transmission interrupt enable
4403 #define MCAN_TXBTIE_TIE12 0x00001000U
4404 #define MCAN_TXBTIE_TIE12_MASK 0x00001000U
4405 #define MCAN_TXBTIE_TIE12_SHIFT 12U
4406 
4407 // Field: [11] TIE11
4408 //
4409 // Transmission Interrupt Enable 11. Each Tx Buffer has its own Transmission
4410 // Interrupt Enable bit.
4411 // 0 Transmission interrupt disabled
4412 // 1 Transmission interrupt enable
4413 #define MCAN_TXBTIE_TIE11 0x00000800U
4414 #define MCAN_TXBTIE_TIE11_MASK 0x00000800U
4415 #define MCAN_TXBTIE_TIE11_SHIFT 11U
4416 
4417 // Field: [10] TIE10
4418 //
4419 // Transmission Interrupt Enable 10. Each Tx Buffer has its own Transmission
4420 // Interrupt Enable bit.
4421 // 0 Transmission interrupt disabled
4422 // 1 Transmission interrupt enable
4423 #define MCAN_TXBTIE_TIE10 0x00000400U
4424 #define MCAN_TXBTIE_TIE10_MASK 0x00000400U
4425 #define MCAN_TXBTIE_TIE10_SHIFT 10U
4426 
4427 // Field: [9] TIE9
4428 //
4429 // Transmission Interrupt Enable 9. Each Tx Buffer has its own Transmission
4430 // Interrupt Enable bit.
4431 // 0 Transmission interrupt disabled
4432 // 1 Transmission interrupt enable
4433 #define MCAN_TXBTIE_TIE9 0x00000200U
4434 #define MCAN_TXBTIE_TIE9_MASK 0x00000200U
4435 #define MCAN_TXBTIE_TIE9_SHIFT 9U
4436 
4437 // Field: [8] TIE8
4438 //
4439 // Transmission Interrupt Enable 8. Each Tx Buffer has its own Transmission
4440 // Interrupt Enable bit.
4441 // 0 Transmission interrupt disabled
4442 // 1 Transmission interrupt enable
4443 #define MCAN_TXBTIE_TIE8 0x00000100U
4444 #define MCAN_TXBTIE_TIE8_MASK 0x00000100U
4445 #define MCAN_TXBTIE_TIE8_SHIFT 8U
4446 
4447 // Field: [7] TIE7
4448 //
4449 // Transmission Interrupt Enable 7. Each Tx Buffer has its own Transmission
4450 // Interrupt Enable bit.
4451 // 0 Transmission interrupt disabled
4452 // 1 Transmission interrupt enable
4453 #define MCAN_TXBTIE_TIE7 0x00000080U
4454 #define MCAN_TXBTIE_TIE7_MASK 0x00000080U
4455 #define MCAN_TXBTIE_TIE7_SHIFT 7U
4456 
4457 // Field: [6] TIE6
4458 //
4459 // Transmission Interrupt Enable 6. Each Tx Buffer has its own Transmission
4460 // Interrupt Enable bit.
4461 // 0 Transmission interrupt disabled
4462 // 1 Transmission interrupt enable
4463 #define MCAN_TXBTIE_TIE6 0x00000040U
4464 #define MCAN_TXBTIE_TIE6_MASK 0x00000040U
4465 #define MCAN_TXBTIE_TIE6_SHIFT 6U
4466 
4467 // Field: [5] TIE5
4468 //
4469 // Transmission Interrupt Enable 5. Each Tx Buffer has its own Transmission
4470 // Interrupt Enable bit.
4471 // 0 Transmission interrupt disabled
4472 // 1 Transmission interrupt enable
4473 #define MCAN_TXBTIE_TIE5 0x00000020U
4474 #define MCAN_TXBTIE_TIE5_MASK 0x00000020U
4475 #define MCAN_TXBTIE_TIE5_SHIFT 5U
4476 
4477 // Field: [4] TIE4
4478 //
4479 // Transmission Interrupt Enable 4. Each Tx Buffer has its own Transmission
4480 // Interrupt Enable bit.
4481 // 0 Transmission interrupt disabled
4482 // 1 Transmission interrupt enable
4483 #define MCAN_TXBTIE_TIE4 0x00000010U
4484 #define MCAN_TXBTIE_TIE4_MASK 0x00000010U
4485 #define MCAN_TXBTIE_TIE4_SHIFT 4U
4486 
4487 // Field: [3] TIE3
4488 //
4489 // Transmission Interrupt Enable 3. Each Tx Buffer has its own Transmission
4490 // Interrupt Enable bit.
4491 // 0 Transmission interrupt disabled
4492 // 1 Transmission interrupt enable
4493 #define MCAN_TXBTIE_TIE3 0x00000008U
4494 #define MCAN_TXBTIE_TIE3_MASK 0x00000008U
4495 #define MCAN_TXBTIE_TIE3_SHIFT 3U
4496 
4497 // Field: [2] TIE2
4498 //
4499 // Transmission Interrupt Enable 2. Each Tx Buffer has its own Transmission
4500 // Interrupt Enable bit.
4501 // 0 Transmission interrupt disabled
4502 // 1 Transmission interrupt enable
4503 #define MCAN_TXBTIE_TIE2 0x00000004U
4504 #define MCAN_TXBTIE_TIE2_MASK 0x00000004U
4505 #define MCAN_TXBTIE_TIE2_SHIFT 2U
4506 
4507 // Field: [1] TIE1
4508 //
4509 // Transmission Interrupt Enable 1. Each Tx Buffer has its own Transmission
4510 // Interrupt Enable bit.
4511 // 0 Transmission interrupt disabled
4512 // 1 Transmission interrupt enable
4513 #define MCAN_TXBTIE_TIE1 0x00000002U
4514 #define MCAN_TXBTIE_TIE1_MASK 0x00000002U
4515 #define MCAN_TXBTIE_TIE1_SHIFT 1U
4516 
4517 // Field: [0] TIE0
4518 //
4519 // Transmission Interrupt Enable 0. Each Tx Buffer has its own Transmission
4520 // Interrupt Enable bit.
4521 // 0 Transmission interrupt disabled
4522 // 1 Transmission interrupt enable
4523 #define MCAN_TXBTIE_TIE0 0x00000001U
4524 #define MCAN_TXBTIE_TIE0_MASK 0x00000001U
4525 #define MCAN_TXBTIE_TIE0_SHIFT 0U
4526 
4527 //*****************************************************************************
4528 //
4529 // Register: MCAN_TXBCIE
4530 //
4531 //*****************************************************************************
4532 // Field: [31] CFIE31
4533 //
4534 // Cancellation Finished Interrupt Enable 31. Each Tx Buffer has its own
4535 // Cancellation Finished Interrupt Enable bit.
4536 // 0 Cancellation finished interrupt disabled
4537 // 1 Cancellation finished interrupt enabled
4538 #define MCAN_TXBCIE_CFIE31 0x80000000U
4539 #define MCAN_TXBCIE_CFIE31_MASK 0x80000000U
4540 #define MCAN_TXBCIE_CFIE31_SHIFT 31U
4541 
4542 // Field: [30] CFIE30
4543 //
4544 // Cancellation Finished Interrupt Enable 30. Each Tx Buffer has its own
4545 // Cancellation Finished Interrupt Enable bit.
4546 // 0 Cancellation finished interrupt disabled
4547 // 1 Cancellation finished interrupt enabled
4548 #define MCAN_TXBCIE_CFIE30 0x40000000U
4549 #define MCAN_TXBCIE_CFIE30_MASK 0x40000000U
4550 #define MCAN_TXBCIE_CFIE30_SHIFT 30U
4551 
4552 // Field: [29] CFIE29
4553 //
4554 // Cancellation Finished Interrupt Enable 29. Each Tx Buffer has its own
4555 // Cancellation Finished Interrupt Enable bit.
4556 // 0 Cancellation finished interrupt disabled
4557 // 1 Cancellation finished interrupt enabled
4558 #define MCAN_TXBCIE_CFIE29 0x20000000U
4559 #define MCAN_TXBCIE_CFIE29_MASK 0x20000000U
4560 #define MCAN_TXBCIE_CFIE29_SHIFT 29U
4561 
4562 // Field: [28] CFIE28
4563 //
4564 // Cancellation Finished Interrupt Enable 28. Each Tx Buffer has its own
4565 // Cancellation Finished Interrupt Enable bit.
4566 // 0 Cancellation finished interrupt disabled
4567 // 1 Cancellation finished interrupt enabled
4568 #define MCAN_TXBCIE_CFIE28 0x10000000U
4569 #define MCAN_TXBCIE_CFIE28_MASK 0x10000000U
4570 #define MCAN_TXBCIE_CFIE28_SHIFT 28U
4571 
4572 // Field: [27] CFIE27
4573 //
4574 // Cancellation Finished Interrupt Enable 27. Each Tx Buffer has its own
4575 // Cancellation Finished Interrupt Enable bit.
4576 // 0 Cancellation finished interrupt disabled
4577 // 1 Cancellation finished interrupt enabled
4578 #define MCAN_TXBCIE_CFIE27 0x08000000U
4579 #define MCAN_TXBCIE_CFIE27_MASK 0x08000000U
4580 #define MCAN_TXBCIE_CFIE27_SHIFT 27U
4581 
4582 // Field: [26] CFIE26
4583 //
4584 // Cancellation Finished Interrupt Enable 26. Each Tx Buffer has its own
4585 // Cancellation Finished Interrupt Enable bit.
4586 // 0 Cancellation finished interrupt disabled
4587 // 1 Cancellation finished interrupt enabled
4588 #define MCAN_TXBCIE_CFIE26 0x04000000U
4589 #define MCAN_TXBCIE_CFIE26_MASK 0x04000000U
4590 #define MCAN_TXBCIE_CFIE26_SHIFT 26U
4591 
4592 // Field: [25] CFIE25
4593 //
4594 // Cancellation Finished Interrupt Enable 25. Each Tx Buffer has its own
4595 // Cancellation Finished Interrupt Enable bit.
4596 // 0 Cancellation finished interrupt disabled
4597 // 1 Cancellation finished interrupt enabled
4598 #define MCAN_TXBCIE_CFIE25 0x02000000U
4599 #define MCAN_TXBCIE_CFIE25_MASK 0x02000000U
4600 #define MCAN_TXBCIE_CFIE25_SHIFT 25U
4601 
4602 // Field: [24] CFIE24
4603 //
4604 // Cancellation Finished Interrupt Enable 24. Each Tx Buffer has its own
4605 // Cancellation Finished Interrupt Enable bit.
4606 // 0 Cancellation finished interrupt disabled
4607 // 1 Cancellation finished interrupt enabled
4608 #define MCAN_TXBCIE_CFIE24 0x01000000U
4609 #define MCAN_TXBCIE_CFIE24_MASK 0x01000000U
4610 #define MCAN_TXBCIE_CFIE24_SHIFT 24U
4611 
4612 // Field: [23] CFIE23
4613 //
4614 // Cancellation Finished Interrupt Enable 23. Each Tx Buffer has its own
4615 // Cancellation Finished Interrupt Enable bit.
4616 // 0 Cancellation finished interrupt disabled
4617 // 1 Cancellation finished interrupt enabled
4618 #define MCAN_TXBCIE_CFIE23 0x00800000U
4619 #define MCAN_TXBCIE_CFIE23_MASK 0x00800000U
4620 #define MCAN_TXBCIE_CFIE23_SHIFT 23U
4621 
4622 // Field: [22] CFIE22
4623 //
4624 // Cancellation Finished Interrupt Enable 22. Each Tx Buffer has its own
4625 // Cancellation Finished Interrupt Enable bit.
4626 // 0 Cancellation finished interrupt disabled
4627 // 1 Cancellation finished interrupt enabled
4628 #define MCAN_TXBCIE_CFIE22 0x00400000U
4629 #define MCAN_TXBCIE_CFIE22_MASK 0x00400000U
4630 #define MCAN_TXBCIE_CFIE22_SHIFT 22U
4631 
4632 // Field: [21] CFIE21
4633 //
4634 // Cancellation Finished Interrupt Enable 21. Each Tx Buffer has its own
4635 // Cancellation Finished Interrupt Enable bit.
4636 // 0 Cancellation finished interrupt disabled
4637 // 1 Cancellation finished interrupt enabled
4638 #define MCAN_TXBCIE_CFIE21 0x00200000U
4639 #define MCAN_TXBCIE_CFIE21_MASK 0x00200000U
4640 #define MCAN_TXBCIE_CFIE21_SHIFT 21U
4641 
4642 // Field: [20] CFIE20
4643 //
4644 // Cancellation Finished Interrupt Enable 20. Each Tx Buffer has its own
4645 // Cancellation Finished Interrupt Enable bit.
4646 // 0 Cancellation finished interrupt disabled
4647 // 1 Cancellation finished interrupt enabled
4648 #define MCAN_TXBCIE_CFIE20 0x00100000U
4649 #define MCAN_TXBCIE_CFIE20_MASK 0x00100000U
4650 #define MCAN_TXBCIE_CFIE20_SHIFT 20U
4651 
4652 // Field: [19] CFIE19
4653 //
4654 // Cancellation Finished Interrupt Enable 19. Each Tx Buffer has its own
4655 // Cancellation Finished Interrupt Enable bit.
4656 // 0 Cancellation finished interrupt disabled
4657 // 1 Cancellation finished interrupt enabled
4658 #define MCAN_TXBCIE_CFIE19 0x00080000U
4659 #define MCAN_TXBCIE_CFIE19_MASK 0x00080000U
4660 #define MCAN_TXBCIE_CFIE19_SHIFT 19U
4661 
4662 // Field: [18] CFIE18
4663 //
4664 // Cancellation Finished Interrupt Enable 18. Each Tx Buffer has its own
4665 // Cancellation Finished Interrupt Enable bit.
4666 // 0 Cancellation finished interrupt disabled
4667 // 1 Cancellation finished interrupt enabled
4668 #define MCAN_TXBCIE_CFIE18 0x00040000U
4669 #define MCAN_TXBCIE_CFIE18_MASK 0x00040000U
4670 #define MCAN_TXBCIE_CFIE18_SHIFT 18U
4671 
4672 // Field: [17] CFIE17
4673 //
4674 // Cancellation Finished Interrupt Enable 17. Each Tx Buffer has its own
4675 // Cancellation Finished Interrupt Enable bit.
4676 // 0 Cancellation finished interrupt disabled
4677 // 1 Cancellation finished interrupt enabled
4678 #define MCAN_TXBCIE_CFIE17 0x00020000U
4679 #define MCAN_TXBCIE_CFIE17_MASK 0x00020000U
4680 #define MCAN_TXBCIE_CFIE17_SHIFT 17U
4681 
4682 // Field: [16] CFIE16
4683 //
4684 // Cancellation Finished Interrupt Enable 16. Each Tx Buffer has its own
4685 // Cancellation Finished Interrupt Enable bit.
4686 // 0 Cancellation finished interrupt disabled
4687 // 1 Cancellation finished interrupt enabled
4688 #define MCAN_TXBCIE_CFIE16 0x00010000U
4689 #define MCAN_TXBCIE_CFIE16_MASK 0x00010000U
4690 #define MCAN_TXBCIE_CFIE16_SHIFT 16U
4691 
4692 // Field: [15] CFIE15
4693 //
4694 // Cancellation Finished Interrupt Enable 15. Each Tx Buffer has its own
4695 // Cancellation Finished Interrupt Enable bit.
4696 // 0 Cancellation finished interrupt disabled
4697 // 1 Cancellation finished interrupt enabled
4698 #define MCAN_TXBCIE_CFIE15 0x00008000U
4699 #define MCAN_TXBCIE_CFIE15_MASK 0x00008000U
4700 #define MCAN_TXBCIE_CFIE15_SHIFT 15U
4701 
4702 // Field: [14] CFIE14
4703 //
4704 // Cancellation Finished Interrupt Enable 14. Each Tx Buffer has its own
4705 // Cancellation Finished Interrupt Enable bit.
4706 // 0 Cancellation finished interrupt disabled
4707 // 1 Cancellation finished interrupt enabled
4708 #define MCAN_TXBCIE_CFIE14 0x00004000U
4709 #define MCAN_TXBCIE_CFIE14_MASK 0x00004000U
4710 #define MCAN_TXBCIE_CFIE14_SHIFT 14U
4711 
4712 // Field: [13] CFIE13
4713 //
4714 // Cancellation Finished Interrupt Enable 13. Each Tx Buffer has its own
4715 // Cancellation Finished Interrupt Enable bit.
4716 // 0 Cancellation finished interrupt disabled
4717 // 1 Cancellation finished interrupt enabled
4718 #define MCAN_TXBCIE_CFIE13 0x00002000U
4719 #define MCAN_TXBCIE_CFIE13_MASK 0x00002000U
4720 #define MCAN_TXBCIE_CFIE13_SHIFT 13U
4721 
4722 // Field: [12] CFIE12
4723 //
4724 // Cancellation Finished Interrupt Enable 12. Each Tx Buffer has its own
4725 // Cancellation Finished Interrupt Enable bit.
4726 // 0 Cancellation finished interrupt disabled
4727 // 1 Cancellation finished interrupt enabled
4728 #define MCAN_TXBCIE_CFIE12 0x00001000U
4729 #define MCAN_TXBCIE_CFIE12_MASK 0x00001000U
4730 #define MCAN_TXBCIE_CFIE12_SHIFT 12U
4731 
4732 // Field: [11] CFIE11
4733 //
4734 // Cancellation Finished Interrupt Enable 11. Each Tx Buffer has its own
4735 // Cancellation Finished Interrupt Enable bit.
4736 // 0 Cancellation finished interrupt disabled
4737 // 1 Cancellation finished interrupt enabled
4738 #define MCAN_TXBCIE_CFIE11 0x00000800U
4739 #define MCAN_TXBCIE_CFIE11_MASK 0x00000800U
4740 #define MCAN_TXBCIE_CFIE11_SHIFT 11U
4741 
4742 // Field: [10] CFIE10
4743 //
4744 // Cancellation Finished Interrupt Enable 10. Each Tx Buffer has its own
4745 // Cancellation Finished Interrupt Enable bit.
4746 // 0 Cancellation finished interrupt disabled
4747 // 1 Cancellation finished interrupt enabled
4748 #define MCAN_TXBCIE_CFIE10 0x00000400U
4749 #define MCAN_TXBCIE_CFIE10_MASK 0x00000400U
4750 #define MCAN_TXBCIE_CFIE10_SHIFT 10U
4751 
4752 // Field: [9] CFIE9
4753 //
4754 // Cancellation Finished Interrupt Enable 9. Each Tx Buffer has its own
4755 // Cancellation Finished Interrupt Enable bit.
4756 // 0 Cancellation finished interrupt disabled
4757 // 1 Cancellation finished interrupt enabled
4758 #define MCAN_TXBCIE_CFIE9 0x00000200U
4759 #define MCAN_TXBCIE_CFIE9_MASK 0x00000200U
4760 #define MCAN_TXBCIE_CFIE9_SHIFT 9U
4761 
4762 // Field: [8] CFIE8
4763 //
4764 // Cancellation Finished Interrupt Enable 8. Each Tx Buffer has its own
4765 // Cancellation Finished Interrupt Enable bit.
4766 // 0 Cancellation finished interrupt disabled
4767 // 1 Cancellation finished interrupt enabled
4768 #define MCAN_TXBCIE_CFIE8 0x00000100U
4769 #define MCAN_TXBCIE_CFIE8_MASK 0x00000100U
4770 #define MCAN_TXBCIE_CFIE8_SHIFT 8U
4771 
4772 // Field: [7] CFIE7
4773 //
4774 // Cancellation Finished Interrupt Enable 7. Each Tx Buffer has its own
4775 // Cancellation Finished Interrupt Enable bit.
4776 // 0 Cancellation finished interrupt disabled
4777 // 1 Cancellation finished interrupt enabled
4778 #define MCAN_TXBCIE_CFIE7 0x00000080U
4779 #define MCAN_TXBCIE_CFIE7_MASK 0x00000080U
4780 #define MCAN_TXBCIE_CFIE7_SHIFT 7U
4781 
4782 // Field: [6] CFIE6
4783 //
4784 // Cancellation Finished Interrupt Enable 6. Each Tx Buffer has its own
4785 // Cancellation Finished Interrupt Enable bit.
4786 // 0 Cancellation finished interrupt disabled
4787 // 1 Cancellation finished interrupt enabled
4788 #define MCAN_TXBCIE_CFIE6 0x00000040U
4789 #define MCAN_TXBCIE_CFIE6_MASK 0x00000040U
4790 #define MCAN_TXBCIE_CFIE6_SHIFT 6U
4791 
4792 // Field: [5] CFIE5
4793 //
4794 // Cancellation Finished Interrupt Enable 5. Each Tx Buffer has its own
4795 // Cancellation Finished Interrupt Enable bit.
4796 // 0 Cancellation finished interrupt disabled
4797 // 1 Cancellation finished interrupt enabled
4798 #define MCAN_TXBCIE_CFIE5 0x00000020U
4799 #define MCAN_TXBCIE_CFIE5_MASK 0x00000020U
4800 #define MCAN_TXBCIE_CFIE5_SHIFT 5U
4801 
4802 // Field: [4] CFIE4
4803 //
4804 // Cancellation Finished Interrupt Enable 4. Each Tx Buffer has its own
4805 // Cancellation Finished Interrupt Enable bit.
4806 // 0 Cancellation finished interrupt disabled
4807 // 1 Cancellation finished interrupt enabled
4808 #define MCAN_TXBCIE_CFIE4 0x00000010U
4809 #define MCAN_TXBCIE_CFIE4_MASK 0x00000010U
4810 #define MCAN_TXBCIE_CFIE4_SHIFT 4U
4811 
4812 // Field: [3] CFIE3
4813 //
4814 // Cancellation Finished Interrupt Enable 3. Each Tx Buffer has its own
4815 // Cancellation Finished Interrupt Enable bit.
4816 // 0 Cancellation finished interrupt disabled
4817 // 1 Cancellation finished interrupt enabled
4818 #define MCAN_TXBCIE_CFIE3 0x00000008U
4819 #define MCAN_TXBCIE_CFIE3_MASK 0x00000008U
4820 #define MCAN_TXBCIE_CFIE3_SHIFT 3U
4821 
4822 // Field: [2] CFIE2
4823 //
4824 // Cancellation Finished Interrupt Enable 2. Each Tx Buffer has its own
4825 // Cancellation Finished Interrupt Enable bit.
4826 // 0 Cancellation finished interrupt disabled
4827 // 1 Cancellation finished interrupt enabled
4828 #define MCAN_TXBCIE_CFIE2 0x00000004U
4829 #define MCAN_TXBCIE_CFIE2_MASK 0x00000004U
4830 #define MCAN_TXBCIE_CFIE2_SHIFT 2U
4831 
4832 // Field: [1] CFIE1
4833 //
4834 // Cancellation Finished Interrupt Enable 1. Each Tx Buffer has its own
4835 // Cancellation Finished Interrupt Enable bit.
4836 // 0 Cancellation finished interrupt disabled
4837 // 1 Cancellation finished interrupt enabled
4838 #define MCAN_TXBCIE_CFIE1 0x00000002U
4839 #define MCAN_TXBCIE_CFIE1_MASK 0x00000002U
4840 #define MCAN_TXBCIE_CFIE1_SHIFT 1U
4841 
4842 // Field: [0] CFIE0
4843 //
4844 // Cancellation Finished Interrupt Enable 0. Each Tx Buffer has its own
4845 // Cancellation Finished Interrupt Enable bit.
4846 // 0 Cancellation finished interrupt disabled
4847 // 1 Cancellation finished interrupt enabled
4848 #define MCAN_TXBCIE_CFIE0 0x00000001U
4849 #define MCAN_TXBCIE_CFIE0_MASK 0x00000001U
4850 #define MCAN_TXBCIE_CFIE0_SHIFT 0U
4851 
4852 //*****************************************************************************
4853 //
4854 // Register: MCAN_TXEFC
4855 //
4856 //*****************************************************************************
4857 // Field: [29:24] EFWM
4858 //
4859 // Event FIFO Watermark
4860 // 0 Watermark interrupt disabled
4861 // 1-32 Level for Tx Event FIFO watermark interrupt (IR.TEFW)
4862 // >32 Watermark interrupt disabled
4863 #define MCAN_TXEFC_EFWM_WIDTH 6U
4864 #define MCAN_TXEFC_EFWM_MASK 0x3F000000U
4865 #define MCAN_TXEFC_EFWM_SHIFT 24U
4866 
4867 // Field: [21:16] EFS
4868 //
4869 // Event FIFO Size. The Tx Event FIFO elements are indexed from 0 to EFS - 1.
4870 // 0 Tx Event FIFO disabled
4871 // 1-32 Number of Tx Event FIFO elements
4872 // >32 Values greater than 32 are interpreted as 32
4873 #define MCAN_TXEFC_EFS_WIDTH 6U
4874 #define MCAN_TXEFC_EFS_MASK 0x003F0000U
4875 #define MCAN_TXEFC_EFS_SHIFT 16U
4876 
4877 // Field: [15:2] EFSA
4878 //
4879 // Event FIFO Start Address. Start address of Tx Event FIFO in Message RAM
4880 // (32-bit word address).
4881 #define MCAN_TXEFC_EFSA_WIDTH 14U
4882 #define MCAN_TXEFC_EFSA_MASK 0x0000FFFCU
4883 #define MCAN_TXEFC_EFSA_SHIFT 2U
4884 
4885 //*****************************************************************************
4886 //
4887 // Register: MCAN_TXEFS
4888 //
4889 //*****************************************************************************
4890 // Field: [25] TEFL
4891 //
4892 // Tx Event FIFO Element Lost. This bit is a copy of interrupt flag IR.TEFL.
4893 // When IR.TEFL is reset, this bit is also reset.
4894 // 0 No Tx Event FIFO element lost
4895 // 1 Tx Event FIFO element lost, also set after write attempt to Tx Event
4896 // FIFO of size zero.
4897 #define MCAN_TXEFS_TEFL 0x02000000U
4898 #define MCAN_TXEFS_TEFL_MASK 0x02000000U
4899 #define MCAN_TXEFS_TEFL_SHIFT 25U
4900 
4901 // Field: [24] EFF
4902 //
4903 // Event FIFO Full
4904 // 0 Tx Event FIFO not full
4905 // 1 Tx Event FIFO full
4906 #define MCAN_TXEFS_EFF 0x01000000U
4907 #define MCAN_TXEFS_EFF_MASK 0x01000000U
4908 #define MCAN_TXEFS_EFF_SHIFT 24U
4909 
4910 // Field: [20:16] EFPI
4911 //
4912 // Event FIFO Put Index.Tx Event FIFO write index pointer, range 0 to 31.
4913 #define MCAN_TXEFS_EFPI_WIDTH 5U
4914 #define MCAN_TXEFS_EFPI_MASK 0x001F0000U
4915 #define MCAN_TXEFS_EFPI_SHIFT 16U
4916 
4917 // Field: [12:8] EFGI
4918 //
4919 // Event FIFO Get Index. Tx Event FIFO read index pointer, range 0 to 31.
4920 #define MCAN_TXEFS_EFGI_WIDTH 5U
4921 #define MCAN_TXEFS_EFGI_MASK 0x00001F00U
4922 #define MCAN_TXEFS_EFGI_SHIFT 8U
4923 
4924 // Field: [5:0] EFFL
4925 //
4926 // Event FIFO Fill Level. Number of elements stored in Tx Event FIFO, range 0
4927 // to 32.
4928 #define MCAN_TXEFS_EFFL_WIDTH 6U
4929 #define MCAN_TXEFS_EFFL_MASK 0x0000003FU
4930 #define MCAN_TXEFS_EFFL_SHIFT 0U
4931 
4932 //*****************************************************************************
4933 //
4934 // Register: MCAN_TXEFA
4935 //
4936 //*****************************************************************************
4937 // Field: [4:0] EFAI
4938 //
4939 // Event FIFO Acknowledge Index. After the Host has read an element or a
4940 // sequence of elements from the Tx Event FIFO it has to write the index of the
4941 // last element read from Tx Event FIFO to EFAI. This will set the Tx Event
4942 // FIFO Get Index TXEFS.EFGI to EFAI + 1 and update the Event FIFO Fill Level
4943 // TXEFS.EFFL.
4944 #define MCAN_TXEFA_EFAI_WIDTH 5U
4945 #define MCAN_TXEFA_EFAI_MASK 0x0000001FU
4946 #define MCAN_TXEFA_EFAI_SHIFT 0U
4947 
4948 #endif /* __MCAN_REG_H__ */
© Copyright 1995-2024, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale