1 /***************************************************************************//**
2 * \file cyip_canfd.h
3 *
4 * \brief
5 * CANFD IP definitions
6 *
7 * \note
8 * Generator version: 1.6.0.409
9 *
10 ********************************************************************************
11 * \copyright
12 * Copyright 2016-2020 Cypress Semiconductor Corporation
13 * SPDX-License-Identifier: Apache-2.0
14 *
15 * Licensed under the Apache License, Version 2.0 (the "License");
16 * you may not use this file except in compliance with the License.
17 * You may obtain a copy of the License at
18 *
19 *     http://www.apache.org/licenses/LICENSE-2.0
20 *
21 * Unless required by applicable law or agreed to in writing, software
22 * distributed under the License is distributed on an "AS IS" BASIS,
23 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24 * See the License for the specific language governing permissions and
25 * limitations under the License.
26 *******************************************************************************/
27 
28 #ifndef _CYIP_CANFD_H_
29 #define _CYIP_CANFD_H_
30 
31 #include "cyip_headers.h"
32 
33 /*******************************************************************************
34 *                                    CANFD
35 *******************************************************************************/
36 
37 #define CANFD_CH_M_TTCAN_SECTION_SIZE           0x00000180UL
38 #define CANFD_CH_SECTION_SIZE                   0x00000200UL
39 #define CANFD_SECTION_SIZE                      0x00020000UL
40 
41 /**
42   * \brief TTCAN 3PIP, includes FD (CANFD_CH_M_TTCAN)
43   */
44 typedef struct {
45    __IM uint32_t CREL;                          /*!< 0x00000000 Core Release Register */
46    __IM uint32_t ENDN;                          /*!< 0x00000004 Endian Register */
47    __IM uint32_t RESERVED;
48   __IOM uint32_t DBTP;                          /*!< 0x0000000C Data Bit Timing & Prescaler Register */
49   __IOM uint32_t TEST;                          /*!< 0x00000010 Test Register */
50   __IOM uint32_t RWD;                           /*!< 0x00000014 RAM Watchdog */
51   __IOM uint32_t CCCR;                          /*!< 0x00000018 CC Control Register */
52   __IOM uint32_t NBTP;                          /*!< 0x0000001C Nominal Bit Timing & Prescaler Register */
53   __IOM uint32_t TSCC;                          /*!< 0x00000020 Timestamp Counter Configuration */
54   __IOM uint32_t TSCV;                          /*!< 0x00000024 Timestamp Counter Value */
55   __IOM uint32_t TOCC;                          /*!< 0x00000028 Timeout Counter Configuration */
56   __IOM uint32_t TOCV;                          /*!< 0x0000002C Timeout Counter Value */
57    __IM uint32_t RESERVED1[4];
58    __IM uint32_t ECR;                           /*!< 0x00000040 Error Counter Register */
59    __IM uint32_t PSR;                           /*!< 0x00000044 Protocol Status Register */
60   __IOM uint32_t TDCR;                          /*!< 0x00000048 Transmitter Delay Compensation Register */
61    __IM uint32_t RESERVED2;
62   __IOM uint32_t IR;                            /*!< 0x00000050 Interrupt Register */
63   __IOM uint32_t IE;                            /*!< 0x00000054 Interrupt Enable */
64   __IOM uint32_t ILS;                           /*!< 0x00000058 Interrupt Line Select */
65   __IOM uint32_t ILE;                           /*!< 0x0000005C Interrupt Line Enable */
66    __IM uint32_t RESERVED3[8];
67   __IOM uint32_t GFC;                           /*!< 0x00000080 Global Filter Configuration */
68   __IOM uint32_t SIDFC;                         /*!< 0x00000084 Standard ID Filter Configuration */
69   __IOM uint32_t XIDFC;                         /*!< 0x00000088 Extended ID Filter Configuration */
70    __IM uint32_t RESERVED4;
71   __IOM uint32_t XIDAM;                         /*!< 0x00000090 Extended ID AND Mask */
72    __IM uint32_t HPMS;                          /*!< 0x00000094 High Priority Message Status */
73   __IOM uint32_t NDAT1;                         /*!< 0x00000098 New Data 1 */
74   __IOM uint32_t NDAT2;                         /*!< 0x0000009C New Data 2 */
75   __IOM uint32_t RXF0C;                         /*!< 0x000000A0 Rx FIFO 0 Configuration */
76    __IM uint32_t RXF0S;                         /*!< 0x000000A4 Rx FIFO 0 Status */
77   __IOM uint32_t RXF0A;                         /*!< 0x000000A8 Rx FIFO 0 Acknowledge */
78   __IOM uint32_t RXBC;                          /*!< 0x000000AC Rx Buffer Configuration */
79   __IOM uint32_t RXF1C;                         /*!< 0x000000B0 Rx FIFO 1 Configuration */
80    __IM uint32_t RXF1S;                         /*!< 0x000000B4 Rx FIFO 1 Status */
81   __IOM uint32_t RXF1A;                         /*!< 0x000000B8 Rx FIFO 1 Acknowledge */
82   __IOM uint32_t RXESC;                         /*!< 0x000000BC Rx Buffer / FIFO Element Size Configuration */
83   __IOM uint32_t TXBC;                          /*!< 0x000000C0 Tx Buffer Configuration */
84    __IM uint32_t TXFQS;                         /*!< 0x000000C4 Tx FIFO/Queue Status */
85   __IOM uint32_t TXESC;                         /*!< 0x000000C8 Tx Buffer Element Size Configuration */
86    __IM uint32_t TXBRP;                         /*!< 0x000000CC Tx Buffer Request Pending */
87   __IOM uint32_t TXBAR;                         /*!< 0x000000D0 Tx Buffer Add Request */
88   __IOM uint32_t TXBCR;                         /*!< 0x000000D4 Tx Buffer Cancellation Request */
89    __IM uint32_t TXBTO;                         /*!< 0x000000D8 Tx Buffer Transmission Occurred */
90    __IM uint32_t TXBCF;                         /*!< 0x000000DC Tx Buffer Cancellation Finished */
91   __IOM uint32_t TXBTIE;                        /*!< 0x000000E0 Tx Buffer Transmission Interrupt Enable */
92   __IOM uint32_t TXBCIE;                        /*!< 0x000000E4 Tx Buffer Cancellation Finished Interrupt Enable */
93    __IM uint32_t RESERVED5[2];
94   __IOM uint32_t TXEFC;                         /*!< 0x000000F0 Tx Event FIFO Configuration */
95    __IM uint32_t TXEFS;                         /*!< 0x000000F4 Tx Event FIFO Status */
96   __IOM uint32_t TXEFA;                         /*!< 0x000000F8 Tx Event FIFO Acknowledge */
97    __IM uint32_t RESERVED6;
98   __IOM uint32_t TTTMC;                         /*!< 0x00000100 TT Trigger Memory Configuration */
99   __IOM uint32_t TTRMC;                         /*!< 0x00000104 TT Reference Message Configuration */
100   __IOM uint32_t TTOCF;                         /*!< 0x00000108 TT Operation Configuration */
101   __IOM uint32_t TTMLM;                         /*!< 0x0000010C TT Matrix Limits */
102   __IOM uint32_t TURCF;                         /*!< 0x00000110 TUR Configuration */
103   __IOM uint32_t TTOCN;                         /*!< 0x00000114 TT Operation Control */
104   __IOM uint32_t TTGTP;                         /*!< 0x00000118 TT Global Time Preset */
105   __IOM uint32_t TTTMK;                         /*!< 0x0000011C TT Time Mark */
106   __IOM uint32_t TTIR;                          /*!< 0x00000120 TT Interrupt Register */
107   __IOM uint32_t TTIE;                          /*!< 0x00000124 TT Interrupt Enable */
108   __IOM uint32_t TTILS;                         /*!< 0x00000128 TT Interrupt Line Select */
109    __IM uint32_t TTOST;                         /*!< 0x0000012C TT Operation Status */
110    __IM uint32_t TURNA;                         /*!< 0x00000130 TUR Numerator Actual */
111    __IM uint32_t TTLGT;                         /*!< 0x00000134 TT Local & Global Time */
112    __IM uint32_t TTCTC;                         /*!< 0x00000138 TT Cycle Time & Count */
113    __IM uint32_t TTCPT;                         /*!< 0x0000013C TT Capture Time */
114    __IM uint32_t TTCSM;                         /*!< 0x00000140 TT Cycle Sync Mark */
115    __IM uint32_t RESERVED7[15];
116 } CANFD_CH_M_TTCAN_V1_Type;                     /*!< Size = 384 (0x180) */
117 
118 /**
119   * \brief FIFO wrapper around M_TTCAN 3PIP, to enable DMA (CANFD_CH)
120   */
121 typedef struct {
122         CANFD_CH_M_TTCAN_V1_Type M_TTCAN;       /*!< 0x00000000 TTCAN 3PIP, includes FD */
123   __IOM uint32_t RXFTOP_CTL;                    /*!< 0x00000180 Receive FIFO Top control */
124    __IM uint32_t RESERVED[7];
125    __IM uint32_t RXFTOP0_STAT;                  /*!< 0x000001A0 Receive FIFO 0 Top Status */
126    __IM uint32_t RESERVED1;
127    __IM uint32_t RXFTOP0_DATA;                  /*!< 0x000001A8 Receive FIFO 0 Top Data */
128    __IM uint32_t RESERVED2;
129    __IM uint32_t RXFTOP1_STAT;                  /*!< 0x000001B0 Receive FIFO 1 Top Status */
130    __IM uint32_t RESERVED3;
131    __IM uint32_t RXFTOP1_DATA;                  /*!< 0x000001B8 Receive FIFO 1 Top Data */
132    __IM uint32_t RESERVED4[17];
133 } CANFD_CH_V1_Type;                             /*!< Size = 512 (0x200) */
134 
135 /**
136   * \brief CAN Controller (CANFD)
137   */
138 typedef struct {
139         CANFD_CH_V1_Type CH[8];                 /*!< 0x00000000 FIFO wrapper around M_TTCAN 3PIP, to enable DMA */
140   __IOM uint32_t CTL;                           /*!< 0x00001000 Global CAN control register */
141    __IM uint32_t STATUS;                        /*!< 0x00001004 Global CAN status register */
142    __IM uint32_t RESERVED[2];
143    __IM uint32_t INTR0_CAUSE;                   /*!< 0x00001010 Consolidated interrupt0 cause register */
144    __IM uint32_t INTR1_CAUSE;                   /*!< 0x00001014 Consolidated interrupt1 cause register */
145    __IM uint32_t RESERVED1[2];
146   __IOM uint32_t TS_CTL;                        /*!< 0x00001020 Time Stamp control register */
147   __IOM uint32_t TS_CNT;                        /*!< 0x00001024 Time Stamp counter value */
148    __IM uint32_t RESERVED2[22];
149   __IOM uint32_t ECC_CTL;                       /*!< 0x00001080 ECC control */
150   __IOM uint32_t ECC_ERR_INJ;                   /*!< 0x00001084 ECC error injection */
151 } CANFD_V1_Type;                                /*!< Size = 4232 (0x1088) */
152 
153 
154 /* CANFD_CH_M_TTCAN.CREL */
155 #define CANFD_CH_M_TTCAN_CREL_DAY_Pos           0UL
156 #define CANFD_CH_M_TTCAN_CREL_DAY_Msk           0xFFUL
157 #define CANFD_CH_M_TTCAN_CREL_MON_Pos           8UL
158 #define CANFD_CH_M_TTCAN_CREL_MON_Msk           0xFF00UL
159 #define CANFD_CH_M_TTCAN_CREL_YEAR_Pos          16UL
160 #define CANFD_CH_M_TTCAN_CREL_YEAR_Msk          0xF0000UL
161 #define CANFD_CH_M_TTCAN_CREL_SUBSTEP_Pos       20UL
162 #define CANFD_CH_M_TTCAN_CREL_SUBSTEP_Msk       0xF00000UL
163 #define CANFD_CH_M_TTCAN_CREL_STEP_Pos          24UL
164 #define CANFD_CH_M_TTCAN_CREL_STEP_Msk          0xF000000UL
165 #define CANFD_CH_M_TTCAN_CREL_REL_Pos           28UL
166 #define CANFD_CH_M_TTCAN_CREL_REL_Msk           0xF0000000UL
167 /* CANFD_CH_M_TTCAN.ENDN */
168 #define CANFD_CH_M_TTCAN_ENDN_ETV_Pos           0UL
169 #define CANFD_CH_M_TTCAN_ENDN_ETV_Msk           0xFFFFFFFFUL
170 /* CANFD_CH_M_TTCAN.DBTP */
171 #define CANFD_CH_M_TTCAN_DBTP_DSJW_Pos          0UL
172 #define CANFD_CH_M_TTCAN_DBTP_DSJW_Msk          0xFUL
173 #define CANFD_CH_M_TTCAN_DBTP_DTSEG2_Pos        4UL
174 #define CANFD_CH_M_TTCAN_DBTP_DTSEG2_Msk        0xF0UL
175 #define CANFD_CH_M_TTCAN_DBTP_DTSEG1_Pos        8UL
176 #define CANFD_CH_M_TTCAN_DBTP_DTSEG1_Msk        0x1F00UL
177 #define CANFD_CH_M_TTCAN_DBTP_DBRP_Pos          16UL
178 #define CANFD_CH_M_TTCAN_DBTP_DBRP_Msk          0x1F0000UL
179 #define CANFD_CH_M_TTCAN_DBTP_TDC_Pos           23UL
180 #define CANFD_CH_M_TTCAN_DBTP_TDC_Msk           0x800000UL
181 /* CANFD_CH_M_TTCAN.TEST */
182 #define CANFD_CH_M_TTCAN_TEST_TAM_Pos           0UL
183 #define CANFD_CH_M_TTCAN_TEST_TAM_Msk           0x1UL
184 #define CANFD_CH_M_TTCAN_TEST_TAT_Pos           1UL
185 #define CANFD_CH_M_TTCAN_TEST_TAT_Msk           0x2UL
186 #define CANFD_CH_M_TTCAN_TEST_CAM_Pos           2UL
187 #define CANFD_CH_M_TTCAN_TEST_CAM_Msk           0x4UL
188 #define CANFD_CH_M_TTCAN_TEST_CAT_Pos           3UL
189 #define CANFD_CH_M_TTCAN_TEST_CAT_Msk           0x8UL
190 #define CANFD_CH_M_TTCAN_TEST_LBCK_Pos          4UL
191 #define CANFD_CH_M_TTCAN_TEST_LBCK_Msk          0x10UL
192 #define CANFD_CH_M_TTCAN_TEST_TX_Pos            5UL
193 #define CANFD_CH_M_TTCAN_TEST_TX_Msk            0x60UL
194 #define CANFD_CH_M_TTCAN_TEST_RX_Pos            7UL
195 #define CANFD_CH_M_TTCAN_TEST_RX_Msk            0x80UL
196 /* CANFD_CH_M_TTCAN.RWD */
197 #define CANFD_CH_M_TTCAN_RWD_WDC_Pos            0UL
198 #define CANFD_CH_M_TTCAN_RWD_WDC_Msk            0xFFUL
199 #define CANFD_CH_M_TTCAN_RWD_WDV_Pos            8UL
200 #define CANFD_CH_M_TTCAN_RWD_WDV_Msk            0xFF00UL
201 /* CANFD_CH_M_TTCAN.CCCR */
202 #define CANFD_CH_M_TTCAN_CCCR_INIT_Pos          0UL
203 #define CANFD_CH_M_TTCAN_CCCR_INIT_Msk          0x1UL
204 #define CANFD_CH_M_TTCAN_CCCR_CCE_Pos           1UL
205 #define CANFD_CH_M_TTCAN_CCCR_CCE_Msk           0x2UL
206 #define CANFD_CH_M_TTCAN_CCCR_ASM_Pos           2UL
207 #define CANFD_CH_M_TTCAN_CCCR_ASM_Msk           0x4UL
208 #define CANFD_CH_M_TTCAN_CCCR_CSA_Pos           3UL
209 #define CANFD_CH_M_TTCAN_CCCR_CSA_Msk           0x8UL
210 #define CANFD_CH_M_TTCAN_CCCR_CSR_Pos           4UL
211 #define CANFD_CH_M_TTCAN_CCCR_CSR_Msk           0x10UL
212 #define CANFD_CH_M_TTCAN_CCCR_MON__Pos          5UL
213 #define CANFD_CH_M_TTCAN_CCCR_MON__Msk          0x20UL
214 #define CANFD_CH_M_TTCAN_CCCR_DAR_Pos           6UL
215 #define CANFD_CH_M_TTCAN_CCCR_DAR_Msk           0x40UL
216 #define CANFD_CH_M_TTCAN_CCCR_TEST_Pos          7UL
217 #define CANFD_CH_M_TTCAN_CCCR_TEST_Msk          0x80UL
218 #define CANFD_CH_M_TTCAN_CCCR_FDOE_Pos          8UL
219 #define CANFD_CH_M_TTCAN_CCCR_FDOE_Msk          0x100UL
220 #define CANFD_CH_M_TTCAN_CCCR_BRSE_Pos          9UL
221 #define CANFD_CH_M_TTCAN_CCCR_BRSE_Msk          0x200UL
222 #define CANFD_CH_M_TTCAN_CCCR_PXHD_Pos          12UL
223 #define CANFD_CH_M_TTCAN_CCCR_PXHD_Msk          0x1000UL
224 #define CANFD_CH_M_TTCAN_CCCR_EFBI_Pos          13UL
225 #define CANFD_CH_M_TTCAN_CCCR_EFBI_Msk          0x2000UL
226 #define CANFD_CH_M_TTCAN_CCCR_TXP_Pos           14UL
227 #define CANFD_CH_M_TTCAN_CCCR_TXP_Msk           0x4000UL
228 #define CANFD_CH_M_TTCAN_CCCR_NISO_Pos          15UL
229 #define CANFD_CH_M_TTCAN_CCCR_NISO_Msk          0x8000UL
230 /* CANFD_CH_M_TTCAN.NBTP */
231 #define CANFD_CH_M_TTCAN_NBTP_NTSEG2_Pos        0UL
232 #define CANFD_CH_M_TTCAN_NBTP_NTSEG2_Msk        0x7FUL
233 #define CANFD_CH_M_TTCAN_NBTP_NTSEG1_Pos        8UL
234 #define CANFD_CH_M_TTCAN_NBTP_NTSEG1_Msk        0xFF00UL
235 #define CANFD_CH_M_TTCAN_NBTP_NBRP_Pos          16UL
236 #define CANFD_CH_M_TTCAN_NBTP_NBRP_Msk          0x1FF0000UL
237 #define CANFD_CH_M_TTCAN_NBTP_NSJW_Pos          25UL
238 #define CANFD_CH_M_TTCAN_NBTP_NSJW_Msk          0xFE000000UL
239 /* CANFD_CH_M_TTCAN.TSCC */
240 #define CANFD_CH_M_TTCAN_TSCC_TSS_Pos           0UL
241 #define CANFD_CH_M_TTCAN_TSCC_TSS_Msk           0x3UL
242 #define CANFD_CH_M_TTCAN_TSCC_TCP_Pos           16UL
243 #define CANFD_CH_M_TTCAN_TSCC_TCP_Msk           0xF0000UL
244 /* CANFD_CH_M_TTCAN.TSCV */
245 #define CANFD_CH_M_TTCAN_TSCV_TSC_Pos           0UL
246 #define CANFD_CH_M_TTCAN_TSCV_TSC_Msk           0xFFFFUL
247 /* CANFD_CH_M_TTCAN.TOCC */
248 #define CANFD_CH_M_TTCAN_TOCC_ETOC_Pos          0UL
249 #define CANFD_CH_M_TTCAN_TOCC_ETOC_Msk          0x1UL
250 #define CANFD_CH_M_TTCAN_TOCC_TOS_Pos           1UL
251 #define CANFD_CH_M_TTCAN_TOCC_TOS_Msk           0x6UL
252 #define CANFD_CH_M_TTCAN_TOCC_TOP_Pos           16UL
253 #define CANFD_CH_M_TTCAN_TOCC_TOP_Msk           0xFFFF0000UL
254 /* CANFD_CH_M_TTCAN.TOCV */
255 #define CANFD_CH_M_TTCAN_TOCV_TOC_Pos           0UL
256 #define CANFD_CH_M_TTCAN_TOCV_TOC_Msk           0xFFFFUL
257 /* CANFD_CH_M_TTCAN.ECR */
258 #define CANFD_CH_M_TTCAN_ECR_TEC_Pos            0UL
259 #define CANFD_CH_M_TTCAN_ECR_TEC_Msk            0xFFUL
260 #define CANFD_CH_M_TTCAN_ECR_REC_Pos            8UL
261 #define CANFD_CH_M_TTCAN_ECR_REC_Msk            0x7F00UL
262 #define CANFD_CH_M_TTCAN_ECR_RP_Pos             15UL
263 #define CANFD_CH_M_TTCAN_ECR_RP_Msk             0x8000UL
264 #define CANFD_CH_M_TTCAN_ECR_CEL_Pos            16UL
265 #define CANFD_CH_M_TTCAN_ECR_CEL_Msk            0xFF0000UL
266 /* CANFD_CH_M_TTCAN.PSR */
267 #define CANFD_CH_M_TTCAN_PSR_LEC_Pos            0UL
268 #define CANFD_CH_M_TTCAN_PSR_LEC_Msk            0x7UL
269 #define CANFD_CH_M_TTCAN_PSR_ACT_Pos            3UL
270 #define CANFD_CH_M_TTCAN_PSR_ACT_Msk            0x18UL
271 #define CANFD_CH_M_TTCAN_PSR_EP_Pos             5UL
272 #define CANFD_CH_M_TTCAN_PSR_EP_Msk             0x20UL
273 #define CANFD_CH_M_TTCAN_PSR_EW_Pos             6UL
274 #define CANFD_CH_M_TTCAN_PSR_EW_Msk             0x40UL
275 #define CANFD_CH_M_TTCAN_PSR_BO_Pos             7UL
276 #define CANFD_CH_M_TTCAN_PSR_BO_Msk             0x80UL
277 #define CANFD_CH_M_TTCAN_PSR_DLEC_Pos           8UL
278 #define CANFD_CH_M_TTCAN_PSR_DLEC_Msk           0x700UL
279 #define CANFD_CH_M_TTCAN_PSR_RESI_Pos           11UL
280 #define CANFD_CH_M_TTCAN_PSR_RESI_Msk           0x800UL
281 #define CANFD_CH_M_TTCAN_PSR_RBRS_Pos           12UL
282 #define CANFD_CH_M_TTCAN_PSR_RBRS_Msk           0x1000UL
283 #define CANFD_CH_M_TTCAN_PSR_RFDF_Pos           13UL
284 #define CANFD_CH_M_TTCAN_PSR_RFDF_Msk           0x2000UL
285 #define CANFD_CH_M_TTCAN_PSR_PXE_Pos            14UL
286 #define CANFD_CH_M_TTCAN_PSR_PXE_Msk            0x4000UL
287 #define CANFD_CH_M_TTCAN_PSR_TDCV_Pos           16UL
288 #define CANFD_CH_M_TTCAN_PSR_TDCV_Msk           0x7F0000UL
289 /* CANFD_CH_M_TTCAN.TDCR */
290 #define CANFD_CH_M_TTCAN_TDCR_TDCF_Pos          0UL
291 #define CANFD_CH_M_TTCAN_TDCR_TDCF_Msk          0x7FUL
292 #define CANFD_CH_M_TTCAN_TDCR_TDCO_Pos          8UL
293 #define CANFD_CH_M_TTCAN_TDCR_TDCO_Msk          0x7F00UL
294 /* CANFD_CH_M_TTCAN.IR */
295 #define CANFD_CH_M_TTCAN_IR_RF0N_Pos            0UL
296 #define CANFD_CH_M_TTCAN_IR_RF0N_Msk            0x1UL
297 #define CANFD_CH_M_TTCAN_IR_RF0W_Pos            1UL
298 #define CANFD_CH_M_TTCAN_IR_RF0W_Msk            0x2UL
299 #define CANFD_CH_M_TTCAN_IR_RF0F_Pos            2UL
300 #define CANFD_CH_M_TTCAN_IR_RF0F_Msk            0x4UL
301 #define CANFD_CH_M_TTCAN_IR_RF0L__Pos           3UL
302 #define CANFD_CH_M_TTCAN_IR_RF0L__Msk           0x8UL
303 #define CANFD_CH_M_TTCAN_IR_RF1N_Pos            4UL
304 #define CANFD_CH_M_TTCAN_IR_RF1N_Msk            0x10UL
305 #define CANFD_CH_M_TTCAN_IR_RF1W_Pos            5UL
306 #define CANFD_CH_M_TTCAN_IR_RF1W_Msk            0x20UL
307 #define CANFD_CH_M_TTCAN_IR_RF1F_Pos            6UL
308 #define CANFD_CH_M_TTCAN_IR_RF1F_Msk            0x40UL
309 #define CANFD_CH_M_TTCAN_IR_RF1L__Pos           7UL
310 #define CANFD_CH_M_TTCAN_IR_RF1L__Msk           0x80UL
311 #define CANFD_CH_M_TTCAN_IR_HPM_Pos             8UL
312 #define CANFD_CH_M_TTCAN_IR_HPM_Msk             0x100UL
313 #define CANFD_CH_M_TTCAN_IR_TC_Pos              9UL
314 #define CANFD_CH_M_TTCAN_IR_TC_Msk              0x200UL
315 #define CANFD_CH_M_TTCAN_IR_TCF_Pos             10UL
316 #define CANFD_CH_M_TTCAN_IR_TCF_Msk             0x400UL
317 #define CANFD_CH_M_TTCAN_IR_TFE_Pos             11UL
318 #define CANFD_CH_M_TTCAN_IR_TFE_Msk             0x800UL
319 #define CANFD_CH_M_TTCAN_IR_TEFN_Pos            12UL
320 #define CANFD_CH_M_TTCAN_IR_TEFN_Msk            0x1000UL
321 #define CANFD_CH_M_TTCAN_IR_TEFW_Pos            13UL
322 #define CANFD_CH_M_TTCAN_IR_TEFW_Msk            0x2000UL
323 #define CANFD_CH_M_TTCAN_IR_TEFF_Pos            14UL
324 #define CANFD_CH_M_TTCAN_IR_TEFF_Msk            0x4000UL
325 #define CANFD_CH_M_TTCAN_IR_TEFL__Pos           15UL
326 #define CANFD_CH_M_TTCAN_IR_TEFL__Msk           0x8000UL
327 #define CANFD_CH_M_TTCAN_IR_TSW_Pos             16UL
328 #define CANFD_CH_M_TTCAN_IR_TSW_Msk             0x10000UL
329 #define CANFD_CH_M_TTCAN_IR_MRAF_Pos            17UL
330 #define CANFD_CH_M_TTCAN_IR_MRAF_Msk            0x20000UL
331 #define CANFD_CH_M_TTCAN_IR_TOO_Pos             18UL
332 #define CANFD_CH_M_TTCAN_IR_TOO_Msk             0x40000UL
333 #define CANFD_CH_M_TTCAN_IR_DRX_Pos             19UL
334 #define CANFD_CH_M_TTCAN_IR_DRX_Msk             0x80000UL
335 #define CANFD_CH_M_TTCAN_IR_BEC_Pos             20UL
336 #define CANFD_CH_M_TTCAN_IR_BEC_Msk             0x100000UL
337 #define CANFD_CH_M_TTCAN_IR_BEU_Pos             21UL
338 #define CANFD_CH_M_TTCAN_IR_BEU_Msk             0x200000UL
339 #define CANFD_CH_M_TTCAN_IR_ELO_Pos             22UL
340 #define CANFD_CH_M_TTCAN_IR_ELO_Msk             0x400000UL
341 #define CANFD_CH_M_TTCAN_IR_EP__Pos             23UL
342 #define CANFD_CH_M_TTCAN_IR_EP__Msk             0x800000UL
343 #define CANFD_CH_M_TTCAN_IR_EW__Pos             24UL
344 #define CANFD_CH_M_TTCAN_IR_EW__Msk             0x1000000UL
345 #define CANFD_CH_M_TTCAN_IR_BO__Pos             25UL
346 #define CANFD_CH_M_TTCAN_IR_BO__Msk             0x2000000UL
347 #define CANFD_CH_M_TTCAN_IR_WDI_Pos             26UL
348 #define CANFD_CH_M_TTCAN_IR_WDI_Msk             0x4000000UL
349 #define CANFD_CH_M_TTCAN_IR_PEA_Pos             27UL
350 #define CANFD_CH_M_TTCAN_IR_PEA_Msk             0x8000000UL
351 #define CANFD_CH_M_TTCAN_IR_PED_Pos             28UL
352 #define CANFD_CH_M_TTCAN_IR_PED_Msk             0x10000000UL
353 #define CANFD_CH_M_TTCAN_IR_ARA_Pos             29UL
354 #define CANFD_CH_M_TTCAN_IR_ARA_Msk             0x20000000UL
355 /* CANFD_CH_M_TTCAN.IE */
356 #define CANFD_CH_M_TTCAN_IE_RF0NE_Pos           0UL
357 #define CANFD_CH_M_TTCAN_IE_RF0NE_Msk           0x1UL
358 #define CANFD_CH_M_TTCAN_IE_RF0WE_Pos           1UL
359 #define CANFD_CH_M_TTCAN_IE_RF0WE_Msk           0x2UL
360 #define CANFD_CH_M_TTCAN_IE_RF0FE_Pos           2UL
361 #define CANFD_CH_M_TTCAN_IE_RF0FE_Msk           0x4UL
362 #define CANFD_CH_M_TTCAN_IE_RF0LE_Pos           3UL
363 #define CANFD_CH_M_TTCAN_IE_RF0LE_Msk           0x8UL
364 #define CANFD_CH_M_TTCAN_IE_RF1NE_Pos           4UL
365 #define CANFD_CH_M_TTCAN_IE_RF1NE_Msk           0x10UL
366 #define CANFD_CH_M_TTCAN_IE_RF1WE_Pos           5UL
367 #define CANFD_CH_M_TTCAN_IE_RF1WE_Msk           0x20UL
368 #define CANFD_CH_M_TTCAN_IE_RF1FE_Pos           6UL
369 #define CANFD_CH_M_TTCAN_IE_RF1FE_Msk           0x40UL
370 #define CANFD_CH_M_TTCAN_IE_RF1LE_Pos           7UL
371 #define CANFD_CH_M_TTCAN_IE_RF1LE_Msk           0x80UL
372 #define CANFD_CH_M_TTCAN_IE_HPME_Pos            8UL
373 #define CANFD_CH_M_TTCAN_IE_HPME_Msk            0x100UL
374 #define CANFD_CH_M_TTCAN_IE_TCE_Pos             9UL
375 #define CANFD_CH_M_TTCAN_IE_TCE_Msk             0x200UL
376 #define CANFD_CH_M_TTCAN_IE_TCFE_Pos            10UL
377 #define CANFD_CH_M_TTCAN_IE_TCFE_Msk            0x400UL
378 #define CANFD_CH_M_TTCAN_IE_TFEE_Pos            11UL
379 #define CANFD_CH_M_TTCAN_IE_TFEE_Msk            0x800UL
380 #define CANFD_CH_M_TTCAN_IE_TEFNE_Pos           12UL
381 #define CANFD_CH_M_TTCAN_IE_TEFNE_Msk           0x1000UL
382 #define CANFD_CH_M_TTCAN_IE_TEFWE_Pos           13UL
383 #define CANFD_CH_M_TTCAN_IE_TEFWE_Msk           0x2000UL
384 #define CANFD_CH_M_TTCAN_IE_TEFFE_Pos           14UL
385 #define CANFD_CH_M_TTCAN_IE_TEFFE_Msk           0x4000UL
386 #define CANFD_CH_M_TTCAN_IE_TEFLE_Pos           15UL
387 #define CANFD_CH_M_TTCAN_IE_TEFLE_Msk           0x8000UL
388 #define CANFD_CH_M_TTCAN_IE_TSWE_Pos            16UL
389 #define CANFD_CH_M_TTCAN_IE_TSWE_Msk            0x10000UL
390 #define CANFD_CH_M_TTCAN_IE_MRAFE_Pos           17UL
391 #define CANFD_CH_M_TTCAN_IE_MRAFE_Msk           0x20000UL
392 #define CANFD_CH_M_TTCAN_IE_TOOE_Pos            18UL
393 #define CANFD_CH_M_TTCAN_IE_TOOE_Msk            0x40000UL
394 #define CANFD_CH_M_TTCAN_IE_DRXE_Pos            19UL
395 #define CANFD_CH_M_TTCAN_IE_DRXE_Msk            0x80000UL
396 #define CANFD_CH_M_TTCAN_IE_BECE_Pos            20UL
397 #define CANFD_CH_M_TTCAN_IE_BECE_Msk            0x100000UL
398 #define CANFD_CH_M_TTCAN_IE_BEUE_Pos            21UL
399 #define CANFD_CH_M_TTCAN_IE_BEUE_Msk            0x200000UL
400 #define CANFD_CH_M_TTCAN_IE_ELOE_Pos            22UL
401 #define CANFD_CH_M_TTCAN_IE_ELOE_Msk            0x400000UL
402 #define CANFD_CH_M_TTCAN_IE_EPE_Pos             23UL
403 #define CANFD_CH_M_TTCAN_IE_EPE_Msk             0x800000UL
404 #define CANFD_CH_M_TTCAN_IE_EWE_Pos             24UL
405 #define CANFD_CH_M_TTCAN_IE_EWE_Msk             0x1000000UL
406 #define CANFD_CH_M_TTCAN_IE_BOE_Pos             25UL
407 #define CANFD_CH_M_TTCAN_IE_BOE_Msk             0x2000000UL
408 #define CANFD_CH_M_TTCAN_IE_WDIE_Pos            26UL
409 #define CANFD_CH_M_TTCAN_IE_WDIE_Msk            0x4000000UL
410 #define CANFD_CH_M_TTCAN_IE_PEAE_Pos            27UL
411 #define CANFD_CH_M_TTCAN_IE_PEAE_Msk            0x8000000UL
412 #define CANFD_CH_M_TTCAN_IE_PEDE_Pos            28UL
413 #define CANFD_CH_M_TTCAN_IE_PEDE_Msk            0x10000000UL
414 #define CANFD_CH_M_TTCAN_IE_ARAE_Pos            29UL
415 #define CANFD_CH_M_TTCAN_IE_ARAE_Msk            0x20000000UL
416 /* CANFD_CH_M_TTCAN.ILS */
417 #define CANFD_CH_M_TTCAN_ILS_RF0NL_Pos          0UL
418 #define CANFD_CH_M_TTCAN_ILS_RF0NL_Msk          0x1UL
419 #define CANFD_CH_M_TTCAN_ILS_RF0WL_Pos          1UL
420 #define CANFD_CH_M_TTCAN_ILS_RF0WL_Msk          0x2UL
421 #define CANFD_CH_M_TTCAN_ILS_RF0FL_Pos          2UL
422 #define CANFD_CH_M_TTCAN_ILS_RF0FL_Msk          0x4UL
423 #define CANFD_CH_M_TTCAN_ILS_RF0LL_Pos          3UL
424 #define CANFD_CH_M_TTCAN_ILS_RF0LL_Msk          0x8UL
425 #define CANFD_CH_M_TTCAN_ILS_RF1NL_Pos          4UL
426 #define CANFD_CH_M_TTCAN_ILS_RF1NL_Msk          0x10UL
427 #define CANFD_CH_M_TTCAN_ILS_RF1WL_Pos          5UL
428 #define CANFD_CH_M_TTCAN_ILS_RF1WL_Msk          0x20UL
429 #define CANFD_CH_M_TTCAN_ILS_RF1FL_Pos          6UL
430 #define CANFD_CH_M_TTCAN_ILS_RF1FL_Msk          0x40UL
431 #define CANFD_CH_M_TTCAN_ILS_RF1LL_Pos          7UL
432 #define CANFD_CH_M_TTCAN_ILS_RF1LL_Msk          0x80UL
433 #define CANFD_CH_M_TTCAN_ILS_HPML_Pos           8UL
434 #define CANFD_CH_M_TTCAN_ILS_HPML_Msk           0x100UL
435 #define CANFD_CH_M_TTCAN_ILS_TCL_Pos            9UL
436 #define CANFD_CH_M_TTCAN_ILS_TCL_Msk            0x200UL
437 #define CANFD_CH_M_TTCAN_ILS_TCFL_Pos           10UL
438 #define CANFD_CH_M_TTCAN_ILS_TCFL_Msk           0x400UL
439 #define CANFD_CH_M_TTCAN_ILS_TFEL_Pos           11UL
440 #define CANFD_CH_M_TTCAN_ILS_TFEL_Msk           0x800UL
441 #define CANFD_CH_M_TTCAN_ILS_TEFNL_Pos          12UL
442 #define CANFD_CH_M_TTCAN_ILS_TEFNL_Msk          0x1000UL
443 #define CANFD_CH_M_TTCAN_ILS_TEFWL_Pos          13UL
444 #define CANFD_CH_M_TTCAN_ILS_TEFWL_Msk          0x2000UL
445 #define CANFD_CH_M_TTCAN_ILS_TEFFL_Pos          14UL
446 #define CANFD_CH_M_TTCAN_ILS_TEFFL_Msk          0x4000UL
447 #define CANFD_CH_M_TTCAN_ILS_TEFLL_Pos          15UL
448 #define CANFD_CH_M_TTCAN_ILS_TEFLL_Msk          0x8000UL
449 #define CANFD_CH_M_TTCAN_ILS_TSWL_Pos           16UL
450 #define CANFD_CH_M_TTCAN_ILS_TSWL_Msk           0x10000UL
451 #define CANFD_CH_M_TTCAN_ILS_MRAFL_Pos          17UL
452 #define CANFD_CH_M_TTCAN_ILS_MRAFL_Msk          0x20000UL
453 #define CANFD_CH_M_TTCAN_ILS_TOOL_Pos           18UL
454 #define CANFD_CH_M_TTCAN_ILS_TOOL_Msk           0x40000UL
455 #define CANFD_CH_M_TTCAN_ILS_DRXL_Pos           19UL
456 #define CANFD_CH_M_TTCAN_ILS_DRXL_Msk           0x80000UL
457 #define CANFD_CH_M_TTCAN_ILS_BECL_Pos           20UL
458 #define CANFD_CH_M_TTCAN_ILS_BECL_Msk           0x100000UL
459 #define CANFD_CH_M_TTCAN_ILS_BEUL_Pos           21UL
460 #define CANFD_CH_M_TTCAN_ILS_BEUL_Msk           0x200000UL
461 #define CANFD_CH_M_TTCAN_ILS_ELOL_Pos           22UL
462 #define CANFD_CH_M_TTCAN_ILS_ELOL_Msk           0x400000UL
463 #define CANFD_CH_M_TTCAN_ILS_EPL_Pos            23UL
464 #define CANFD_CH_M_TTCAN_ILS_EPL_Msk            0x800000UL
465 #define CANFD_CH_M_TTCAN_ILS_EWL_Pos            24UL
466 #define CANFD_CH_M_TTCAN_ILS_EWL_Msk            0x1000000UL
467 #define CANFD_CH_M_TTCAN_ILS_BOL_Pos            25UL
468 #define CANFD_CH_M_TTCAN_ILS_BOL_Msk            0x2000000UL
469 #define CANFD_CH_M_TTCAN_ILS_WDIL_Pos           26UL
470 #define CANFD_CH_M_TTCAN_ILS_WDIL_Msk           0x4000000UL
471 #define CANFD_CH_M_TTCAN_ILS_PEAL_Pos           27UL
472 #define CANFD_CH_M_TTCAN_ILS_PEAL_Msk           0x8000000UL
473 #define CANFD_CH_M_TTCAN_ILS_PEDL_Pos           28UL
474 #define CANFD_CH_M_TTCAN_ILS_PEDL_Msk           0x10000000UL
475 #define CANFD_CH_M_TTCAN_ILS_ARAL_Pos           29UL
476 #define CANFD_CH_M_TTCAN_ILS_ARAL_Msk           0x20000000UL
477 /* CANFD_CH_M_TTCAN.ILE */
478 #define CANFD_CH_M_TTCAN_ILE_EINT0_Pos          0UL
479 #define CANFD_CH_M_TTCAN_ILE_EINT0_Msk          0x1UL
480 #define CANFD_CH_M_TTCAN_ILE_EINT1_Pos          1UL
481 #define CANFD_CH_M_TTCAN_ILE_EINT1_Msk          0x2UL
482 /* CANFD_CH_M_TTCAN.GFC */
483 #define CANFD_CH_M_TTCAN_GFC_RRFE_Pos           0UL
484 #define CANFD_CH_M_TTCAN_GFC_RRFE_Msk           0x1UL
485 #define CANFD_CH_M_TTCAN_GFC_RRFS_Pos           1UL
486 #define CANFD_CH_M_TTCAN_GFC_RRFS_Msk           0x2UL
487 #define CANFD_CH_M_TTCAN_GFC_ANFE_Pos           2UL
488 #define CANFD_CH_M_TTCAN_GFC_ANFE_Msk           0xCUL
489 #define CANFD_CH_M_TTCAN_GFC_ANFS_Pos           4UL
490 #define CANFD_CH_M_TTCAN_GFC_ANFS_Msk           0x30UL
491 /* CANFD_CH_M_TTCAN.SIDFC */
492 #define CANFD_CH_M_TTCAN_SIDFC_FLSSA_Pos        2UL
493 #define CANFD_CH_M_TTCAN_SIDFC_FLSSA_Msk        0xFFFCUL
494 #define CANFD_CH_M_TTCAN_SIDFC_LSS_Pos          16UL
495 #define CANFD_CH_M_TTCAN_SIDFC_LSS_Msk          0xFF0000UL
496 /* CANFD_CH_M_TTCAN.XIDFC */
497 #define CANFD_CH_M_TTCAN_XIDFC_FLESA_Pos        2UL
498 #define CANFD_CH_M_TTCAN_XIDFC_FLESA_Msk        0xFFFCUL
499 #define CANFD_CH_M_TTCAN_XIDFC_LSE_Pos          16UL
500 #define CANFD_CH_M_TTCAN_XIDFC_LSE_Msk          0x7F0000UL
501 /* CANFD_CH_M_TTCAN.XIDAM */
502 #define CANFD_CH_M_TTCAN_XIDAM_EIDM_Pos         0UL
503 #define CANFD_CH_M_TTCAN_XIDAM_EIDM_Msk         0x1FFFFFFFUL
504 /* CANFD_CH_M_TTCAN.HPMS */
505 #define CANFD_CH_M_TTCAN_HPMS_BIDX_Pos          0UL
506 #define CANFD_CH_M_TTCAN_HPMS_BIDX_Msk          0x3FUL
507 #define CANFD_CH_M_TTCAN_HPMS_MSI_Pos           6UL
508 #define CANFD_CH_M_TTCAN_HPMS_MSI_Msk           0xC0UL
509 #define CANFD_CH_M_TTCAN_HPMS_FIDX_Pos          8UL
510 #define CANFD_CH_M_TTCAN_HPMS_FIDX_Msk          0x7F00UL
511 #define CANFD_CH_M_TTCAN_HPMS_FLST_Pos          15UL
512 #define CANFD_CH_M_TTCAN_HPMS_FLST_Msk          0x8000UL
513 /* CANFD_CH_M_TTCAN.NDAT1 */
514 #define CANFD_CH_M_TTCAN_NDAT1_ND_Pos           0UL
515 #define CANFD_CH_M_TTCAN_NDAT1_ND_Msk           0xFFFFFFFFUL
516 /* CANFD_CH_M_TTCAN.NDAT2 */
517 #define CANFD_CH_M_TTCAN_NDAT2_ND_Pos           0UL
518 #define CANFD_CH_M_TTCAN_NDAT2_ND_Msk           0xFFFFFFFFUL
519 /* CANFD_CH_M_TTCAN.RXF0C */
520 #define CANFD_CH_M_TTCAN_RXF0C_F0SA_Pos         2UL
521 #define CANFD_CH_M_TTCAN_RXF0C_F0SA_Msk         0xFFFCUL
522 #define CANFD_CH_M_TTCAN_RXF0C_F0S_Pos          16UL
523 #define CANFD_CH_M_TTCAN_RXF0C_F0S_Msk          0x7F0000UL
524 #define CANFD_CH_M_TTCAN_RXF0C_F0WM_Pos         24UL
525 #define CANFD_CH_M_TTCAN_RXF0C_F0WM_Msk         0x7F000000UL
526 #define CANFD_CH_M_TTCAN_RXF0C_F0OM_Pos         31UL
527 #define CANFD_CH_M_TTCAN_RXF0C_F0OM_Msk         0x80000000UL
528 /* CANFD_CH_M_TTCAN.RXF0S */
529 #define CANFD_CH_M_TTCAN_RXF0S_F0FL_Pos         0UL
530 #define CANFD_CH_M_TTCAN_RXF0S_F0FL_Msk         0x7FUL
531 #define CANFD_CH_M_TTCAN_RXF0S_F0GI_Pos         8UL
532 #define CANFD_CH_M_TTCAN_RXF0S_F0GI_Msk         0x3F00UL
533 #define CANFD_CH_M_TTCAN_RXF0S_F0PI_Pos         16UL
534 #define CANFD_CH_M_TTCAN_RXF0S_F0PI_Msk         0x3F0000UL
535 #define CANFD_CH_M_TTCAN_RXF0S_F0F_Pos          24UL
536 #define CANFD_CH_M_TTCAN_RXF0S_F0F_Msk          0x1000000UL
537 #define CANFD_CH_M_TTCAN_RXF0S_RF0L_Pos         25UL
538 #define CANFD_CH_M_TTCAN_RXF0S_RF0L_Msk         0x2000000UL
539 /* CANFD_CH_M_TTCAN.RXF0A */
540 #define CANFD_CH_M_TTCAN_RXF0A_F0AI_Pos         0UL
541 #define CANFD_CH_M_TTCAN_RXF0A_F0AI_Msk         0x3FUL
542 /* CANFD_CH_M_TTCAN.RXBC */
543 #define CANFD_CH_M_TTCAN_RXBC_RBSA_Pos          2UL
544 #define CANFD_CH_M_TTCAN_RXBC_RBSA_Msk          0xFFFCUL
545 /* CANFD_CH_M_TTCAN.RXF1C */
546 #define CANFD_CH_M_TTCAN_RXF1C_F1SA_Pos         2UL
547 #define CANFD_CH_M_TTCAN_RXF1C_F1SA_Msk         0xFFFCUL
548 #define CANFD_CH_M_TTCAN_RXF1C_F1S_Pos          16UL
549 #define CANFD_CH_M_TTCAN_RXF1C_F1S_Msk          0x7F0000UL
550 #define CANFD_CH_M_TTCAN_RXF1C_F1WM_Pos         24UL
551 #define CANFD_CH_M_TTCAN_RXF1C_F1WM_Msk         0x7F000000UL
552 #define CANFD_CH_M_TTCAN_RXF1C_F1OM_Pos         31UL
553 #define CANFD_CH_M_TTCAN_RXF1C_F1OM_Msk         0x80000000UL
554 /* CANFD_CH_M_TTCAN.RXF1S */
555 #define CANFD_CH_M_TTCAN_RXF1S_F1FL_Pos         0UL
556 #define CANFD_CH_M_TTCAN_RXF1S_F1FL_Msk         0x7FUL
557 #define CANFD_CH_M_TTCAN_RXF1S_F1GI_Pos         8UL
558 #define CANFD_CH_M_TTCAN_RXF1S_F1GI_Msk         0x3F00UL
559 #define CANFD_CH_M_TTCAN_RXF1S_F1PI_Pos         16UL
560 #define CANFD_CH_M_TTCAN_RXF1S_F1PI_Msk         0x3F0000UL
561 #define CANFD_CH_M_TTCAN_RXF1S_F1F_Pos          24UL
562 #define CANFD_CH_M_TTCAN_RXF1S_F1F_Msk          0x1000000UL
563 #define CANFD_CH_M_TTCAN_RXF1S_RF1L_Pos         25UL
564 #define CANFD_CH_M_TTCAN_RXF1S_RF1L_Msk         0x2000000UL
565 #define CANFD_CH_M_TTCAN_RXF1S_DMS_Pos          30UL
566 #define CANFD_CH_M_TTCAN_RXF1S_DMS_Msk          0xC0000000UL
567 /* CANFD_CH_M_TTCAN.RXF1A */
568 #define CANFD_CH_M_TTCAN_RXF1A_F1AI_Pos         0UL
569 #define CANFD_CH_M_TTCAN_RXF1A_F1AI_Msk         0x3FUL
570 /* CANFD_CH_M_TTCAN.RXESC */
571 #define CANFD_CH_M_TTCAN_RXESC_F0DS_Pos         0UL
572 #define CANFD_CH_M_TTCAN_RXESC_F0DS_Msk         0x7UL
573 #define CANFD_CH_M_TTCAN_RXESC_F1DS_Pos         4UL
574 #define CANFD_CH_M_TTCAN_RXESC_F1DS_Msk         0x70UL
575 #define CANFD_CH_M_TTCAN_RXESC_RBDS_Pos         8UL
576 #define CANFD_CH_M_TTCAN_RXESC_RBDS_Msk         0x700UL
577 /* CANFD_CH_M_TTCAN.TXBC */
578 #define CANFD_CH_M_TTCAN_TXBC_TBSA_Pos          2UL
579 #define CANFD_CH_M_TTCAN_TXBC_TBSA_Msk          0xFFFCUL
580 #define CANFD_CH_M_TTCAN_TXBC_NDTB_Pos          16UL
581 #define CANFD_CH_M_TTCAN_TXBC_NDTB_Msk          0x3F0000UL
582 #define CANFD_CH_M_TTCAN_TXBC_TFQS_Pos          24UL
583 #define CANFD_CH_M_TTCAN_TXBC_TFQS_Msk          0x3F000000UL
584 #define CANFD_CH_M_TTCAN_TXBC_TFQM_Pos          30UL
585 #define CANFD_CH_M_TTCAN_TXBC_TFQM_Msk          0x40000000UL
586 /* CANFD_CH_M_TTCAN.TXFQS */
587 #define CANFD_CH_M_TTCAN_TXFQS_TFFL_Pos         0UL
588 #define CANFD_CH_M_TTCAN_TXFQS_TFFL_Msk         0x3FUL
589 #define CANFD_CH_M_TTCAN_TXFQS_TFGI_Pos         8UL
590 #define CANFD_CH_M_TTCAN_TXFQS_TFGI_Msk         0x1F00UL
591 #define CANFD_CH_M_TTCAN_TXFQS_TFQPI_Pos        16UL
592 #define CANFD_CH_M_TTCAN_TXFQS_TFQPI_Msk        0x1F0000UL
593 #define CANFD_CH_M_TTCAN_TXFQS_TFQF_Pos         21UL
594 #define CANFD_CH_M_TTCAN_TXFQS_TFQF_Msk         0x200000UL
595 /* CANFD_CH_M_TTCAN.TXESC */
596 #define CANFD_CH_M_TTCAN_TXESC_TBDS_Pos         0UL
597 #define CANFD_CH_M_TTCAN_TXESC_TBDS_Msk         0x7UL
598 /* CANFD_CH_M_TTCAN.TXBRP */
599 #define CANFD_CH_M_TTCAN_TXBRP_TRP_Pos          0UL
600 #define CANFD_CH_M_TTCAN_TXBRP_TRP_Msk          0xFFFFFFFFUL
601 /* CANFD_CH_M_TTCAN.TXBAR */
602 #define CANFD_CH_M_TTCAN_TXBAR_AR_Pos           0UL
603 #define CANFD_CH_M_TTCAN_TXBAR_AR_Msk           0xFFFFFFFFUL
604 /* CANFD_CH_M_TTCAN.TXBCR */
605 #define CANFD_CH_M_TTCAN_TXBCR_CR_Pos           0UL
606 #define CANFD_CH_M_TTCAN_TXBCR_CR_Msk           0xFFFFFFFFUL
607 /* CANFD_CH_M_TTCAN.TXBTO */
608 #define CANFD_CH_M_TTCAN_TXBTO_TO_Pos           0UL
609 #define CANFD_CH_M_TTCAN_TXBTO_TO_Msk           0xFFFFFFFFUL
610 /* CANFD_CH_M_TTCAN.TXBCF */
611 #define CANFD_CH_M_TTCAN_TXBCF_CF_Pos           0UL
612 #define CANFD_CH_M_TTCAN_TXBCF_CF_Msk           0xFFFFFFFFUL
613 /* CANFD_CH_M_TTCAN.TXBTIE */
614 #define CANFD_CH_M_TTCAN_TXBTIE_TIE_Pos         0UL
615 #define CANFD_CH_M_TTCAN_TXBTIE_TIE_Msk         0xFFFFFFFFUL
616 /* CANFD_CH_M_TTCAN.TXBCIE */
617 #define CANFD_CH_M_TTCAN_TXBCIE_CFIE_Pos        0UL
618 #define CANFD_CH_M_TTCAN_TXBCIE_CFIE_Msk        0xFFFFFFFFUL
619 /* CANFD_CH_M_TTCAN.TXEFC */
620 #define CANFD_CH_M_TTCAN_TXEFC_EFSA_Pos         2UL
621 #define CANFD_CH_M_TTCAN_TXEFC_EFSA_Msk         0xFFFCUL
622 #define CANFD_CH_M_TTCAN_TXEFC_EFS_Pos          16UL
623 #define CANFD_CH_M_TTCAN_TXEFC_EFS_Msk          0x3F0000UL
624 #define CANFD_CH_M_TTCAN_TXEFC_EFWM_Pos         24UL
625 #define CANFD_CH_M_TTCAN_TXEFC_EFWM_Msk         0x3F000000UL
626 /* CANFD_CH_M_TTCAN.TXEFS */
627 #define CANFD_CH_M_TTCAN_TXEFS_EFFL_Pos         0UL
628 #define CANFD_CH_M_TTCAN_TXEFS_EFFL_Msk         0x3FUL
629 #define CANFD_CH_M_TTCAN_TXEFS_EFGI_Pos         8UL
630 #define CANFD_CH_M_TTCAN_TXEFS_EFGI_Msk         0x1F00UL
631 #define CANFD_CH_M_TTCAN_TXEFS_EFPI_Pos         16UL
632 #define CANFD_CH_M_TTCAN_TXEFS_EFPI_Msk         0x1F0000UL
633 #define CANFD_CH_M_TTCAN_TXEFS_EFF_Pos          24UL
634 #define CANFD_CH_M_TTCAN_TXEFS_EFF_Msk          0x1000000UL
635 #define CANFD_CH_M_TTCAN_TXEFS_TEFL_Pos         25UL
636 #define CANFD_CH_M_TTCAN_TXEFS_TEFL_Msk         0x2000000UL
637 /* CANFD_CH_M_TTCAN.TXEFA */
638 #define CANFD_CH_M_TTCAN_TXEFA_EFAI_Pos         0UL
639 #define CANFD_CH_M_TTCAN_TXEFA_EFAI_Msk         0x1FUL
640 /* CANFD_CH_M_TTCAN.TTTMC */
641 #define CANFD_CH_M_TTCAN_TTTMC_TMSA_Pos         2UL
642 #define CANFD_CH_M_TTCAN_TTTMC_TMSA_Msk         0xFFFCUL
643 #define CANFD_CH_M_TTCAN_TTTMC_TME_Pos          16UL
644 #define CANFD_CH_M_TTCAN_TTTMC_TME_Msk          0x7F0000UL
645 /* CANFD_CH_M_TTCAN.TTRMC */
646 #define CANFD_CH_M_TTCAN_TTRMC_RID_Pos          0UL
647 #define CANFD_CH_M_TTCAN_TTRMC_RID_Msk          0x1FFFFFFFUL
648 #define CANFD_CH_M_TTCAN_TTRMC_XTD_Pos          30UL
649 #define CANFD_CH_M_TTCAN_TTRMC_XTD_Msk          0x40000000UL
650 #define CANFD_CH_M_TTCAN_TTRMC_RMPS_Pos         31UL
651 #define CANFD_CH_M_TTCAN_TTRMC_RMPS_Msk         0x80000000UL
652 /* CANFD_CH_M_TTCAN.TTOCF */
653 #define CANFD_CH_M_TTCAN_TTOCF_OM_Pos           0UL
654 #define CANFD_CH_M_TTCAN_TTOCF_OM_Msk           0x3UL
655 #define CANFD_CH_M_TTCAN_TTOCF_GEN_Pos          3UL
656 #define CANFD_CH_M_TTCAN_TTOCF_GEN_Msk          0x8UL
657 #define CANFD_CH_M_TTCAN_TTOCF_TM_Pos           4UL
658 #define CANFD_CH_M_TTCAN_TTOCF_TM_Msk           0x10UL
659 #define CANFD_CH_M_TTCAN_TTOCF_LDSDL_Pos        5UL
660 #define CANFD_CH_M_TTCAN_TTOCF_LDSDL_Msk        0xE0UL
661 #define CANFD_CH_M_TTCAN_TTOCF_IRTO_Pos         8UL
662 #define CANFD_CH_M_TTCAN_TTOCF_IRTO_Msk         0x7F00UL
663 #define CANFD_CH_M_TTCAN_TTOCF_EECS_Pos         15UL
664 #define CANFD_CH_M_TTCAN_TTOCF_EECS_Msk         0x8000UL
665 #define CANFD_CH_M_TTCAN_TTOCF_AWL_Pos          16UL
666 #define CANFD_CH_M_TTCAN_TTOCF_AWL_Msk          0xFF0000UL
667 #define CANFD_CH_M_TTCAN_TTOCF_EGTF_Pos         24UL
668 #define CANFD_CH_M_TTCAN_TTOCF_EGTF_Msk         0x1000000UL
669 #define CANFD_CH_M_TTCAN_TTOCF_ECC_Pos          25UL
670 #define CANFD_CH_M_TTCAN_TTOCF_ECC_Msk          0x2000000UL
671 #define CANFD_CH_M_TTCAN_TTOCF_EVTP_Pos         26UL
672 #define CANFD_CH_M_TTCAN_TTOCF_EVTP_Msk         0x4000000UL
673 /* CANFD_CH_M_TTCAN.TTMLM */
674 #define CANFD_CH_M_TTCAN_TTMLM_CCM_Pos          0UL
675 #define CANFD_CH_M_TTCAN_TTMLM_CCM_Msk          0x3FUL
676 #define CANFD_CH_M_TTCAN_TTMLM_CSS_Pos          6UL
677 #define CANFD_CH_M_TTCAN_TTMLM_CSS_Msk          0xC0UL
678 #define CANFD_CH_M_TTCAN_TTMLM_TXEW_Pos         8UL
679 #define CANFD_CH_M_TTCAN_TTMLM_TXEW_Msk         0xF00UL
680 #define CANFD_CH_M_TTCAN_TTMLM_ENTT_Pos         16UL
681 #define CANFD_CH_M_TTCAN_TTMLM_ENTT_Msk         0xFFF0000UL
682 /* CANFD_CH_M_TTCAN.TURCF */
683 #define CANFD_CH_M_TTCAN_TURCF_NCL_Pos          0UL
684 #define CANFD_CH_M_TTCAN_TURCF_NCL_Msk          0xFFFFUL
685 #define CANFD_CH_M_TTCAN_TURCF_DC_Pos           16UL
686 #define CANFD_CH_M_TTCAN_TURCF_DC_Msk           0x3FFF0000UL
687 #define CANFD_CH_M_TTCAN_TURCF_ELT_Pos          31UL
688 #define CANFD_CH_M_TTCAN_TURCF_ELT_Msk          0x80000000UL
689 /* CANFD_CH_M_TTCAN.TTOCN */
690 #define CANFD_CH_M_TTCAN_TTOCN_SGT_Pos          0UL
691 #define CANFD_CH_M_TTCAN_TTOCN_SGT_Msk          0x1UL
692 #define CANFD_CH_M_TTCAN_TTOCN_ECS_Pos          1UL
693 #define CANFD_CH_M_TTCAN_TTOCN_ECS_Msk          0x2UL
694 #define CANFD_CH_M_TTCAN_TTOCN_SWP_Pos          2UL
695 #define CANFD_CH_M_TTCAN_TTOCN_SWP_Msk          0x4UL
696 #define CANFD_CH_M_TTCAN_TTOCN_SWS_Pos          3UL
697 #define CANFD_CH_M_TTCAN_TTOCN_SWS_Msk          0x18UL
698 #define CANFD_CH_M_TTCAN_TTOCN_RTIE_Pos         5UL
699 #define CANFD_CH_M_TTCAN_TTOCN_RTIE_Msk         0x20UL
700 #define CANFD_CH_M_TTCAN_TTOCN_TMC_Pos          6UL
701 #define CANFD_CH_M_TTCAN_TTOCN_TMC_Msk          0xC0UL
702 #define CANFD_CH_M_TTCAN_TTOCN_TTIE_Pos         8UL
703 #define CANFD_CH_M_TTCAN_TTOCN_TTIE_Msk         0x100UL
704 #define CANFD_CH_M_TTCAN_TTOCN_GCS_Pos          9UL
705 #define CANFD_CH_M_TTCAN_TTOCN_GCS_Msk          0x200UL
706 #define CANFD_CH_M_TTCAN_TTOCN_FGP_Pos          10UL
707 #define CANFD_CH_M_TTCAN_TTOCN_FGP_Msk          0x400UL
708 #define CANFD_CH_M_TTCAN_TTOCN_TMG_Pos          11UL
709 #define CANFD_CH_M_TTCAN_TTOCN_TMG_Msk          0x800UL
710 #define CANFD_CH_M_TTCAN_TTOCN_NIG_Pos          12UL
711 #define CANFD_CH_M_TTCAN_TTOCN_NIG_Msk          0x1000UL
712 #define CANFD_CH_M_TTCAN_TTOCN_ESCN_Pos         13UL
713 #define CANFD_CH_M_TTCAN_TTOCN_ESCN_Msk         0x2000UL
714 #define CANFD_CH_M_TTCAN_TTOCN_LCKC_Pos         15UL
715 #define CANFD_CH_M_TTCAN_TTOCN_LCKC_Msk         0x8000UL
716 /* CANFD_CH_M_TTCAN.TTGTP */
717 #define CANFD_CH_M_TTCAN_TTGTP_TP_Pos           0UL
718 #define CANFD_CH_M_TTCAN_TTGTP_TP_Msk           0xFFFFUL
719 #define CANFD_CH_M_TTCAN_TTGTP_CTP_Pos          16UL
720 #define CANFD_CH_M_TTCAN_TTGTP_CTP_Msk          0xFFFF0000UL
721 /* CANFD_CH_M_TTCAN.TTTMK */
722 #define CANFD_CH_M_TTCAN_TTTMK_TM__Pos          0UL
723 #define CANFD_CH_M_TTCAN_TTTMK_TM__Msk          0xFFFFUL
724 #define CANFD_CH_M_TTCAN_TTTMK_TICC_Pos         16UL
725 #define CANFD_CH_M_TTCAN_TTTMK_TICC_Msk         0x7F0000UL
726 #define CANFD_CH_M_TTCAN_TTTMK_LCKM_Pos         31UL
727 #define CANFD_CH_M_TTCAN_TTTMK_LCKM_Msk         0x80000000UL
728 /* CANFD_CH_M_TTCAN.TTIR */
729 #define CANFD_CH_M_TTCAN_TTIR_SBC_Pos           0UL
730 #define CANFD_CH_M_TTCAN_TTIR_SBC_Msk           0x1UL
731 #define CANFD_CH_M_TTCAN_TTIR_SMC_Pos           1UL
732 #define CANFD_CH_M_TTCAN_TTIR_SMC_Msk           0x2UL
733 #define CANFD_CH_M_TTCAN_TTIR_CSM__Pos          2UL
734 #define CANFD_CH_M_TTCAN_TTIR_CSM__Msk          0x4UL
735 #define CANFD_CH_M_TTCAN_TTIR_SOG_Pos           3UL
736 #define CANFD_CH_M_TTCAN_TTIR_SOG_Msk           0x8UL
737 #define CANFD_CH_M_TTCAN_TTIR_RTMI_Pos          4UL
738 #define CANFD_CH_M_TTCAN_TTIR_RTMI_Msk          0x10UL
739 #define CANFD_CH_M_TTCAN_TTIR_TTMI_Pos          5UL
740 #define CANFD_CH_M_TTCAN_TTIR_TTMI_Msk          0x20UL
741 #define CANFD_CH_M_TTCAN_TTIR_SWE_Pos           6UL
742 #define CANFD_CH_M_TTCAN_TTIR_SWE_Msk           0x40UL
743 #define CANFD_CH_M_TTCAN_TTIR_GTW_Pos           7UL
744 #define CANFD_CH_M_TTCAN_TTIR_GTW_Msk           0x80UL
745 #define CANFD_CH_M_TTCAN_TTIR_GTD_Pos           8UL
746 #define CANFD_CH_M_TTCAN_TTIR_GTD_Msk           0x100UL
747 #define CANFD_CH_M_TTCAN_TTIR_GTE_Pos           9UL
748 #define CANFD_CH_M_TTCAN_TTIR_GTE_Msk           0x200UL
749 #define CANFD_CH_M_TTCAN_TTIR_TXU_Pos           10UL
750 #define CANFD_CH_M_TTCAN_TTIR_TXU_Msk           0x400UL
751 #define CANFD_CH_M_TTCAN_TTIR_TXO_Pos           11UL
752 #define CANFD_CH_M_TTCAN_TTIR_TXO_Msk           0x800UL
753 #define CANFD_CH_M_TTCAN_TTIR_SE1_Pos           12UL
754 #define CANFD_CH_M_TTCAN_TTIR_SE1_Msk           0x1000UL
755 #define CANFD_CH_M_TTCAN_TTIR_SE2_Pos           13UL
756 #define CANFD_CH_M_TTCAN_TTIR_SE2_Msk           0x2000UL
757 #define CANFD_CH_M_TTCAN_TTIR_ELC_Pos           14UL
758 #define CANFD_CH_M_TTCAN_TTIR_ELC_Msk           0x4000UL
759 #define CANFD_CH_M_TTCAN_TTIR_IWT_Pos           15UL
760 #define CANFD_CH_M_TTCAN_TTIR_IWT_Msk           0x8000UL
761 #define CANFD_CH_M_TTCAN_TTIR_WT_Pos            16UL
762 #define CANFD_CH_M_TTCAN_TTIR_WT_Msk            0x10000UL
763 #define CANFD_CH_M_TTCAN_TTIR_AW_Pos            17UL
764 #define CANFD_CH_M_TTCAN_TTIR_AW_Msk            0x20000UL
765 #define CANFD_CH_M_TTCAN_TTIR_CER_Pos           18UL
766 #define CANFD_CH_M_TTCAN_TTIR_CER_Msk           0x40000UL
767 /* CANFD_CH_M_TTCAN.TTIE */
768 #define CANFD_CH_M_TTCAN_TTIE_SBCE_Pos          0UL
769 #define CANFD_CH_M_TTCAN_TTIE_SBCE_Msk          0x1UL
770 #define CANFD_CH_M_TTCAN_TTIE_SMCE_Pos          1UL
771 #define CANFD_CH_M_TTCAN_TTIE_SMCE_Msk          0x2UL
772 #define CANFD_CH_M_TTCAN_TTIE_CSME_Pos          2UL
773 #define CANFD_CH_M_TTCAN_TTIE_CSME_Msk          0x4UL
774 #define CANFD_CH_M_TTCAN_TTIE_SOGE_Pos          3UL
775 #define CANFD_CH_M_TTCAN_TTIE_SOGE_Msk          0x8UL
776 #define CANFD_CH_M_TTCAN_TTIE_RTMIE_Pos         4UL
777 #define CANFD_CH_M_TTCAN_TTIE_RTMIE_Msk         0x10UL
778 #define CANFD_CH_M_TTCAN_TTIE_TTMIE_Pos         5UL
779 #define CANFD_CH_M_TTCAN_TTIE_TTMIE_Msk         0x20UL
780 #define CANFD_CH_M_TTCAN_TTIE_SWEE_Pos          6UL
781 #define CANFD_CH_M_TTCAN_TTIE_SWEE_Msk          0x40UL
782 #define CANFD_CH_M_TTCAN_TTIE_GTWE_Pos          7UL
783 #define CANFD_CH_M_TTCAN_TTIE_GTWE_Msk          0x80UL
784 #define CANFD_CH_M_TTCAN_TTIE_GTDE_Pos          8UL
785 #define CANFD_CH_M_TTCAN_TTIE_GTDE_Msk          0x100UL
786 #define CANFD_CH_M_TTCAN_TTIE_GTEE_Pos          9UL
787 #define CANFD_CH_M_TTCAN_TTIE_GTEE_Msk          0x200UL
788 #define CANFD_CH_M_TTCAN_TTIE_TXUE_Pos          10UL
789 #define CANFD_CH_M_TTCAN_TTIE_TXUE_Msk          0x400UL
790 #define CANFD_CH_M_TTCAN_TTIE_TXOE_Pos          11UL
791 #define CANFD_CH_M_TTCAN_TTIE_TXOE_Msk          0x800UL
792 #define CANFD_CH_M_TTCAN_TTIE_SE1E_Pos          12UL
793 #define CANFD_CH_M_TTCAN_TTIE_SE1E_Msk          0x1000UL
794 #define CANFD_CH_M_TTCAN_TTIE_SE2E_Pos          13UL
795 #define CANFD_CH_M_TTCAN_TTIE_SE2E_Msk          0x2000UL
796 #define CANFD_CH_M_TTCAN_TTIE_ELCE_Pos          14UL
797 #define CANFD_CH_M_TTCAN_TTIE_ELCE_Msk          0x4000UL
798 #define CANFD_CH_M_TTCAN_TTIE_IWTE_Pos          15UL
799 #define CANFD_CH_M_TTCAN_TTIE_IWTE_Msk          0x8000UL
800 #define CANFD_CH_M_TTCAN_TTIE_WTE_Pos           16UL
801 #define CANFD_CH_M_TTCAN_TTIE_WTE_Msk           0x10000UL
802 #define CANFD_CH_M_TTCAN_TTIE_AWE__Pos          17UL
803 #define CANFD_CH_M_TTCAN_TTIE_AWE__Msk          0x20000UL
804 #define CANFD_CH_M_TTCAN_TTIE_CERE_Pos          18UL
805 #define CANFD_CH_M_TTCAN_TTIE_CERE_Msk          0x40000UL
806 /* CANFD_CH_M_TTCAN.TTILS */
807 #define CANFD_CH_M_TTCAN_TTILS_SBCL_Pos         0UL
808 #define CANFD_CH_M_TTCAN_TTILS_SBCL_Msk         0x1UL
809 #define CANFD_CH_M_TTCAN_TTILS_SMCL_Pos         1UL
810 #define CANFD_CH_M_TTCAN_TTILS_SMCL_Msk         0x2UL
811 #define CANFD_CH_M_TTCAN_TTILS_CSML_Pos         2UL
812 #define CANFD_CH_M_TTCAN_TTILS_CSML_Msk         0x4UL
813 #define CANFD_CH_M_TTCAN_TTILS_SOGL_Pos         3UL
814 #define CANFD_CH_M_TTCAN_TTILS_SOGL_Msk         0x8UL
815 #define CANFD_CH_M_TTCAN_TTILS_RTMIL_Pos        4UL
816 #define CANFD_CH_M_TTCAN_TTILS_RTMIL_Msk        0x10UL
817 #define CANFD_CH_M_TTCAN_TTILS_TTMIL_Pos        5UL
818 #define CANFD_CH_M_TTCAN_TTILS_TTMIL_Msk        0x20UL
819 #define CANFD_CH_M_TTCAN_TTILS_SWEL_Pos         6UL
820 #define CANFD_CH_M_TTCAN_TTILS_SWEL_Msk         0x40UL
821 #define CANFD_CH_M_TTCAN_TTILS_GTWL_Pos         7UL
822 #define CANFD_CH_M_TTCAN_TTILS_GTWL_Msk         0x80UL
823 #define CANFD_CH_M_TTCAN_TTILS_GTDL_Pos         8UL
824 #define CANFD_CH_M_TTCAN_TTILS_GTDL_Msk         0x100UL
825 #define CANFD_CH_M_TTCAN_TTILS_GTEL_Pos         9UL
826 #define CANFD_CH_M_TTCAN_TTILS_GTEL_Msk         0x200UL
827 #define CANFD_CH_M_TTCAN_TTILS_TXUL_Pos         10UL
828 #define CANFD_CH_M_TTCAN_TTILS_TXUL_Msk         0x400UL
829 #define CANFD_CH_M_TTCAN_TTILS_TXOL_Pos         11UL
830 #define CANFD_CH_M_TTCAN_TTILS_TXOL_Msk         0x800UL
831 #define CANFD_CH_M_TTCAN_TTILS_SE1L_Pos         12UL
832 #define CANFD_CH_M_TTCAN_TTILS_SE1L_Msk         0x1000UL
833 #define CANFD_CH_M_TTCAN_TTILS_SE2L_Pos         13UL
834 #define CANFD_CH_M_TTCAN_TTILS_SE2L_Msk         0x2000UL
835 #define CANFD_CH_M_TTCAN_TTILS_ELCL_Pos         14UL
836 #define CANFD_CH_M_TTCAN_TTILS_ELCL_Msk         0x4000UL
837 #define CANFD_CH_M_TTCAN_TTILS_IWTL_Pos         15UL
838 #define CANFD_CH_M_TTCAN_TTILS_IWTL_Msk         0x8000UL
839 #define CANFD_CH_M_TTCAN_TTILS_WTL_Pos          16UL
840 #define CANFD_CH_M_TTCAN_TTILS_WTL_Msk          0x10000UL
841 #define CANFD_CH_M_TTCAN_TTILS_AWL__Pos         17UL
842 #define CANFD_CH_M_TTCAN_TTILS_AWL__Msk         0x20000UL
843 #define CANFD_CH_M_TTCAN_TTILS_CERL_Pos         18UL
844 #define CANFD_CH_M_TTCAN_TTILS_CERL_Msk         0x40000UL
845 /* CANFD_CH_M_TTCAN.TTOST */
846 #define CANFD_CH_M_TTCAN_TTOST_EL_Pos           0UL
847 #define CANFD_CH_M_TTCAN_TTOST_EL_Msk           0x3UL
848 #define CANFD_CH_M_TTCAN_TTOST_MS_Pos           2UL
849 #define CANFD_CH_M_TTCAN_TTOST_MS_Msk           0xCUL
850 #define CANFD_CH_M_TTCAN_TTOST_SYS_Pos          4UL
851 #define CANFD_CH_M_TTCAN_TTOST_SYS_Msk          0x30UL
852 #define CANFD_CH_M_TTCAN_TTOST_QGTP_Pos         6UL
853 #define CANFD_CH_M_TTCAN_TTOST_QGTP_Msk         0x40UL
854 #define CANFD_CH_M_TTCAN_TTOST_QCS_Pos          7UL
855 #define CANFD_CH_M_TTCAN_TTOST_QCS_Msk          0x80UL
856 #define CANFD_CH_M_TTCAN_TTOST_RTO_Pos          8UL
857 #define CANFD_CH_M_TTCAN_TTOST_RTO_Msk          0xFF00UL
858 #define CANFD_CH_M_TTCAN_TTOST_WGTD_Pos         22UL
859 #define CANFD_CH_M_TTCAN_TTOST_WGTD_Msk         0x400000UL
860 #define CANFD_CH_M_TTCAN_TTOST_GFI_Pos          23UL
861 #define CANFD_CH_M_TTCAN_TTOST_GFI_Msk          0x800000UL
862 #define CANFD_CH_M_TTCAN_TTOST_TMP_Pos          24UL
863 #define CANFD_CH_M_TTCAN_TTOST_TMP_Msk          0x7000000UL
864 #define CANFD_CH_M_TTCAN_TTOST_GSI_Pos          27UL
865 #define CANFD_CH_M_TTCAN_TTOST_GSI_Msk          0x8000000UL
866 #define CANFD_CH_M_TTCAN_TTOST_WFE_Pos          28UL
867 #define CANFD_CH_M_TTCAN_TTOST_WFE_Msk          0x10000000UL
868 #define CANFD_CH_M_TTCAN_TTOST_AWE_Pos          29UL
869 #define CANFD_CH_M_TTCAN_TTOST_AWE_Msk          0x20000000UL
870 #define CANFD_CH_M_TTCAN_TTOST_WECS_Pos         30UL
871 #define CANFD_CH_M_TTCAN_TTOST_WECS_Msk         0x40000000UL
872 #define CANFD_CH_M_TTCAN_TTOST_SPL_Pos          31UL
873 #define CANFD_CH_M_TTCAN_TTOST_SPL_Msk          0x80000000UL
874 /* CANFD_CH_M_TTCAN.TURNA */
875 #define CANFD_CH_M_TTCAN_TURNA_NAV_Pos          0UL
876 #define CANFD_CH_M_TTCAN_TURNA_NAV_Msk          0x3FFFFUL
877 /* CANFD_CH_M_TTCAN.TTLGT */
878 #define CANFD_CH_M_TTCAN_TTLGT_LT_Pos           0UL
879 #define CANFD_CH_M_TTCAN_TTLGT_LT_Msk           0xFFFFUL
880 #define CANFD_CH_M_TTCAN_TTLGT_GT_Pos           16UL
881 #define CANFD_CH_M_TTCAN_TTLGT_GT_Msk           0xFFFF0000UL
882 /* CANFD_CH_M_TTCAN.TTCTC */
883 #define CANFD_CH_M_TTCAN_TTCTC_CT_Pos           0UL
884 #define CANFD_CH_M_TTCAN_TTCTC_CT_Msk           0xFFFFUL
885 #define CANFD_CH_M_TTCAN_TTCTC_CC_Pos           16UL
886 #define CANFD_CH_M_TTCAN_TTCTC_CC_Msk           0x3F0000UL
887 /* CANFD_CH_M_TTCAN.TTCPT */
888 #define CANFD_CH_M_TTCAN_TTCPT_CCV_Pos          0UL
889 #define CANFD_CH_M_TTCAN_TTCPT_CCV_Msk          0x3FUL
890 #define CANFD_CH_M_TTCAN_TTCPT_SWV_Pos          16UL
891 #define CANFD_CH_M_TTCAN_TTCPT_SWV_Msk          0xFFFF0000UL
892 /* CANFD_CH_M_TTCAN.TTCSM */
893 #define CANFD_CH_M_TTCAN_TTCSM_CSM_Pos          0UL
894 #define CANFD_CH_M_TTCAN_TTCSM_CSM_Msk          0xFFFFUL
895 
896 
897 /* CANFD_CH.RXFTOP_CTL */
898 #define CANFD_CH_RXFTOP_CTL_F0TPE_Pos           0UL
899 #define CANFD_CH_RXFTOP_CTL_F0TPE_Msk           0x1UL
900 #define CANFD_CH_RXFTOP_CTL_F1TPE_Pos           1UL
901 #define CANFD_CH_RXFTOP_CTL_F1TPE_Msk           0x2UL
902 /* CANFD_CH.RXFTOP0_STAT */
903 #define CANFD_CH_RXFTOP0_STAT_F0TA_Pos          0UL
904 #define CANFD_CH_RXFTOP0_STAT_F0TA_Msk          0xFFFFUL
905 /* CANFD_CH.RXFTOP0_DATA */
906 #define CANFD_CH_RXFTOP0_DATA_F0TD_Pos          0UL
907 #define CANFD_CH_RXFTOP0_DATA_F0TD_Msk          0xFFFFFFFFUL
908 /* CANFD_CH.RXFTOP1_STAT */
909 #define CANFD_CH_RXFTOP1_STAT_F1TA_Pos          0UL
910 #define CANFD_CH_RXFTOP1_STAT_F1TA_Msk          0xFFFFUL
911 /* CANFD_CH.RXFTOP1_DATA */
912 #define CANFD_CH_RXFTOP1_DATA_F1TD_Pos          0UL
913 #define CANFD_CH_RXFTOP1_DATA_F1TD_Msk          0xFFFFFFFFUL
914 
915 
916 /* CANFD.CTL */
917 #define CANFD_CTL_STOP_REQ_Pos                  0UL
918 #define CANFD_CTL_STOP_REQ_Msk                  0xFFUL
919 #define CANFD_CTL_MRAM_OFF_Pos                  31UL
920 #define CANFD_CTL_MRAM_OFF_Msk                  0x80000000UL
921 /* CANFD.STATUS */
922 #define CANFD_STATUS_STOP_ACK_Pos               0UL
923 #define CANFD_STATUS_STOP_ACK_Msk               0xFFUL
924 /* CANFD.INTR0_CAUSE */
925 #define CANFD_INTR0_CAUSE_INT0_Pos              0UL
926 #define CANFD_INTR0_CAUSE_INT0_Msk              0xFFUL
927 /* CANFD.INTR1_CAUSE */
928 #define CANFD_INTR1_CAUSE_INT1_Pos              0UL
929 #define CANFD_INTR1_CAUSE_INT1_Msk              0xFFUL
930 /* CANFD.TS_CTL */
931 #define CANFD_TS_CTL_PRESCALE_Pos               0UL
932 #define CANFD_TS_CTL_PRESCALE_Msk               0xFFFFUL
933 #define CANFD_TS_CTL_ENABLED_Pos                31UL
934 #define CANFD_TS_CTL_ENABLED_Msk                0x80000000UL
935 /* CANFD.TS_CNT */
936 #define CANFD_TS_CNT_VALUE_Pos                  0UL
937 #define CANFD_TS_CNT_VALUE_Msk                  0xFFFFUL
938 /* CANFD.ECC_CTL */
939 #define CANFD_ECC_CTL_ECC_EN_Pos                16UL
940 #define CANFD_ECC_CTL_ECC_EN_Msk                0x10000UL
941 /* CANFD.ECC_ERR_INJ */
942 #define CANFD_ECC_ERR_INJ_ERR_ADDR_Pos          2UL
943 #define CANFD_ECC_ERR_INJ_ERR_ADDR_Msk          0xFFFCUL
944 #define CANFD_ECC_ERR_INJ_ERR_EN_Pos            20UL
945 #define CANFD_ECC_ERR_INJ_ERR_EN_Msk            0x100000UL
946 #define CANFD_ECC_ERR_INJ_ERR_PAR_Pos           24UL
947 #define CANFD_ECC_ERR_INJ_ERR_PAR_Msk           0x7F000000UL
948 
949 
950 #endif /* _CYIP_CANFD_H_ */
951 
952 
953 /* [] END OF FILE */
954