4033 lines
442 KiB
C
4033 lines
442 KiB
C
|
/**
|
||
|
* \file
|
||
|
*
|
||
|
* \brief Component description for MCAN
|
||
|
*
|
||
|
* Copyright (c) 2019 Microchip Technology Inc.
|
||
|
*
|
||
|
* \license_start
|
||
|
*
|
||
|
* \page License
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
* you may not use this file except in compliance with the License.
|
||
|
* You may obtain a copy of the License at
|
||
|
*
|
||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||
|
*
|
||
|
* Unless required by applicable law or agreed to in writing, software
|
||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
* See the License for the specific language governing permissions and
|
||
|
* limitations under the License.
|
||
|
*
|
||
|
* \license_stop
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
/* file generated from device description version 2019-01-18T21:19:59Z */
|
||
|
#ifndef _SAME70_MCAN_COMPONENT_H_
|
||
|
#define _SAME70_MCAN_COMPONENT_H_
|
||
|
#define _SAME70_MCAN_COMPONENT_ /**< \deprecated Backward compatibility for ASF */
|
||
|
|
||
|
/** \addtogroup SAME_SAME70 Controller Area Network
|
||
|
* @{
|
||
|
*/
|
||
|
/* ========================================================================== */
|
||
|
/** SOFTWARE API DEFINITION FOR MCAN */
|
||
|
/* ========================================================================== */
|
||
|
#ifndef COMPONENT_TYPEDEF_STYLE
|
||
|
#define COMPONENT_TYPEDEF_STYLE 'R' /**< Defines default style of typedefs for the component header files ('R' = RFO, 'N' = NTO)*/
|
||
|
#endif
|
||
|
|
||
|
#define MCAN_11273 /**< (MCAN) Module ID */
|
||
|
#define REV_MCAN N /**< (MCAN) Module revision */
|
||
|
|
||
|
/* -------- MCAN_RXBE_0 : (MCAN Offset: 0x00) (R/W 32) Rx Buffer Element 0 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ID:29; /**< bit: 0..28 Identifier */
|
||
|
uint32_t RTR:1; /**< bit: 29 Remote Transmission Request */
|
||
|
uint32_t XTD:1; /**< bit: 30 Extended Identifier */
|
||
|
uint32_t ESI:1; /**< bit: 31 Error State Indicator */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXBE_0_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXBE_0_OFFSET (0x00) /**< (MCAN_RXBE_0) Rx Buffer Element 0 Offset */
|
||
|
|
||
|
#define MCAN_RXBE_0_ID_Pos 0 /**< (MCAN_RXBE_0) Identifier Position */
|
||
|
#define MCAN_RXBE_0_ID_Msk (_U_(0x1FFFFFFF) << MCAN_RXBE_0_ID_Pos) /**< (MCAN_RXBE_0) Identifier Mask */
|
||
|
#define MCAN_RXBE_0_ID(value) (MCAN_RXBE_0_ID_Msk & ((value) << MCAN_RXBE_0_ID_Pos))
|
||
|
#define MCAN_RXBE_0_RTR_Pos 29 /**< (MCAN_RXBE_0) Remote Transmission Request Position */
|
||
|
#define MCAN_RXBE_0_RTR_Msk (_U_(0x1) << MCAN_RXBE_0_RTR_Pos) /**< (MCAN_RXBE_0) Remote Transmission Request Mask */
|
||
|
#define MCAN_RXBE_0_RTR MCAN_RXBE_0_RTR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXBE_0_RTR_Msk instead */
|
||
|
#define MCAN_RXBE_0_XTD_Pos 30 /**< (MCAN_RXBE_0) Extended Identifier Position */
|
||
|
#define MCAN_RXBE_0_XTD_Msk (_U_(0x1) << MCAN_RXBE_0_XTD_Pos) /**< (MCAN_RXBE_0) Extended Identifier Mask */
|
||
|
#define MCAN_RXBE_0_XTD MCAN_RXBE_0_XTD_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXBE_0_XTD_Msk instead */
|
||
|
#define MCAN_RXBE_0_ESI_Pos 31 /**< (MCAN_RXBE_0) Error State Indicator Position */
|
||
|
#define MCAN_RXBE_0_ESI_Msk (_U_(0x1) << MCAN_RXBE_0_ESI_Pos) /**< (MCAN_RXBE_0) Error State Indicator Mask */
|
||
|
#define MCAN_RXBE_0_ESI MCAN_RXBE_0_ESI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXBE_0_ESI_Msk instead */
|
||
|
#define MCAN_RXBE_0_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_RXBE_0) Register MASK (Use MCAN_RXBE_0_Msk instead) */
|
||
|
#define MCAN_RXBE_0_Msk _U_(0xFFFFFFFF) /**< (MCAN_RXBE_0) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXBE_1 : (MCAN Offset: 0x04) (R/W 32) Rx Buffer Element 1 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t RXTS:16; /**< bit: 0..15 Rx Timestamp */
|
||
|
uint32_t DLC:4; /**< bit: 16..19 Data Length Code */
|
||
|
uint32_t BRS:1; /**< bit: 20 Bit Rate Switch */
|
||
|
uint32_t FDF:1; /**< bit: 21 FD Format */
|
||
|
uint32_t :2; /**< bit: 22..23 Reserved */
|
||
|
uint32_t FIDX:7; /**< bit: 24..30 Filter Index */
|
||
|
uint32_t ANMF:1; /**< bit: 31 Accepted Non-matching Frame */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXBE_1_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXBE_1_OFFSET (0x04) /**< (MCAN_RXBE_1) Rx Buffer Element 1 Offset */
|
||
|
|
||
|
#define MCAN_RXBE_1_RXTS_Pos 0 /**< (MCAN_RXBE_1) Rx Timestamp Position */
|
||
|
#define MCAN_RXBE_1_RXTS_Msk (_U_(0xFFFF) << MCAN_RXBE_1_RXTS_Pos) /**< (MCAN_RXBE_1) Rx Timestamp Mask */
|
||
|
#define MCAN_RXBE_1_RXTS(value) (MCAN_RXBE_1_RXTS_Msk & ((value) << MCAN_RXBE_1_RXTS_Pos))
|
||
|
#define MCAN_RXBE_1_DLC_Pos 16 /**< (MCAN_RXBE_1) Data Length Code Position */
|
||
|
#define MCAN_RXBE_1_DLC_Msk (_U_(0xF) << MCAN_RXBE_1_DLC_Pos) /**< (MCAN_RXBE_1) Data Length Code Mask */
|
||
|
#define MCAN_RXBE_1_DLC(value) (MCAN_RXBE_1_DLC_Msk & ((value) << MCAN_RXBE_1_DLC_Pos))
|
||
|
#define MCAN_RXBE_1_BRS_Pos 20 /**< (MCAN_RXBE_1) Bit Rate Switch Position */
|
||
|
#define MCAN_RXBE_1_BRS_Msk (_U_(0x1) << MCAN_RXBE_1_BRS_Pos) /**< (MCAN_RXBE_1) Bit Rate Switch Mask */
|
||
|
#define MCAN_RXBE_1_BRS MCAN_RXBE_1_BRS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXBE_1_BRS_Msk instead */
|
||
|
#define MCAN_RXBE_1_FDF_Pos 21 /**< (MCAN_RXBE_1) FD Format Position */
|
||
|
#define MCAN_RXBE_1_FDF_Msk (_U_(0x1) << MCAN_RXBE_1_FDF_Pos) /**< (MCAN_RXBE_1) FD Format Mask */
|
||
|
#define MCAN_RXBE_1_FDF MCAN_RXBE_1_FDF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXBE_1_FDF_Msk instead */
|
||
|
#define MCAN_RXBE_1_FIDX_Pos 24 /**< (MCAN_RXBE_1) Filter Index Position */
|
||
|
#define MCAN_RXBE_1_FIDX_Msk (_U_(0x7F) << MCAN_RXBE_1_FIDX_Pos) /**< (MCAN_RXBE_1) Filter Index Mask */
|
||
|
#define MCAN_RXBE_1_FIDX(value) (MCAN_RXBE_1_FIDX_Msk & ((value) << MCAN_RXBE_1_FIDX_Pos))
|
||
|
#define MCAN_RXBE_1_ANMF_Pos 31 /**< (MCAN_RXBE_1) Accepted Non-matching Frame Position */
|
||
|
#define MCAN_RXBE_1_ANMF_Msk (_U_(0x1) << MCAN_RXBE_1_ANMF_Pos) /**< (MCAN_RXBE_1) Accepted Non-matching Frame Mask */
|
||
|
#define MCAN_RXBE_1_ANMF MCAN_RXBE_1_ANMF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXBE_1_ANMF_Msk instead */
|
||
|
#define MCAN_RXBE_1_MASK _U_(0xFF3FFFFF) /**< \deprecated (MCAN_RXBE_1) Register MASK (Use MCAN_RXBE_1_Msk instead) */
|
||
|
#define MCAN_RXBE_1_Msk _U_(0xFF3FFFFF) /**< (MCAN_RXBE_1) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXBE_DATA : (MCAN Offset: 0x08) (R/W 32) Rx Buffer Element Data -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t DB0:8; /**< bit: 0..7 Data Byte 0 */
|
||
|
uint32_t DB1:8; /**< bit: 8..15 Data Byte 1 */
|
||
|
uint32_t DB2:8; /**< bit: 16..23 Data Byte 2 */
|
||
|
uint32_t DB3:8; /**< bit: 24..31 Data Byte 3 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXBE_DATA_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXBE_DATA_OFFSET (0x08) /**< (MCAN_RXBE_DATA) Rx Buffer Element Data Offset */
|
||
|
|
||
|
#define MCAN_RXBE_DATA_DB0_Pos 0 /**< (MCAN_RXBE_DATA) Data Byte 0 Position */
|
||
|
#define MCAN_RXBE_DATA_DB0_Msk (_U_(0xFF) << MCAN_RXBE_DATA_DB0_Pos) /**< (MCAN_RXBE_DATA) Data Byte 0 Mask */
|
||
|
#define MCAN_RXBE_DATA_DB0(value) (MCAN_RXBE_DATA_DB0_Msk & ((value) << MCAN_RXBE_DATA_DB0_Pos))
|
||
|
#define MCAN_RXBE_DATA_DB1_Pos 8 /**< (MCAN_RXBE_DATA) Data Byte 1 Position */
|
||
|
#define MCAN_RXBE_DATA_DB1_Msk (_U_(0xFF) << MCAN_RXBE_DATA_DB1_Pos) /**< (MCAN_RXBE_DATA) Data Byte 1 Mask */
|
||
|
#define MCAN_RXBE_DATA_DB1(value) (MCAN_RXBE_DATA_DB1_Msk & ((value) << MCAN_RXBE_DATA_DB1_Pos))
|
||
|
#define MCAN_RXBE_DATA_DB2_Pos 16 /**< (MCAN_RXBE_DATA) Data Byte 2 Position */
|
||
|
#define MCAN_RXBE_DATA_DB2_Msk (_U_(0xFF) << MCAN_RXBE_DATA_DB2_Pos) /**< (MCAN_RXBE_DATA) Data Byte 2 Mask */
|
||
|
#define MCAN_RXBE_DATA_DB2(value) (MCAN_RXBE_DATA_DB2_Msk & ((value) << MCAN_RXBE_DATA_DB2_Pos))
|
||
|
#define MCAN_RXBE_DATA_DB3_Pos 24 /**< (MCAN_RXBE_DATA) Data Byte 3 Position */
|
||
|
#define MCAN_RXBE_DATA_DB3_Msk (_U_(0xFF) << MCAN_RXBE_DATA_DB3_Pos) /**< (MCAN_RXBE_DATA) Data Byte 3 Mask */
|
||
|
#define MCAN_RXBE_DATA_DB3(value) (MCAN_RXBE_DATA_DB3_Msk & ((value) << MCAN_RXBE_DATA_DB3_Pos))
|
||
|
#define MCAN_RXBE_DATA_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_RXBE_DATA) Register MASK (Use MCAN_RXBE_DATA_Msk instead) */
|
||
|
#define MCAN_RXBE_DATA_Msk _U_(0xFFFFFFFF) /**< (MCAN_RXBE_DATA) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF0E_0 : (MCAN Offset: 0x00) (R/W 32) Rx FIFO 0 Element 0 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ID:29; /**< bit: 0..28 Identifier */
|
||
|
uint32_t RTR:1; /**< bit: 29 Remote Transmission Request */
|
||
|
uint32_t XTD:1; /**< bit: 30 Extended Identifier */
|
||
|
uint32_t ESI:1; /**< bit: 31 Error State Indicator */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF0E_0_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF0E_0_OFFSET (0x00) /**< (MCAN_RXF0E_0) Rx FIFO 0 Element 0 Offset */
|
||
|
|
||
|
#define MCAN_RXF0E_0_ID_Pos 0 /**< (MCAN_RXF0E_0) Identifier Position */
|
||
|
#define MCAN_RXF0E_0_ID_Msk (_U_(0x1FFFFFFF) << MCAN_RXF0E_0_ID_Pos) /**< (MCAN_RXF0E_0) Identifier Mask */
|
||
|
#define MCAN_RXF0E_0_ID(value) (MCAN_RXF0E_0_ID_Msk & ((value) << MCAN_RXF0E_0_ID_Pos))
|
||
|
#define MCAN_RXF0E_0_RTR_Pos 29 /**< (MCAN_RXF0E_0) Remote Transmission Request Position */
|
||
|
#define MCAN_RXF0E_0_RTR_Msk (_U_(0x1) << MCAN_RXF0E_0_RTR_Pos) /**< (MCAN_RXF0E_0) Remote Transmission Request Mask */
|
||
|
#define MCAN_RXF0E_0_RTR MCAN_RXF0E_0_RTR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0E_0_RTR_Msk instead */
|
||
|
#define MCAN_RXF0E_0_XTD_Pos 30 /**< (MCAN_RXF0E_0) Extended Identifier Position */
|
||
|
#define MCAN_RXF0E_0_XTD_Msk (_U_(0x1) << MCAN_RXF0E_0_XTD_Pos) /**< (MCAN_RXF0E_0) Extended Identifier Mask */
|
||
|
#define MCAN_RXF0E_0_XTD MCAN_RXF0E_0_XTD_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0E_0_XTD_Msk instead */
|
||
|
#define MCAN_RXF0E_0_ESI_Pos 31 /**< (MCAN_RXF0E_0) Error State Indicator Position */
|
||
|
#define MCAN_RXF0E_0_ESI_Msk (_U_(0x1) << MCAN_RXF0E_0_ESI_Pos) /**< (MCAN_RXF0E_0) Error State Indicator Mask */
|
||
|
#define MCAN_RXF0E_0_ESI MCAN_RXF0E_0_ESI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0E_0_ESI_Msk instead */
|
||
|
#define MCAN_RXF0E_0_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_RXF0E_0) Register MASK (Use MCAN_RXF0E_0_Msk instead) */
|
||
|
#define MCAN_RXF0E_0_Msk _U_(0xFFFFFFFF) /**< (MCAN_RXF0E_0) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF0E_1 : (MCAN Offset: 0x04) (R/W 32) Rx FIFO 0 Element 1 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t RXTS:16; /**< bit: 0..15 Rx Timestamp */
|
||
|
uint32_t DLC:4; /**< bit: 16..19 Data Length Code */
|
||
|
uint32_t BRS:1; /**< bit: 20 Bit Rate Switch */
|
||
|
uint32_t FDF:1; /**< bit: 21 FD Format */
|
||
|
uint32_t :2; /**< bit: 22..23 Reserved */
|
||
|
uint32_t FIDX:7; /**< bit: 24..30 Filter Index */
|
||
|
uint32_t ANMF:1; /**< bit: 31 Accepted Non-matching Frame */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF0E_1_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF0E_1_OFFSET (0x04) /**< (MCAN_RXF0E_1) Rx FIFO 0 Element 1 Offset */
|
||
|
|
||
|
#define MCAN_RXF0E_1_RXTS_Pos 0 /**< (MCAN_RXF0E_1) Rx Timestamp Position */
|
||
|
#define MCAN_RXF0E_1_RXTS_Msk (_U_(0xFFFF) << MCAN_RXF0E_1_RXTS_Pos) /**< (MCAN_RXF0E_1) Rx Timestamp Mask */
|
||
|
#define MCAN_RXF0E_1_RXTS(value) (MCAN_RXF0E_1_RXTS_Msk & ((value) << MCAN_RXF0E_1_RXTS_Pos))
|
||
|
#define MCAN_RXF0E_1_DLC_Pos 16 /**< (MCAN_RXF0E_1) Data Length Code Position */
|
||
|
#define MCAN_RXF0E_1_DLC_Msk (_U_(0xF) << MCAN_RXF0E_1_DLC_Pos) /**< (MCAN_RXF0E_1) Data Length Code Mask */
|
||
|
#define MCAN_RXF0E_1_DLC(value) (MCAN_RXF0E_1_DLC_Msk & ((value) << MCAN_RXF0E_1_DLC_Pos))
|
||
|
#define MCAN_RXF0E_1_BRS_Pos 20 /**< (MCAN_RXF0E_1) Bit Rate Switch Position */
|
||
|
#define MCAN_RXF0E_1_BRS_Msk (_U_(0x1) << MCAN_RXF0E_1_BRS_Pos) /**< (MCAN_RXF0E_1) Bit Rate Switch Mask */
|
||
|
#define MCAN_RXF0E_1_BRS MCAN_RXF0E_1_BRS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0E_1_BRS_Msk instead */
|
||
|
#define MCAN_RXF0E_1_FDF_Pos 21 /**< (MCAN_RXF0E_1) FD Format Position */
|
||
|
#define MCAN_RXF0E_1_FDF_Msk (_U_(0x1) << MCAN_RXF0E_1_FDF_Pos) /**< (MCAN_RXF0E_1) FD Format Mask */
|
||
|
#define MCAN_RXF0E_1_FDF MCAN_RXF0E_1_FDF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0E_1_FDF_Msk instead */
|
||
|
#define MCAN_RXF0E_1_FIDX_Pos 24 /**< (MCAN_RXF0E_1) Filter Index Position */
|
||
|
#define MCAN_RXF0E_1_FIDX_Msk (_U_(0x7F) << MCAN_RXF0E_1_FIDX_Pos) /**< (MCAN_RXF0E_1) Filter Index Mask */
|
||
|
#define MCAN_RXF0E_1_FIDX(value) (MCAN_RXF0E_1_FIDX_Msk & ((value) << MCAN_RXF0E_1_FIDX_Pos))
|
||
|
#define MCAN_RXF0E_1_ANMF_Pos 31 /**< (MCAN_RXF0E_1) Accepted Non-matching Frame Position */
|
||
|
#define MCAN_RXF0E_1_ANMF_Msk (_U_(0x1) << MCAN_RXF0E_1_ANMF_Pos) /**< (MCAN_RXF0E_1) Accepted Non-matching Frame Mask */
|
||
|
#define MCAN_RXF0E_1_ANMF MCAN_RXF0E_1_ANMF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0E_1_ANMF_Msk instead */
|
||
|
#define MCAN_RXF0E_1_MASK _U_(0xFF3FFFFF) /**< \deprecated (MCAN_RXF0E_1) Register MASK (Use MCAN_RXF0E_1_Msk instead) */
|
||
|
#define MCAN_RXF0E_1_Msk _U_(0xFF3FFFFF) /**< (MCAN_RXF0E_1) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF0E_DATA : (MCAN Offset: 0x08) (R/W 32) Rx FIFO 0 Element Data -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t DB0:8; /**< bit: 0..7 Data Byte 0 */
|
||
|
uint32_t DB1:8; /**< bit: 8..15 Data Byte 1 */
|
||
|
uint32_t DB2:8; /**< bit: 16..23 Data Byte 2 */
|
||
|
uint32_t DB3:8; /**< bit: 24..31 Data Byte 3 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF0E_DATA_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF0E_DATA_OFFSET (0x08) /**< (MCAN_RXF0E_DATA) Rx FIFO 0 Element Data Offset */
|
||
|
|
||
|
#define MCAN_RXF0E_DATA_DB0_Pos 0 /**< (MCAN_RXF0E_DATA) Data Byte 0 Position */
|
||
|
#define MCAN_RXF0E_DATA_DB0_Msk (_U_(0xFF) << MCAN_RXF0E_DATA_DB0_Pos) /**< (MCAN_RXF0E_DATA) Data Byte 0 Mask */
|
||
|
#define MCAN_RXF0E_DATA_DB0(value) (MCAN_RXF0E_DATA_DB0_Msk & ((value) << MCAN_RXF0E_DATA_DB0_Pos))
|
||
|
#define MCAN_RXF0E_DATA_DB1_Pos 8 /**< (MCAN_RXF0E_DATA) Data Byte 1 Position */
|
||
|
#define MCAN_RXF0E_DATA_DB1_Msk (_U_(0xFF) << MCAN_RXF0E_DATA_DB1_Pos) /**< (MCAN_RXF0E_DATA) Data Byte 1 Mask */
|
||
|
#define MCAN_RXF0E_DATA_DB1(value) (MCAN_RXF0E_DATA_DB1_Msk & ((value) << MCAN_RXF0E_DATA_DB1_Pos))
|
||
|
#define MCAN_RXF0E_DATA_DB2_Pos 16 /**< (MCAN_RXF0E_DATA) Data Byte 2 Position */
|
||
|
#define MCAN_RXF0E_DATA_DB2_Msk (_U_(0xFF) << MCAN_RXF0E_DATA_DB2_Pos) /**< (MCAN_RXF0E_DATA) Data Byte 2 Mask */
|
||
|
#define MCAN_RXF0E_DATA_DB2(value) (MCAN_RXF0E_DATA_DB2_Msk & ((value) << MCAN_RXF0E_DATA_DB2_Pos))
|
||
|
#define MCAN_RXF0E_DATA_DB3_Pos 24 /**< (MCAN_RXF0E_DATA) Data Byte 3 Position */
|
||
|
#define MCAN_RXF0E_DATA_DB3_Msk (_U_(0xFF) << MCAN_RXF0E_DATA_DB3_Pos) /**< (MCAN_RXF0E_DATA) Data Byte 3 Mask */
|
||
|
#define MCAN_RXF0E_DATA_DB3(value) (MCAN_RXF0E_DATA_DB3_Msk & ((value) << MCAN_RXF0E_DATA_DB3_Pos))
|
||
|
#define MCAN_RXF0E_DATA_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_RXF0E_DATA) Register MASK (Use MCAN_RXF0E_DATA_Msk instead) */
|
||
|
#define MCAN_RXF0E_DATA_Msk _U_(0xFFFFFFFF) /**< (MCAN_RXF0E_DATA) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF1E_0 : (MCAN Offset: 0x00) (R/W 32) Rx FIFO 1 Element 0 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ID:29; /**< bit: 0..28 Identifier */
|
||
|
uint32_t RTR:1; /**< bit: 29 Remote Transmission Request */
|
||
|
uint32_t XTD:1; /**< bit: 30 Extended Identifier */
|
||
|
uint32_t ESI:1; /**< bit: 31 Error State Indicator */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF1E_0_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF1E_0_OFFSET (0x00) /**< (MCAN_RXF1E_0) Rx FIFO 1 Element 0 Offset */
|
||
|
|
||
|
#define MCAN_RXF1E_0_ID_Pos 0 /**< (MCAN_RXF1E_0) Identifier Position */
|
||
|
#define MCAN_RXF1E_0_ID_Msk (_U_(0x1FFFFFFF) << MCAN_RXF1E_0_ID_Pos) /**< (MCAN_RXF1E_0) Identifier Mask */
|
||
|
#define MCAN_RXF1E_0_ID(value) (MCAN_RXF1E_0_ID_Msk & ((value) << MCAN_RXF1E_0_ID_Pos))
|
||
|
#define MCAN_RXF1E_0_RTR_Pos 29 /**< (MCAN_RXF1E_0) Remote Transmission Request Position */
|
||
|
#define MCAN_RXF1E_0_RTR_Msk (_U_(0x1) << MCAN_RXF1E_0_RTR_Pos) /**< (MCAN_RXF1E_0) Remote Transmission Request Mask */
|
||
|
#define MCAN_RXF1E_0_RTR MCAN_RXF1E_0_RTR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1E_0_RTR_Msk instead */
|
||
|
#define MCAN_RXF1E_0_XTD_Pos 30 /**< (MCAN_RXF1E_0) Extended Identifier Position */
|
||
|
#define MCAN_RXF1E_0_XTD_Msk (_U_(0x1) << MCAN_RXF1E_0_XTD_Pos) /**< (MCAN_RXF1E_0) Extended Identifier Mask */
|
||
|
#define MCAN_RXF1E_0_XTD MCAN_RXF1E_0_XTD_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1E_0_XTD_Msk instead */
|
||
|
#define MCAN_RXF1E_0_ESI_Pos 31 /**< (MCAN_RXF1E_0) Error State Indicator Position */
|
||
|
#define MCAN_RXF1E_0_ESI_Msk (_U_(0x1) << MCAN_RXF1E_0_ESI_Pos) /**< (MCAN_RXF1E_0) Error State Indicator Mask */
|
||
|
#define MCAN_RXF1E_0_ESI MCAN_RXF1E_0_ESI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1E_0_ESI_Msk instead */
|
||
|
#define MCAN_RXF1E_0_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_RXF1E_0) Register MASK (Use MCAN_RXF1E_0_Msk instead) */
|
||
|
#define MCAN_RXF1E_0_Msk _U_(0xFFFFFFFF) /**< (MCAN_RXF1E_0) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF1E_1 : (MCAN Offset: 0x04) (R/W 32) Rx FIFO 1 Element 1 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t RXTS:16; /**< bit: 0..15 Rx Timestamp */
|
||
|
uint32_t DLC:4; /**< bit: 16..19 Data Length Code */
|
||
|
uint32_t BRS:1; /**< bit: 20 Bit Rate Switch */
|
||
|
uint32_t FDF:1; /**< bit: 21 FD Format */
|
||
|
uint32_t :2; /**< bit: 22..23 Reserved */
|
||
|
uint32_t FIDX:7; /**< bit: 24..30 Filter Index */
|
||
|
uint32_t ANMF:1; /**< bit: 31 Accepted Non-matching Frame */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF1E_1_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF1E_1_OFFSET (0x04) /**< (MCAN_RXF1E_1) Rx FIFO 1 Element 1 Offset */
|
||
|
|
||
|
#define MCAN_RXF1E_1_RXTS_Pos 0 /**< (MCAN_RXF1E_1) Rx Timestamp Position */
|
||
|
#define MCAN_RXF1E_1_RXTS_Msk (_U_(0xFFFF) << MCAN_RXF1E_1_RXTS_Pos) /**< (MCAN_RXF1E_1) Rx Timestamp Mask */
|
||
|
#define MCAN_RXF1E_1_RXTS(value) (MCAN_RXF1E_1_RXTS_Msk & ((value) << MCAN_RXF1E_1_RXTS_Pos))
|
||
|
#define MCAN_RXF1E_1_DLC_Pos 16 /**< (MCAN_RXF1E_1) Data Length Code Position */
|
||
|
#define MCAN_RXF1E_1_DLC_Msk (_U_(0xF) << MCAN_RXF1E_1_DLC_Pos) /**< (MCAN_RXF1E_1) Data Length Code Mask */
|
||
|
#define MCAN_RXF1E_1_DLC(value) (MCAN_RXF1E_1_DLC_Msk & ((value) << MCAN_RXF1E_1_DLC_Pos))
|
||
|
#define MCAN_RXF1E_1_BRS_Pos 20 /**< (MCAN_RXF1E_1) Bit Rate Switch Position */
|
||
|
#define MCAN_RXF1E_1_BRS_Msk (_U_(0x1) << MCAN_RXF1E_1_BRS_Pos) /**< (MCAN_RXF1E_1) Bit Rate Switch Mask */
|
||
|
#define MCAN_RXF1E_1_BRS MCAN_RXF1E_1_BRS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1E_1_BRS_Msk instead */
|
||
|
#define MCAN_RXF1E_1_FDF_Pos 21 /**< (MCAN_RXF1E_1) FD Format Position */
|
||
|
#define MCAN_RXF1E_1_FDF_Msk (_U_(0x1) << MCAN_RXF1E_1_FDF_Pos) /**< (MCAN_RXF1E_1) FD Format Mask */
|
||
|
#define MCAN_RXF1E_1_FDF MCAN_RXF1E_1_FDF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1E_1_FDF_Msk instead */
|
||
|
#define MCAN_RXF1E_1_FIDX_Pos 24 /**< (MCAN_RXF1E_1) Filter Index Position */
|
||
|
#define MCAN_RXF1E_1_FIDX_Msk (_U_(0x7F) << MCAN_RXF1E_1_FIDX_Pos) /**< (MCAN_RXF1E_1) Filter Index Mask */
|
||
|
#define MCAN_RXF1E_1_FIDX(value) (MCAN_RXF1E_1_FIDX_Msk & ((value) << MCAN_RXF1E_1_FIDX_Pos))
|
||
|
#define MCAN_RXF1E_1_ANMF_Pos 31 /**< (MCAN_RXF1E_1) Accepted Non-matching Frame Position */
|
||
|
#define MCAN_RXF1E_1_ANMF_Msk (_U_(0x1) << MCAN_RXF1E_1_ANMF_Pos) /**< (MCAN_RXF1E_1) Accepted Non-matching Frame Mask */
|
||
|
#define MCAN_RXF1E_1_ANMF MCAN_RXF1E_1_ANMF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1E_1_ANMF_Msk instead */
|
||
|
#define MCAN_RXF1E_1_MASK _U_(0xFF3FFFFF) /**< \deprecated (MCAN_RXF1E_1) Register MASK (Use MCAN_RXF1E_1_Msk instead) */
|
||
|
#define MCAN_RXF1E_1_Msk _U_(0xFF3FFFFF) /**< (MCAN_RXF1E_1) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF1E_DATA : (MCAN Offset: 0x08) (R/W 32) Rx FIFO 1 Element Data -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t DB0:8; /**< bit: 0..7 Data Byte 0 */
|
||
|
uint32_t DB1:8; /**< bit: 8..15 Data Byte 1 */
|
||
|
uint32_t DB2:8; /**< bit: 16..23 Data Byte 2 */
|
||
|
uint32_t DB3:8; /**< bit: 24..31 Data Byte 3 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF1E_DATA_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF1E_DATA_OFFSET (0x08) /**< (MCAN_RXF1E_DATA) Rx FIFO 1 Element Data Offset */
|
||
|
|
||
|
#define MCAN_RXF1E_DATA_DB0_Pos 0 /**< (MCAN_RXF1E_DATA) Data Byte 0 Position */
|
||
|
#define MCAN_RXF1E_DATA_DB0_Msk (_U_(0xFF) << MCAN_RXF1E_DATA_DB0_Pos) /**< (MCAN_RXF1E_DATA) Data Byte 0 Mask */
|
||
|
#define MCAN_RXF1E_DATA_DB0(value) (MCAN_RXF1E_DATA_DB0_Msk & ((value) << MCAN_RXF1E_DATA_DB0_Pos))
|
||
|
#define MCAN_RXF1E_DATA_DB1_Pos 8 /**< (MCAN_RXF1E_DATA) Data Byte 1 Position */
|
||
|
#define MCAN_RXF1E_DATA_DB1_Msk (_U_(0xFF) << MCAN_RXF1E_DATA_DB1_Pos) /**< (MCAN_RXF1E_DATA) Data Byte 1 Mask */
|
||
|
#define MCAN_RXF1E_DATA_DB1(value) (MCAN_RXF1E_DATA_DB1_Msk & ((value) << MCAN_RXF1E_DATA_DB1_Pos))
|
||
|
#define MCAN_RXF1E_DATA_DB2_Pos 16 /**< (MCAN_RXF1E_DATA) Data Byte 2 Position */
|
||
|
#define MCAN_RXF1E_DATA_DB2_Msk (_U_(0xFF) << MCAN_RXF1E_DATA_DB2_Pos) /**< (MCAN_RXF1E_DATA) Data Byte 2 Mask */
|
||
|
#define MCAN_RXF1E_DATA_DB2(value) (MCAN_RXF1E_DATA_DB2_Msk & ((value) << MCAN_RXF1E_DATA_DB2_Pos))
|
||
|
#define MCAN_RXF1E_DATA_DB3_Pos 24 /**< (MCAN_RXF1E_DATA) Data Byte 3 Position */
|
||
|
#define MCAN_RXF1E_DATA_DB3_Msk (_U_(0xFF) << MCAN_RXF1E_DATA_DB3_Pos) /**< (MCAN_RXF1E_DATA) Data Byte 3 Mask */
|
||
|
#define MCAN_RXF1E_DATA_DB3(value) (MCAN_RXF1E_DATA_DB3_Msk & ((value) << MCAN_RXF1E_DATA_DB3_Pos))
|
||
|
#define MCAN_RXF1E_DATA_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_RXF1E_DATA) Register MASK (Use MCAN_RXF1E_DATA_Msk instead) */
|
||
|
#define MCAN_RXF1E_DATA_Msk _U_(0xFFFFFFFF) /**< (MCAN_RXF1E_DATA) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXBE_0 : (MCAN Offset: 0x00) (R/W 32) Tx Buffer Element 0 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ID:29; /**< bit: 0..28 Identifier */
|
||
|
uint32_t RTR:1; /**< bit: 29 Remote Transmission Request */
|
||
|
uint32_t XTD:1; /**< bit: 30 Extended Identifier */
|
||
|
uint32_t ESI:1; /**< bit: 31 Error State Indicator */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBE_0_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBE_0_OFFSET (0x00) /**< (MCAN_TXBE_0) Tx Buffer Element 0 Offset */
|
||
|
|
||
|
#define MCAN_TXBE_0_ID_Pos 0 /**< (MCAN_TXBE_0) Identifier Position */
|
||
|
#define MCAN_TXBE_0_ID_Msk (_U_(0x1FFFFFFF) << MCAN_TXBE_0_ID_Pos) /**< (MCAN_TXBE_0) Identifier Mask */
|
||
|
#define MCAN_TXBE_0_ID(value) (MCAN_TXBE_0_ID_Msk & ((value) << MCAN_TXBE_0_ID_Pos))
|
||
|
#define MCAN_TXBE_0_RTR_Pos 29 /**< (MCAN_TXBE_0) Remote Transmission Request Position */
|
||
|
#define MCAN_TXBE_0_RTR_Msk (_U_(0x1) << MCAN_TXBE_0_RTR_Pos) /**< (MCAN_TXBE_0) Remote Transmission Request Mask */
|
||
|
#define MCAN_TXBE_0_RTR MCAN_TXBE_0_RTR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBE_0_RTR_Msk instead */
|
||
|
#define MCAN_TXBE_0_XTD_Pos 30 /**< (MCAN_TXBE_0) Extended Identifier Position */
|
||
|
#define MCAN_TXBE_0_XTD_Msk (_U_(0x1) << MCAN_TXBE_0_XTD_Pos) /**< (MCAN_TXBE_0) Extended Identifier Mask */
|
||
|
#define MCAN_TXBE_0_XTD MCAN_TXBE_0_XTD_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBE_0_XTD_Msk instead */
|
||
|
#define MCAN_TXBE_0_ESI_Pos 31 /**< (MCAN_TXBE_0) Error State Indicator Position */
|
||
|
#define MCAN_TXBE_0_ESI_Msk (_U_(0x1) << MCAN_TXBE_0_ESI_Pos) /**< (MCAN_TXBE_0) Error State Indicator Mask */
|
||
|
#define MCAN_TXBE_0_ESI MCAN_TXBE_0_ESI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBE_0_ESI_Msk instead */
|
||
|
#define MCAN_TXBE_0_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBE_0) Register MASK (Use MCAN_TXBE_0_Msk instead) */
|
||
|
#define MCAN_TXBE_0_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBE_0) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXBE_1 : (MCAN Offset: 0x04) (R/W 32) Tx Buffer Element 1 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :16; /**< bit: 0..15 Reserved */
|
||
|
uint32_t DLC:4; /**< bit: 16..19 Data Length Code */
|
||
|
uint32_t BRS:1; /**< bit: 20 Bit Rate Switch */
|
||
|
uint32_t FDF:1; /**< bit: 21 FD Format */
|
||
|
uint32_t :1; /**< bit: 22 Reserved */
|
||
|
uint32_t EFC:1; /**< bit: 23 Event FIFO Control */
|
||
|
uint32_t MM:8; /**< bit: 24..31 Message Marker */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBE_1_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBE_1_OFFSET (0x04) /**< (MCAN_TXBE_1) Tx Buffer Element 1 Offset */
|
||
|
|
||
|
#define MCAN_TXBE_1_DLC_Pos 16 /**< (MCAN_TXBE_1) Data Length Code Position */
|
||
|
#define MCAN_TXBE_1_DLC_Msk (_U_(0xF) << MCAN_TXBE_1_DLC_Pos) /**< (MCAN_TXBE_1) Data Length Code Mask */
|
||
|
#define MCAN_TXBE_1_DLC(value) (MCAN_TXBE_1_DLC_Msk & ((value) << MCAN_TXBE_1_DLC_Pos))
|
||
|
#define MCAN_TXBE_1_BRS_Pos 20 /**< (MCAN_TXBE_1) Bit Rate Switch Position */
|
||
|
#define MCAN_TXBE_1_BRS_Msk (_U_(0x1) << MCAN_TXBE_1_BRS_Pos) /**< (MCAN_TXBE_1) Bit Rate Switch Mask */
|
||
|
#define MCAN_TXBE_1_BRS MCAN_TXBE_1_BRS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBE_1_BRS_Msk instead */
|
||
|
#define MCAN_TXBE_1_FDF_Pos 21 /**< (MCAN_TXBE_1) FD Format Position */
|
||
|
#define MCAN_TXBE_1_FDF_Msk (_U_(0x1) << MCAN_TXBE_1_FDF_Pos) /**< (MCAN_TXBE_1) FD Format Mask */
|
||
|
#define MCAN_TXBE_1_FDF MCAN_TXBE_1_FDF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBE_1_FDF_Msk instead */
|
||
|
#define MCAN_TXBE_1_EFC_Pos 23 /**< (MCAN_TXBE_1) Event FIFO Control Position */
|
||
|
#define MCAN_TXBE_1_EFC_Msk (_U_(0x1) << MCAN_TXBE_1_EFC_Pos) /**< (MCAN_TXBE_1) Event FIFO Control Mask */
|
||
|
#define MCAN_TXBE_1_EFC MCAN_TXBE_1_EFC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBE_1_EFC_Msk instead */
|
||
|
#define MCAN_TXBE_1_MM_Pos 24 /**< (MCAN_TXBE_1) Message Marker Position */
|
||
|
#define MCAN_TXBE_1_MM_Msk (_U_(0xFF) << MCAN_TXBE_1_MM_Pos) /**< (MCAN_TXBE_1) Message Marker Mask */
|
||
|
#define MCAN_TXBE_1_MM(value) (MCAN_TXBE_1_MM_Msk & ((value) << MCAN_TXBE_1_MM_Pos))
|
||
|
#define MCAN_TXBE_1_MASK _U_(0xFFBF0000) /**< \deprecated (MCAN_TXBE_1) Register MASK (Use MCAN_TXBE_1_Msk instead) */
|
||
|
#define MCAN_TXBE_1_Msk _U_(0xFFBF0000) /**< (MCAN_TXBE_1) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXBE_DATA : (MCAN Offset: 0x08) (R/W 32) Tx Buffer Element Data -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t DB0:8; /**< bit: 0..7 Data Byte 0 */
|
||
|
uint32_t DB1:8; /**< bit: 8..15 Data Byte 1 */
|
||
|
uint32_t DB2:8; /**< bit: 16..23 Data Byte 2 */
|
||
|
uint32_t DB3:8; /**< bit: 24..31 Data Byte 3 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBE_DATA_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBE_DATA_OFFSET (0x08) /**< (MCAN_TXBE_DATA) Tx Buffer Element Data Offset */
|
||
|
|
||
|
#define MCAN_TXBE_DATA_DB0_Pos 0 /**< (MCAN_TXBE_DATA) Data Byte 0 Position */
|
||
|
#define MCAN_TXBE_DATA_DB0_Msk (_U_(0xFF) << MCAN_TXBE_DATA_DB0_Pos) /**< (MCAN_TXBE_DATA) Data Byte 0 Mask */
|
||
|
#define MCAN_TXBE_DATA_DB0(value) (MCAN_TXBE_DATA_DB0_Msk & ((value) << MCAN_TXBE_DATA_DB0_Pos))
|
||
|
#define MCAN_TXBE_DATA_DB1_Pos 8 /**< (MCAN_TXBE_DATA) Data Byte 1 Position */
|
||
|
#define MCAN_TXBE_DATA_DB1_Msk (_U_(0xFF) << MCAN_TXBE_DATA_DB1_Pos) /**< (MCAN_TXBE_DATA) Data Byte 1 Mask */
|
||
|
#define MCAN_TXBE_DATA_DB1(value) (MCAN_TXBE_DATA_DB1_Msk & ((value) << MCAN_TXBE_DATA_DB1_Pos))
|
||
|
#define MCAN_TXBE_DATA_DB2_Pos 16 /**< (MCAN_TXBE_DATA) Data Byte 2 Position */
|
||
|
#define MCAN_TXBE_DATA_DB2_Msk (_U_(0xFF) << MCAN_TXBE_DATA_DB2_Pos) /**< (MCAN_TXBE_DATA) Data Byte 2 Mask */
|
||
|
#define MCAN_TXBE_DATA_DB2(value) (MCAN_TXBE_DATA_DB2_Msk & ((value) << MCAN_TXBE_DATA_DB2_Pos))
|
||
|
#define MCAN_TXBE_DATA_DB3_Pos 24 /**< (MCAN_TXBE_DATA) Data Byte 3 Position */
|
||
|
#define MCAN_TXBE_DATA_DB3_Msk (_U_(0xFF) << MCAN_TXBE_DATA_DB3_Pos) /**< (MCAN_TXBE_DATA) Data Byte 3 Mask */
|
||
|
#define MCAN_TXBE_DATA_DB3(value) (MCAN_TXBE_DATA_DB3_Msk & ((value) << MCAN_TXBE_DATA_DB3_Pos))
|
||
|
#define MCAN_TXBE_DATA_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBE_DATA) Register MASK (Use MCAN_TXBE_DATA_Msk instead) */
|
||
|
#define MCAN_TXBE_DATA_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBE_DATA) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXEFE_0 : (MCAN Offset: 0x00) (R/W 32) Tx Event FIFO Element 0 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ID:29; /**< bit: 0..28 Identifier */
|
||
|
uint32_t RTR:1; /**< bit: 29 Remote Transmission Request */
|
||
|
uint32_t XTD:1; /**< bit: 30 Extended Identifier */
|
||
|
uint32_t ESI:1; /**< bit: 31 Error State Indicator */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXEFE_0_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXEFE_0_OFFSET (0x00) /**< (MCAN_TXEFE_0) Tx Event FIFO Element 0 Offset */
|
||
|
|
||
|
#define MCAN_TXEFE_0_ID_Pos 0 /**< (MCAN_TXEFE_0) Identifier Position */
|
||
|
#define MCAN_TXEFE_0_ID_Msk (_U_(0x1FFFFFFF) << MCAN_TXEFE_0_ID_Pos) /**< (MCAN_TXEFE_0) Identifier Mask */
|
||
|
#define MCAN_TXEFE_0_ID(value) (MCAN_TXEFE_0_ID_Msk & ((value) << MCAN_TXEFE_0_ID_Pos))
|
||
|
#define MCAN_TXEFE_0_RTR_Pos 29 /**< (MCAN_TXEFE_0) Remote Transmission Request Position */
|
||
|
#define MCAN_TXEFE_0_RTR_Msk (_U_(0x1) << MCAN_TXEFE_0_RTR_Pos) /**< (MCAN_TXEFE_0) Remote Transmission Request Mask */
|
||
|
#define MCAN_TXEFE_0_RTR MCAN_TXEFE_0_RTR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXEFE_0_RTR_Msk instead */
|
||
|
#define MCAN_TXEFE_0_XTD_Pos 30 /**< (MCAN_TXEFE_0) Extended Identifier Position */
|
||
|
#define MCAN_TXEFE_0_XTD_Msk (_U_(0x1) << MCAN_TXEFE_0_XTD_Pos) /**< (MCAN_TXEFE_0) Extended Identifier Mask */
|
||
|
#define MCAN_TXEFE_0_XTD MCAN_TXEFE_0_XTD_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXEFE_0_XTD_Msk instead */
|
||
|
#define MCAN_TXEFE_0_ESI_Pos 31 /**< (MCAN_TXEFE_0) Error State Indicator Position */
|
||
|
#define MCAN_TXEFE_0_ESI_Msk (_U_(0x1) << MCAN_TXEFE_0_ESI_Pos) /**< (MCAN_TXEFE_0) Error State Indicator Mask */
|
||
|
#define MCAN_TXEFE_0_ESI MCAN_TXEFE_0_ESI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXEFE_0_ESI_Msk instead */
|
||
|
#define MCAN_TXEFE_0_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXEFE_0) Register MASK (Use MCAN_TXEFE_0_Msk instead) */
|
||
|
#define MCAN_TXEFE_0_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXEFE_0) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXEFE_1 : (MCAN Offset: 0x04) (R/W 32) Tx Event FIFO Element 1 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TXTS:16; /**< bit: 0..15 Tx Timestamp */
|
||
|
uint32_t DLC:4; /**< bit: 16..19 Data Length Code */
|
||
|
uint32_t BRS:1; /**< bit: 20 Bit Rate Switch */
|
||
|
uint32_t FDF:1; /**< bit: 21 FD Format */
|
||
|
uint32_t ET:2; /**< bit: 22..23 Event Type */
|
||
|
uint32_t MM:8; /**< bit: 24..31 Message Marker */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXEFE_1_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXEFE_1_OFFSET (0x04) /**< (MCAN_TXEFE_1) Tx Event FIFO Element 1 Offset */
|
||
|
|
||
|
#define MCAN_TXEFE_1_TXTS_Pos 0 /**< (MCAN_TXEFE_1) Tx Timestamp Position */
|
||
|
#define MCAN_TXEFE_1_TXTS_Msk (_U_(0xFFFF) << MCAN_TXEFE_1_TXTS_Pos) /**< (MCAN_TXEFE_1) Tx Timestamp Mask */
|
||
|
#define MCAN_TXEFE_1_TXTS(value) (MCAN_TXEFE_1_TXTS_Msk & ((value) << MCAN_TXEFE_1_TXTS_Pos))
|
||
|
#define MCAN_TXEFE_1_DLC_Pos 16 /**< (MCAN_TXEFE_1) Data Length Code Position */
|
||
|
#define MCAN_TXEFE_1_DLC_Msk (_U_(0xF) << MCAN_TXEFE_1_DLC_Pos) /**< (MCAN_TXEFE_1) Data Length Code Mask */
|
||
|
#define MCAN_TXEFE_1_DLC(value) (MCAN_TXEFE_1_DLC_Msk & ((value) << MCAN_TXEFE_1_DLC_Pos))
|
||
|
#define MCAN_TXEFE_1_BRS_Pos 20 /**< (MCAN_TXEFE_1) Bit Rate Switch Position */
|
||
|
#define MCAN_TXEFE_1_BRS_Msk (_U_(0x1) << MCAN_TXEFE_1_BRS_Pos) /**< (MCAN_TXEFE_1) Bit Rate Switch Mask */
|
||
|
#define MCAN_TXEFE_1_BRS MCAN_TXEFE_1_BRS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXEFE_1_BRS_Msk instead */
|
||
|
#define MCAN_TXEFE_1_FDF_Pos 21 /**< (MCAN_TXEFE_1) FD Format Position */
|
||
|
#define MCAN_TXEFE_1_FDF_Msk (_U_(0x1) << MCAN_TXEFE_1_FDF_Pos) /**< (MCAN_TXEFE_1) FD Format Mask */
|
||
|
#define MCAN_TXEFE_1_FDF MCAN_TXEFE_1_FDF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXEFE_1_FDF_Msk instead */
|
||
|
#define MCAN_TXEFE_1_ET_Pos 22 /**< (MCAN_TXEFE_1) Event Type Position */
|
||
|
#define MCAN_TXEFE_1_ET_Msk (_U_(0x3) << MCAN_TXEFE_1_ET_Pos) /**< (MCAN_TXEFE_1) Event Type Mask */
|
||
|
#define MCAN_TXEFE_1_ET(value) (MCAN_TXEFE_1_ET_Msk & ((value) << MCAN_TXEFE_1_ET_Pos))
|
||
|
#define MCAN_TXEFE_1_ET_TXE_Val _U_(0x1) /**< (MCAN_TXEFE_1) Tx event */
|
||
|
#define MCAN_TXEFE_1_ET_TXC_Val _U_(0x2) /**< (MCAN_TXEFE_1) Transmission in spite of cancellation */
|
||
|
#define MCAN_TXEFE_1_ET_TXE (MCAN_TXEFE_1_ET_TXE_Val << MCAN_TXEFE_1_ET_Pos) /**< (MCAN_TXEFE_1) Tx event Position */
|
||
|
#define MCAN_TXEFE_1_ET_TXC (MCAN_TXEFE_1_ET_TXC_Val << MCAN_TXEFE_1_ET_Pos) /**< (MCAN_TXEFE_1) Transmission in spite of cancellation Position */
|
||
|
#define MCAN_TXEFE_1_MM_Pos 24 /**< (MCAN_TXEFE_1) Message Marker Position */
|
||
|
#define MCAN_TXEFE_1_MM_Msk (_U_(0xFF) << MCAN_TXEFE_1_MM_Pos) /**< (MCAN_TXEFE_1) Message Marker Mask */
|
||
|
#define MCAN_TXEFE_1_MM(value) (MCAN_TXEFE_1_MM_Msk & ((value) << MCAN_TXEFE_1_MM_Pos))
|
||
|
#define MCAN_TXEFE_1_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXEFE_1) Register MASK (Use MCAN_TXEFE_1_Msk instead) */
|
||
|
#define MCAN_TXEFE_1_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXEFE_1) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_SIDFE_0 : (MCAN Offset: 0x00) (R/W 32) Standard Message ID Filter Element 0 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t SFID2:11; /**< bit: 0..10 Standard Filter ID 2 */
|
||
|
uint32_t :5; /**< bit: 11..15 Reserved */
|
||
|
uint32_t SFID1:11; /**< bit: 16..26 Standard Filter ID 1 */
|
||
|
uint32_t SFEC:3; /**< bit: 27..29 Standard Filter Element Configuration */
|
||
|
uint32_t SFT:2; /**< bit: 30..31 Standard Filter Type */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_SIDFE_0_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_SIDFE_0_OFFSET (0x00) /**< (MCAN_SIDFE_0) Standard Message ID Filter Element 0 Offset */
|
||
|
|
||
|
#define MCAN_SIDFE_0_SFID2_Pos 0 /**< (MCAN_SIDFE_0) Standard Filter ID 2 Position */
|
||
|
#define MCAN_SIDFE_0_SFID2_Msk (_U_(0x7FF) << MCAN_SIDFE_0_SFID2_Pos) /**< (MCAN_SIDFE_0) Standard Filter ID 2 Mask */
|
||
|
#define MCAN_SIDFE_0_SFID2(value) (MCAN_SIDFE_0_SFID2_Msk & ((value) << MCAN_SIDFE_0_SFID2_Pos))
|
||
|
#define MCAN_SIDFE_0_SFID1_Pos 16 /**< (MCAN_SIDFE_0) Standard Filter ID 1 Position */
|
||
|
#define MCAN_SIDFE_0_SFID1_Msk (_U_(0x7FF) << MCAN_SIDFE_0_SFID1_Pos) /**< (MCAN_SIDFE_0) Standard Filter ID 1 Mask */
|
||
|
#define MCAN_SIDFE_0_SFID1(value) (MCAN_SIDFE_0_SFID1_Msk & ((value) << MCAN_SIDFE_0_SFID1_Pos))
|
||
|
#define MCAN_SIDFE_0_SFEC_Pos 27 /**< (MCAN_SIDFE_0) Standard Filter Element Configuration Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_Msk (_U_(0x7) << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Standard Filter Element Configuration Mask */
|
||
|
#define MCAN_SIDFE_0_SFEC(value) (MCAN_SIDFE_0_SFEC_Msk & ((value) << MCAN_SIDFE_0_SFEC_Pos))
|
||
|
#define MCAN_SIDFE_0_SFEC_DISABLE_Val _U_(0x0) /**< (MCAN_SIDFE_0) Disable filter element */
|
||
|
#define MCAN_SIDFE_0_SFEC_STF0M_Val _U_(0x1) /**< (MCAN_SIDFE_0) Store in Rx FIFO 0 if filter matches */
|
||
|
#define MCAN_SIDFE_0_SFEC_STF1M_Val _U_(0x2) /**< (MCAN_SIDFE_0) Store in Rx FIFO 1 if filter matches */
|
||
|
#define MCAN_SIDFE_0_SFEC_REJECT_Val _U_(0x3) /**< (MCAN_SIDFE_0) Reject ID if filter matches */
|
||
|
#define MCAN_SIDFE_0_SFEC_PRIORITY_Val _U_(0x4) /**< (MCAN_SIDFE_0) Set priority if filter matches */
|
||
|
#define MCAN_SIDFE_0_SFEC_PRIF0M_Val _U_(0x5) /**< (MCAN_SIDFE_0) Set priority and store in FIFO 0 if filter matches */
|
||
|
#define MCAN_SIDFE_0_SFEC_PRIF1M_Val _U_(0x6) /**< (MCAN_SIDFE_0) Set priority and store in FIFO 1 if filter matches */
|
||
|
#define MCAN_SIDFE_0_SFEC_STRXBUF_Val _U_(0x7) /**< (MCAN_SIDFE_0) Store into Rx Buffer */
|
||
|
#define MCAN_SIDFE_0_SFEC_DISABLE (MCAN_SIDFE_0_SFEC_DISABLE_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Disable filter element Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_STF0M (MCAN_SIDFE_0_SFEC_STF0M_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Store in Rx FIFO 0 if filter matches Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_STF1M (MCAN_SIDFE_0_SFEC_STF1M_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Store in Rx FIFO 1 if filter matches Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_REJECT (MCAN_SIDFE_0_SFEC_REJECT_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Reject ID if filter matches Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_PRIORITY (MCAN_SIDFE_0_SFEC_PRIORITY_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Set priority if filter matches Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_PRIF0M (MCAN_SIDFE_0_SFEC_PRIF0M_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Set priority and store in FIFO 0 if filter matches Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_PRIF1M (MCAN_SIDFE_0_SFEC_PRIF1M_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Set priority and store in FIFO 1 if filter matches Position */
|
||
|
#define MCAN_SIDFE_0_SFEC_STRXBUF (MCAN_SIDFE_0_SFEC_STRXBUF_Val << MCAN_SIDFE_0_SFEC_Pos) /**< (MCAN_SIDFE_0) Store into Rx Buffer Position */
|
||
|
#define MCAN_SIDFE_0_SFT_Pos 30 /**< (MCAN_SIDFE_0) Standard Filter Type Position */
|
||
|
#define MCAN_SIDFE_0_SFT_Msk (_U_(0x3) << MCAN_SIDFE_0_SFT_Pos) /**< (MCAN_SIDFE_0) Standard Filter Type Mask */
|
||
|
#define MCAN_SIDFE_0_SFT(value) (MCAN_SIDFE_0_SFT_Msk & ((value) << MCAN_SIDFE_0_SFT_Pos))
|
||
|
#define MCAN_SIDFE_0_SFT_RANGE_Val _U_(0x0) /**< (MCAN_SIDFE_0) Range filter from SFID1 to SFID2 */
|
||
|
#define MCAN_SIDFE_0_SFT_DUAL_Val _U_(0x1) /**< (MCAN_SIDFE_0) Dual ID filter for SF1ID or SF2ID */
|
||
|
#define MCAN_SIDFE_0_SFT_CLASSIC_Val _U_(0x2) /**< (MCAN_SIDFE_0) Classic filter */
|
||
|
#define MCAN_SIDFE_0_SFT_RANGE (MCAN_SIDFE_0_SFT_RANGE_Val << MCAN_SIDFE_0_SFT_Pos) /**< (MCAN_SIDFE_0) Range filter from SFID1 to SFID2 Position */
|
||
|
#define MCAN_SIDFE_0_SFT_DUAL (MCAN_SIDFE_0_SFT_DUAL_Val << MCAN_SIDFE_0_SFT_Pos) /**< (MCAN_SIDFE_0) Dual ID filter for SF1ID or SF2ID Position */
|
||
|
#define MCAN_SIDFE_0_SFT_CLASSIC (MCAN_SIDFE_0_SFT_CLASSIC_Val << MCAN_SIDFE_0_SFT_Pos) /**< (MCAN_SIDFE_0) Classic filter Position */
|
||
|
#define MCAN_SIDFE_0_MASK _U_(0xFFFF07FF) /**< \deprecated (MCAN_SIDFE_0) Register MASK (Use MCAN_SIDFE_0_Msk instead) */
|
||
|
#define MCAN_SIDFE_0_Msk _U_(0xFFFF07FF) /**< (MCAN_SIDFE_0) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_XIDFE_0 : (MCAN Offset: 0x00) (R/W 32) Extended Message ID Filter Element 0 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t EFID1:29; /**< bit: 0..28 Extended Filter ID 1 */
|
||
|
uint32_t EFEC:3; /**< bit: 29..31 Extended Filter Element Configuration */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_XIDFE_0_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_XIDFE_0_OFFSET (0x00) /**< (MCAN_XIDFE_0) Extended Message ID Filter Element 0 Offset */
|
||
|
|
||
|
#define MCAN_XIDFE_0_EFID1_Pos 0 /**< (MCAN_XIDFE_0) Extended Filter ID 1 Position */
|
||
|
#define MCAN_XIDFE_0_EFID1_Msk (_U_(0x1FFFFFFF) << MCAN_XIDFE_0_EFID1_Pos) /**< (MCAN_XIDFE_0) Extended Filter ID 1 Mask */
|
||
|
#define MCAN_XIDFE_0_EFID1(value) (MCAN_XIDFE_0_EFID1_Msk & ((value) << MCAN_XIDFE_0_EFID1_Pos))
|
||
|
#define MCAN_XIDFE_0_EFEC_Pos 29 /**< (MCAN_XIDFE_0) Extended Filter Element Configuration Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_Msk (_U_(0x7) << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Extended Filter Element Configuration Mask */
|
||
|
#define MCAN_XIDFE_0_EFEC(value) (MCAN_XIDFE_0_EFEC_Msk & ((value) << MCAN_XIDFE_0_EFEC_Pos))
|
||
|
#define MCAN_XIDFE_0_EFEC_DISABLE_Val _U_(0x0) /**< (MCAN_XIDFE_0) Disable filter element */
|
||
|
#define MCAN_XIDFE_0_EFEC_STF0M_Val _U_(0x1) /**< (MCAN_XIDFE_0) Store in Rx FIFO 0 if filter matches */
|
||
|
#define MCAN_XIDFE_0_EFEC_STF1M_Val _U_(0x2) /**< (MCAN_XIDFE_0) Store in Rx FIFO 1 if filter matches */
|
||
|
#define MCAN_XIDFE_0_EFEC_REJECT_Val _U_(0x3) /**< (MCAN_XIDFE_0) Reject ID if filter matches */
|
||
|
#define MCAN_XIDFE_0_EFEC_PRIORITY_Val _U_(0x4) /**< (MCAN_XIDFE_0) Set priority if filter matches */
|
||
|
#define MCAN_XIDFE_0_EFEC_PRIF0M_Val _U_(0x5) /**< (MCAN_XIDFE_0) Set priority and store in FIFO 0 if filter matches */
|
||
|
#define MCAN_XIDFE_0_EFEC_PRIF1M_Val _U_(0x6) /**< (MCAN_XIDFE_0) Set priority and store in FIFO 1 if filter matches */
|
||
|
#define MCAN_XIDFE_0_EFEC_STRXBUF_Val _U_(0x7) /**< (MCAN_XIDFE_0) Store into Rx Buffer */
|
||
|
#define MCAN_XIDFE_0_EFEC_DISABLE (MCAN_XIDFE_0_EFEC_DISABLE_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Disable filter element Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_STF0M (MCAN_XIDFE_0_EFEC_STF0M_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Store in Rx FIFO 0 if filter matches Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_STF1M (MCAN_XIDFE_0_EFEC_STF1M_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Store in Rx FIFO 1 if filter matches Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_REJECT (MCAN_XIDFE_0_EFEC_REJECT_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Reject ID if filter matches Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_PRIORITY (MCAN_XIDFE_0_EFEC_PRIORITY_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Set priority if filter matches Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_PRIF0M (MCAN_XIDFE_0_EFEC_PRIF0M_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Set priority and store in FIFO 0 if filter matches Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_PRIF1M (MCAN_XIDFE_0_EFEC_PRIF1M_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Set priority and store in FIFO 1 if filter matches Position */
|
||
|
#define MCAN_XIDFE_0_EFEC_STRXBUF (MCAN_XIDFE_0_EFEC_STRXBUF_Val << MCAN_XIDFE_0_EFEC_Pos) /**< (MCAN_XIDFE_0) Store into Rx Buffer Position */
|
||
|
#define MCAN_XIDFE_0_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_XIDFE_0) Register MASK (Use MCAN_XIDFE_0_Msk instead) */
|
||
|
#define MCAN_XIDFE_0_Msk _U_(0xFFFFFFFF) /**< (MCAN_XIDFE_0) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_XIDFE_1 : (MCAN Offset: 0x04) (R/W 32) Extended Message ID Filter Element 1 -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t EFID2:29; /**< bit: 0..28 Extended Filter ID 2 */
|
||
|
uint32_t :1; /**< bit: 29 Reserved */
|
||
|
uint32_t EFT:2; /**< bit: 30..31 Extended Filter Type */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_XIDFE_1_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_XIDFE_1_OFFSET (0x04) /**< (MCAN_XIDFE_1) Extended Message ID Filter Element 1 Offset */
|
||
|
|
||
|
#define MCAN_XIDFE_1_EFID2_Pos 0 /**< (MCAN_XIDFE_1) Extended Filter ID 2 Position */
|
||
|
#define MCAN_XIDFE_1_EFID2_Msk (_U_(0x1FFFFFFF) << MCAN_XIDFE_1_EFID2_Pos) /**< (MCAN_XIDFE_1) Extended Filter ID 2 Mask */
|
||
|
#define MCAN_XIDFE_1_EFID2(value) (MCAN_XIDFE_1_EFID2_Msk & ((value) << MCAN_XIDFE_1_EFID2_Pos))
|
||
|
#define MCAN_XIDFE_1_EFT_Pos 30 /**< (MCAN_XIDFE_1) Extended Filter Type Position */
|
||
|
#define MCAN_XIDFE_1_EFT_Msk (_U_(0x3) << MCAN_XIDFE_1_EFT_Pos) /**< (MCAN_XIDFE_1) Extended Filter Type Mask */
|
||
|
#define MCAN_XIDFE_1_EFT(value) (MCAN_XIDFE_1_EFT_Msk & ((value) << MCAN_XIDFE_1_EFT_Pos))
|
||
|
#define MCAN_XIDFE_1_EFT_RANGE_Val _U_(0x0) /**< (MCAN_XIDFE_1) Range filter from EFID1 to EFID2 */
|
||
|
#define MCAN_XIDFE_1_EFT_DUAL_Val _U_(0x1) /**< (MCAN_XIDFE_1) Dual ID filter for EFID1 or EFID2 */
|
||
|
#define MCAN_XIDFE_1_EFT_CLASSIC_Val _U_(0x2) /**< (MCAN_XIDFE_1) Classic filter */
|
||
|
#define MCAN_XIDFE_1_EFT_RANGE_NO_XIDAM_Val _U_(0x3) /**< (MCAN_XIDFE_1) Range filter from EFID1 to EFID2 with no XIDAM mask */
|
||
|
#define MCAN_XIDFE_1_EFT_RANGE (MCAN_XIDFE_1_EFT_RANGE_Val << MCAN_XIDFE_1_EFT_Pos) /**< (MCAN_XIDFE_1) Range filter from EFID1 to EFID2 Position */
|
||
|
#define MCAN_XIDFE_1_EFT_DUAL (MCAN_XIDFE_1_EFT_DUAL_Val << MCAN_XIDFE_1_EFT_Pos) /**< (MCAN_XIDFE_1) Dual ID filter for EFID1 or EFID2 Position */
|
||
|
#define MCAN_XIDFE_1_EFT_CLASSIC (MCAN_XIDFE_1_EFT_CLASSIC_Val << MCAN_XIDFE_1_EFT_Pos) /**< (MCAN_XIDFE_1) Classic filter Position */
|
||
|
#define MCAN_XIDFE_1_EFT_RANGE_NO_XIDAM (MCAN_XIDFE_1_EFT_RANGE_NO_XIDAM_Val << MCAN_XIDFE_1_EFT_Pos) /**< (MCAN_XIDFE_1) Range filter from EFID1 to EFID2 with no XIDAM mask Position */
|
||
|
#define MCAN_XIDFE_1_MASK _U_(0xDFFFFFFF) /**< \deprecated (MCAN_XIDFE_1) Register MASK (Use MCAN_XIDFE_1_Msk instead) */
|
||
|
#define MCAN_XIDFE_1_Msk _U_(0xDFFFFFFF) /**< (MCAN_XIDFE_1) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_CREL : (MCAN Offset: 0x00) (R/ 32) Core Release Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t DAY:8; /**< bit: 0..7 Timestamp Day */
|
||
|
uint32_t MON:8; /**< bit: 8..15 Timestamp Month */
|
||
|
uint32_t YEAR:4; /**< bit: 16..19 Timestamp Year */
|
||
|
uint32_t SUBSTEP:4; /**< bit: 20..23 Sub-step of Core Release */
|
||
|
uint32_t STEP:4; /**< bit: 24..27 Step of Core Release */
|
||
|
uint32_t REL:4; /**< bit: 28..31 Core Release */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_CREL_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_CREL_OFFSET (0x00) /**< (MCAN_CREL) Core Release Register Offset */
|
||
|
|
||
|
#define MCAN_CREL_DAY_Pos 0 /**< (MCAN_CREL) Timestamp Day Position */
|
||
|
#define MCAN_CREL_DAY_Msk (_U_(0xFF) << MCAN_CREL_DAY_Pos) /**< (MCAN_CREL) Timestamp Day Mask */
|
||
|
#define MCAN_CREL_DAY(value) (MCAN_CREL_DAY_Msk & ((value) << MCAN_CREL_DAY_Pos))
|
||
|
#define MCAN_CREL_MON_Pos 8 /**< (MCAN_CREL) Timestamp Month Position */
|
||
|
#define MCAN_CREL_MON_Msk (_U_(0xFF) << MCAN_CREL_MON_Pos) /**< (MCAN_CREL) Timestamp Month Mask */
|
||
|
#define MCAN_CREL_MON(value) (MCAN_CREL_MON_Msk & ((value) << MCAN_CREL_MON_Pos))
|
||
|
#define MCAN_CREL_YEAR_Pos 16 /**< (MCAN_CREL) Timestamp Year Position */
|
||
|
#define MCAN_CREL_YEAR_Msk (_U_(0xF) << MCAN_CREL_YEAR_Pos) /**< (MCAN_CREL) Timestamp Year Mask */
|
||
|
#define MCAN_CREL_YEAR(value) (MCAN_CREL_YEAR_Msk & ((value) << MCAN_CREL_YEAR_Pos))
|
||
|
#define MCAN_CREL_SUBSTEP_Pos 20 /**< (MCAN_CREL) Sub-step of Core Release Position */
|
||
|
#define MCAN_CREL_SUBSTEP_Msk (_U_(0xF) << MCAN_CREL_SUBSTEP_Pos) /**< (MCAN_CREL) Sub-step of Core Release Mask */
|
||
|
#define MCAN_CREL_SUBSTEP(value) (MCAN_CREL_SUBSTEP_Msk & ((value) << MCAN_CREL_SUBSTEP_Pos))
|
||
|
#define MCAN_CREL_STEP_Pos 24 /**< (MCAN_CREL) Step of Core Release Position */
|
||
|
#define MCAN_CREL_STEP_Msk (_U_(0xF) << MCAN_CREL_STEP_Pos) /**< (MCAN_CREL) Step of Core Release Mask */
|
||
|
#define MCAN_CREL_STEP(value) (MCAN_CREL_STEP_Msk & ((value) << MCAN_CREL_STEP_Pos))
|
||
|
#define MCAN_CREL_REL_Pos 28 /**< (MCAN_CREL) Core Release Position */
|
||
|
#define MCAN_CREL_REL_Msk (_U_(0xF) << MCAN_CREL_REL_Pos) /**< (MCAN_CREL) Core Release Mask */
|
||
|
#define MCAN_CREL_REL(value) (MCAN_CREL_REL_Msk & ((value) << MCAN_CREL_REL_Pos))
|
||
|
#define MCAN_CREL_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_CREL) Register MASK (Use MCAN_CREL_Msk instead) */
|
||
|
#define MCAN_CREL_Msk _U_(0xFFFFFFFF) /**< (MCAN_CREL) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_ENDN : (MCAN Offset: 0x04) (R/ 32) Endian Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ETV:32; /**< bit: 0..31 Endianness Test Value */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_ENDN_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_ENDN_OFFSET (0x04) /**< (MCAN_ENDN) Endian Register Offset */
|
||
|
|
||
|
#define MCAN_ENDN_ETV_Pos 0 /**< (MCAN_ENDN) Endianness Test Value Position */
|
||
|
#define MCAN_ENDN_ETV_Msk (_U_(0xFFFFFFFF) << MCAN_ENDN_ETV_Pos) /**< (MCAN_ENDN) Endianness Test Value Mask */
|
||
|
#define MCAN_ENDN_ETV(value) (MCAN_ENDN_ETV_Msk & ((value) << MCAN_ENDN_ETV_Pos))
|
||
|
#define MCAN_ENDN_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_ENDN) Register MASK (Use MCAN_ENDN_Msk instead) */
|
||
|
#define MCAN_ENDN_Msk _U_(0xFFFFFFFF) /**< (MCAN_ENDN) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_CUST : (MCAN Offset: 0x08) (R/W 32) Customer Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t CSV:32; /**< bit: 0..31 Customer-specific Value */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_CUST_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_CUST_OFFSET (0x08) /**< (MCAN_CUST) Customer Register Offset */
|
||
|
|
||
|
#define MCAN_CUST_CSV_Pos 0 /**< (MCAN_CUST) Customer-specific Value Position */
|
||
|
#define MCAN_CUST_CSV_Msk (_U_(0xFFFFFFFF) << MCAN_CUST_CSV_Pos) /**< (MCAN_CUST) Customer-specific Value Mask */
|
||
|
#define MCAN_CUST_CSV(value) (MCAN_CUST_CSV_Msk & ((value) << MCAN_CUST_CSV_Pos))
|
||
|
#define MCAN_CUST_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_CUST) Register MASK (Use MCAN_CUST_Msk instead) */
|
||
|
#define MCAN_CUST_Msk _U_(0xFFFFFFFF) /**< (MCAN_CUST) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_DBTP : (MCAN Offset: 0x0c) (R/W 32) Data Bit Timing and Prescaler Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t DSJW:3; /**< bit: 0..2 Data (Re) Synchronization Jump Width */
|
||
|
uint32_t :1; /**< bit: 3 Reserved */
|
||
|
uint32_t DTSEG2:4; /**< bit: 4..7 Data Time Segment After Sample Point */
|
||
|
uint32_t DTSEG1:5; /**< bit: 8..12 Data Time Segment Before Sample Point */
|
||
|
uint32_t :3; /**< bit: 13..15 Reserved */
|
||
|
uint32_t DBRP:5; /**< bit: 16..20 Data Bit Rate Prescaler */
|
||
|
uint32_t :2; /**< bit: 21..22 Reserved */
|
||
|
uint32_t TDC:1; /**< bit: 23 Transmitter Delay Compensation */
|
||
|
uint32_t :8; /**< bit: 24..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_DBTP_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_DBTP_OFFSET (0x0C) /**< (MCAN_DBTP) Data Bit Timing and Prescaler Register Offset */
|
||
|
|
||
|
#define MCAN_DBTP_DSJW_Pos 0 /**< (MCAN_DBTP) Data (Re) Synchronization Jump Width Position */
|
||
|
#define MCAN_DBTP_DSJW_Msk (_U_(0x7) << MCAN_DBTP_DSJW_Pos) /**< (MCAN_DBTP) Data (Re) Synchronization Jump Width Mask */
|
||
|
#define MCAN_DBTP_DSJW(value) (MCAN_DBTP_DSJW_Msk & ((value) << MCAN_DBTP_DSJW_Pos))
|
||
|
#define MCAN_DBTP_DTSEG2_Pos 4 /**< (MCAN_DBTP) Data Time Segment After Sample Point Position */
|
||
|
#define MCAN_DBTP_DTSEG2_Msk (_U_(0xF) << MCAN_DBTP_DTSEG2_Pos) /**< (MCAN_DBTP) Data Time Segment After Sample Point Mask */
|
||
|
#define MCAN_DBTP_DTSEG2(value) (MCAN_DBTP_DTSEG2_Msk & ((value) << MCAN_DBTP_DTSEG2_Pos))
|
||
|
#define MCAN_DBTP_DTSEG1_Pos 8 /**< (MCAN_DBTP) Data Time Segment Before Sample Point Position */
|
||
|
#define MCAN_DBTP_DTSEG1_Msk (_U_(0x1F) << MCAN_DBTP_DTSEG1_Pos) /**< (MCAN_DBTP) Data Time Segment Before Sample Point Mask */
|
||
|
#define MCAN_DBTP_DTSEG1(value) (MCAN_DBTP_DTSEG1_Msk & ((value) << MCAN_DBTP_DTSEG1_Pos))
|
||
|
#define MCAN_DBTP_DBRP_Pos 16 /**< (MCAN_DBTP) Data Bit Rate Prescaler Position */
|
||
|
#define MCAN_DBTP_DBRP_Msk (_U_(0x1F) << MCAN_DBTP_DBRP_Pos) /**< (MCAN_DBTP) Data Bit Rate Prescaler Mask */
|
||
|
#define MCAN_DBTP_DBRP(value) (MCAN_DBTP_DBRP_Msk & ((value) << MCAN_DBTP_DBRP_Pos))
|
||
|
#define MCAN_DBTP_TDC_Pos 23 /**< (MCAN_DBTP) Transmitter Delay Compensation Position */
|
||
|
#define MCAN_DBTP_TDC_Msk (_U_(0x1) << MCAN_DBTP_TDC_Pos) /**< (MCAN_DBTP) Transmitter Delay Compensation Mask */
|
||
|
#define MCAN_DBTP_TDC MCAN_DBTP_TDC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_DBTP_TDC_Msk instead */
|
||
|
#define MCAN_DBTP_TDC_DISABLED_Val _U_(0x0) /**< (MCAN_DBTP) Transmitter Delay Compensation disabled. */
|
||
|
#define MCAN_DBTP_TDC_ENABLED_Val _U_(0x1) /**< (MCAN_DBTP) Transmitter Delay Compensation enabled. */
|
||
|
#define MCAN_DBTP_TDC_DISABLED (MCAN_DBTP_TDC_DISABLED_Val << MCAN_DBTP_TDC_Pos) /**< (MCAN_DBTP) Transmitter Delay Compensation disabled. Position */
|
||
|
#define MCAN_DBTP_TDC_ENABLED (MCAN_DBTP_TDC_ENABLED_Val << MCAN_DBTP_TDC_Pos) /**< (MCAN_DBTP) Transmitter Delay Compensation enabled. Position */
|
||
|
#define MCAN_DBTP_MASK _U_(0x9F1FF7) /**< \deprecated (MCAN_DBTP) Register MASK (Use MCAN_DBTP_Msk instead) */
|
||
|
#define MCAN_DBTP_Msk _U_(0x9F1FF7) /**< (MCAN_DBTP) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TEST : (MCAN Offset: 0x10) (R/W 32) Test Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :4; /**< bit: 0..3 Reserved */
|
||
|
uint32_t LBCK:1; /**< bit: 4 Loop Back Mode (read/write) */
|
||
|
uint32_t TX:2; /**< bit: 5..6 Control of Transmit Pin (read/write) */
|
||
|
uint32_t RX:1; /**< bit: 7 Receive Pin (read-only) */
|
||
|
uint32_t :24; /**< bit: 8..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TEST_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TEST_OFFSET (0x10) /**< (MCAN_TEST) Test Register Offset */
|
||
|
|
||
|
#define MCAN_TEST_LBCK_Pos 4 /**< (MCAN_TEST) Loop Back Mode (read/write) Position */
|
||
|
#define MCAN_TEST_LBCK_Msk (_U_(0x1) << MCAN_TEST_LBCK_Pos) /**< (MCAN_TEST) Loop Back Mode (read/write) Mask */
|
||
|
#define MCAN_TEST_LBCK MCAN_TEST_LBCK_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TEST_LBCK_Msk instead */
|
||
|
#define MCAN_TEST_LBCK_DISABLED_Val _U_(0x0) /**< (MCAN_TEST) Reset value. Loop Back mode is disabled. */
|
||
|
#define MCAN_TEST_LBCK_ENABLED_Val _U_(0x1) /**< (MCAN_TEST) Loop Back mode is enabled (see Section 6.1.9). */
|
||
|
#define MCAN_TEST_LBCK_DISABLED (MCAN_TEST_LBCK_DISABLED_Val << MCAN_TEST_LBCK_Pos) /**< (MCAN_TEST) Reset value. Loop Back mode is disabled. Position */
|
||
|
#define MCAN_TEST_LBCK_ENABLED (MCAN_TEST_LBCK_ENABLED_Val << MCAN_TEST_LBCK_Pos) /**< (MCAN_TEST) Loop Back mode is enabled (see Section 6.1.9). Position */
|
||
|
#define MCAN_TEST_TX_Pos 5 /**< (MCAN_TEST) Control of Transmit Pin (read/write) Position */
|
||
|
#define MCAN_TEST_TX_Msk (_U_(0x3) << MCAN_TEST_TX_Pos) /**< (MCAN_TEST) Control of Transmit Pin (read/write) Mask */
|
||
|
#define MCAN_TEST_TX(value) (MCAN_TEST_TX_Msk & ((value) << MCAN_TEST_TX_Pos))
|
||
|
#define MCAN_TEST_TX_RESET_Val _U_(0x0) /**< (MCAN_TEST) Reset value, CANTX controlled by the CAN Core, updated at the end of the CAN bit time. */
|
||
|
#define MCAN_TEST_TX_SAMPLE_POINT_MONITORING_Val _U_(0x1) /**< (MCAN_TEST) Sample Point can be monitored at pin CANTX. */
|
||
|
#define MCAN_TEST_TX_DOMINANT_Val _U_(0x2) /**< (MCAN_TEST) Dominant ('0') level at pin CANTX. */
|
||
|
#define MCAN_TEST_TX_RECESSIVE_Val _U_(0x3) /**< (MCAN_TEST) Recessive ('1') at pin CANTX. */
|
||
|
#define MCAN_TEST_TX_RESET (MCAN_TEST_TX_RESET_Val << MCAN_TEST_TX_Pos) /**< (MCAN_TEST) Reset value, CANTX controlled by the CAN Core, updated at the end of the CAN bit time. Position */
|
||
|
#define MCAN_TEST_TX_SAMPLE_POINT_MONITORING (MCAN_TEST_TX_SAMPLE_POINT_MONITORING_Val << MCAN_TEST_TX_Pos) /**< (MCAN_TEST) Sample Point can be monitored at pin CANTX. Position */
|
||
|
#define MCAN_TEST_TX_DOMINANT (MCAN_TEST_TX_DOMINANT_Val << MCAN_TEST_TX_Pos) /**< (MCAN_TEST) Dominant ('0') level at pin CANTX. Position */
|
||
|
#define MCAN_TEST_TX_RECESSIVE (MCAN_TEST_TX_RECESSIVE_Val << MCAN_TEST_TX_Pos) /**< (MCAN_TEST) Recessive ('1') at pin CANTX. Position */
|
||
|
#define MCAN_TEST_RX_Pos 7 /**< (MCAN_TEST) Receive Pin (read-only) Position */
|
||
|
#define MCAN_TEST_RX_Msk (_U_(0x1) << MCAN_TEST_RX_Pos) /**< (MCAN_TEST) Receive Pin (read-only) Mask */
|
||
|
#define MCAN_TEST_RX MCAN_TEST_RX_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TEST_RX_Msk instead */
|
||
|
#define MCAN_TEST_MASK _U_(0xF0) /**< \deprecated (MCAN_TEST) Register MASK (Use MCAN_TEST_Msk instead) */
|
||
|
#define MCAN_TEST_Msk _U_(0xF0) /**< (MCAN_TEST) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RWD : (MCAN Offset: 0x14) (R/W 32) RAM Watchdog Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t WDC:8; /**< bit: 0..7 Watchdog Configuration (read/write) */
|
||
|
uint32_t WDV:8; /**< bit: 8..15 Watchdog Value (read-only) */
|
||
|
uint32_t :16; /**< bit: 16..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RWD_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RWD_OFFSET (0x14) /**< (MCAN_RWD) RAM Watchdog Register Offset */
|
||
|
|
||
|
#define MCAN_RWD_WDC_Pos 0 /**< (MCAN_RWD) Watchdog Configuration (read/write) Position */
|
||
|
#define MCAN_RWD_WDC_Msk (_U_(0xFF) << MCAN_RWD_WDC_Pos) /**< (MCAN_RWD) Watchdog Configuration (read/write) Mask */
|
||
|
#define MCAN_RWD_WDC(value) (MCAN_RWD_WDC_Msk & ((value) << MCAN_RWD_WDC_Pos))
|
||
|
#define MCAN_RWD_WDV_Pos 8 /**< (MCAN_RWD) Watchdog Value (read-only) Position */
|
||
|
#define MCAN_RWD_WDV_Msk (_U_(0xFF) << MCAN_RWD_WDV_Pos) /**< (MCAN_RWD) Watchdog Value (read-only) Mask */
|
||
|
#define MCAN_RWD_WDV(value) (MCAN_RWD_WDV_Msk & ((value) << MCAN_RWD_WDV_Pos))
|
||
|
#define MCAN_RWD_MASK _U_(0xFFFF) /**< \deprecated (MCAN_RWD) Register MASK (Use MCAN_RWD_Msk instead) */
|
||
|
#define MCAN_RWD_Msk _U_(0xFFFF) /**< (MCAN_RWD) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_CCCR : (MCAN Offset: 0x18) (R/W 32) CC Control Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t INIT:1; /**< bit: 0 Initialization (read/write) */
|
||
|
uint32_t CCE:1; /**< bit: 1 Configuration Change Enable (read/write, write protection) */
|
||
|
uint32_t ASM:1; /**< bit: 2 Restricted Operation Mode (read/write, write protection against '1') */
|
||
|
uint32_t CSA:1; /**< bit: 3 Clock Stop Acknowledge (read-only) */
|
||
|
uint32_t CSR:1; /**< bit: 4 Clock Stop Request (read/write) */
|
||
|
uint32_t MON:1; /**< bit: 5 Bus Monitoring Mode (read/write, write protection against '1') */
|
||
|
uint32_t DAR:1; /**< bit: 6 Disable Automatic Retransmission (read/write, write protection) */
|
||
|
uint32_t TEST:1; /**< bit: 7 Test Mode Enable (read/write, write protection against '1') */
|
||
|
uint32_t FDOE:1; /**< bit: 8 CAN FD Operation Enable (read/write, write protection) */
|
||
|
uint32_t BRSE:1; /**< bit: 9 Bit Rate Switching Enable (read/write, write protection) */
|
||
|
uint32_t :2; /**< bit: 10..11 Reserved */
|
||
|
uint32_t PXHD:1; /**< bit: 12 Protocol Exception Event Handling (read/write, write protection) */
|
||
|
uint32_t EFBI:1; /**< bit: 13 Edge Filtering during Bus Integration (read/write, write protection) */
|
||
|
uint32_t TXP:1; /**< bit: 14 Transmit Pause (read/write, write protection) */
|
||
|
uint32_t NISO:1; /**< bit: 15 Non-ISO Operation */
|
||
|
uint32_t :16; /**< bit: 16..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_CCCR_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_CCCR_OFFSET (0x18) /**< (MCAN_CCCR) CC Control Register Offset */
|
||
|
|
||
|
#define MCAN_CCCR_INIT_Pos 0 /**< (MCAN_CCCR) Initialization (read/write) Position */
|
||
|
#define MCAN_CCCR_INIT_Msk (_U_(0x1) << MCAN_CCCR_INIT_Pos) /**< (MCAN_CCCR) Initialization (read/write) Mask */
|
||
|
#define MCAN_CCCR_INIT MCAN_CCCR_INIT_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_INIT_Msk instead */
|
||
|
#define MCAN_CCCR_INIT_DISABLED_Val _U_(0x0) /**< (MCAN_CCCR) Normal operation. */
|
||
|
#define MCAN_CCCR_INIT_ENABLED_Val _U_(0x1) /**< (MCAN_CCCR) Initialization is started. */
|
||
|
#define MCAN_CCCR_INIT_DISABLED (MCAN_CCCR_INIT_DISABLED_Val << MCAN_CCCR_INIT_Pos) /**< (MCAN_CCCR) Normal operation. Position */
|
||
|
#define MCAN_CCCR_INIT_ENABLED (MCAN_CCCR_INIT_ENABLED_Val << MCAN_CCCR_INIT_Pos) /**< (MCAN_CCCR) Initialization is started. Position */
|
||
|
#define MCAN_CCCR_CCE_Pos 1 /**< (MCAN_CCCR) Configuration Change Enable (read/write, write protection) Position */
|
||
|
#define MCAN_CCCR_CCE_Msk (_U_(0x1) << MCAN_CCCR_CCE_Pos) /**< (MCAN_CCCR) Configuration Change Enable (read/write, write protection) Mask */
|
||
|
#define MCAN_CCCR_CCE MCAN_CCCR_CCE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_CCE_Msk instead */
|
||
|
#define MCAN_CCCR_CCE_PROTECTED_Val _U_(0x0) /**< (MCAN_CCCR) The processor has no write access to the protected configuration registers. */
|
||
|
#define MCAN_CCCR_CCE_CONFIGURABLE_Val _U_(0x1) /**< (MCAN_CCCR) The processor has write access to the protected configuration registers (while MCAN_CCCR.INIT = '1'). */
|
||
|
#define MCAN_CCCR_CCE_PROTECTED (MCAN_CCCR_CCE_PROTECTED_Val << MCAN_CCCR_CCE_Pos) /**< (MCAN_CCCR) The processor has no write access to the protected configuration registers. Position */
|
||
|
#define MCAN_CCCR_CCE_CONFIGURABLE (MCAN_CCCR_CCE_CONFIGURABLE_Val << MCAN_CCCR_CCE_Pos) /**< (MCAN_CCCR) The processor has write access to the protected configuration registers (while MCAN_CCCR.INIT = '1'). Position */
|
||
|
#define MCAN_CCCR_ASM_Pos 2 /**< (MCAN_CCCR) Restricted Operation Mode (read/write, write protection against '1') Position */
|
||
|
#define MCAN_CCCR_ASM_Msk (_U_(0x1) << MCAN_CCCR_ASM_Pos) /**< (MCAN_CCCR) Restricted Operation Mode (read/write, write protection against '1') Mask */
|
||
|
#define MCAN_CCCR_ASM MCAN_CCCR_ASM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_ASM_Msk instead */
|
||
|
#define MCAN_CCCR_ASM_NORMAL_Val _U_(0x0) /**< (MCAN_CCCR) Normal CAN operation. */
|
||
|
#define MCAN_CCCR_ASM_RESTRICTED_Val _U_(0x1) /**< (MCAN_CCCR) Restricted Operation mode active. */
|
||
|
#define MCAN_CCCR_ASM_NORMAL (MCAN_CCCR_ASM_NORMAL_Val << MCAN_CCCR_ASM_Pos) /**< (MCAN_CCCR) Normal CAN operation. Position */
|
||
|
#define MCAN_CCCR_ASM_RESTRICTED (MCAN_CCCR_ASM_RESTRICTED_Val << MCAN_CCCR_ASM_Pos) /**< (MCAN_CCCR) Restricted Operation mode active. Position */
|
||
|
#define MCAN_CCCR_CSA_Pos 3 /**< (MCAN_CCCR) Clock Stop Acknowledge (read-only) Position */
|
||
|
#define MCAN_CCCR_CSA_Msk (_U_(0x1) << MCAN_CCCR_CSA_Pos) /**< (MCAN_CCCR) Clock Stop Acknowledge (read-only) Mask */
|
||
|
#define MCAN_CCCR_CSA MCAN_CCCR_CSA_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_CSA_Msk instead */
|
||
|
#define MCAN_CCCR_CSR_Pos 4 /**< (MCAN_CCCR) Clock Stop Request (read/write) Position */
|
||
|
#define MCAN_CCCR_CSR_Msk (_U_(0x1) << MCAN_CCCR_CSR_Pos) /**< (MCAN_CCCR) Clock Stop Request (read/write) Mask */
|
||
|
#define MCAN_CCCR_CSR MCAN_CCCR_CSR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_CSR_Msk instead */
|
||
|
#define MCAN_CCCR_CSR_NO_CLOCK_STOP_Val _U_(0x0) /**< (MCAN_CCCR) No clock stop is requested. */
|
||
|
#define MCAN_CCCR_CSR_CLOCK_STOP_Val _U_(0x1) /**< (MCAN_CCCR) Clock stop requested. When clock stop is requested, first INIT and then CSA will be set after all pend-ing transfer requests have been completed and the CAN bus reached idle. */
|
||
|
#define MCAN_CCCR_CSR_NO_CLOCK_STOP (MCAN_CCCR_CSR_NO_CLOCK_STOP_Val << MCAN_CCCR_CSR_Pos) /**< (MCAN_CCCR) No clock stop is requested. Position */
|
||
|
#define MCAN_CCCR_CSR_CLOCK_STOP (MCAN_CCCR_CSR_CLOCK_STOP_Val << MCAN_CCCR_CSR_Pos) /**< (MCAN_CCCR) Clock stop requested. When clock stop is requested, first INIT and then CSA will be set after all pend-ing transfer requests have been completed and the CAN bus reached idle. Position */
|
||
|
#define MCAN_CCCR_MON_Pos 5 /**< (MCAN_CCCR) Bus Monitoring Mode (read/write, write protection against '1') Position */
|
||
|
#define MCAN_CCCR_MON_Msk (_U_(0x1) << MCAN_CCCR_MON_Pos) /**< (MCAN_CCCR) Bus Monitoring Mode (read/write, write protection against '1') Mask */
|
||
|
#define MCAN_CCCR_MON MCAN_CCCR_MON_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_MON_Msk instead */
|
||
|
#define MCAN_CCCR_MON_DISABLED_Val _U_(0x0) /**< (MCAN_CCCR) Bus Monitoring mode is disabled. */
|
||
|
#define MCAN_CCCR_MON_ENABLED_Val _U_(0x1) /**< (MCAN_CCCR) Bus Monitoring mode is enabled. */
|
||
|
#define MCAN_CCCR_MON_DISABLED (MCAN_CCCR_MON_DISABLED_Val << MCAN_CCCR_MON_Pos) /**< (MCAN_CCCR) Bus Monitoring mode is disabled. Position */
|
||
|
#define MCAN_CCCR_MON_ENABLED (MCAN_CCCR_MON_ENABLED_Val << MCAN_CCCR_MON_Pos) /**< (MCAN_CCCR) Bus Monitoring mode is enabled. Position */
|
||
|
#define MCAN_CCCR_DAR_Pos 6 /**< (MCAN_CCCR) Disable Automatic Retransmission (read/write, write protection) Position */
|
||
|
#define MCAN_CCCR_DAR_Msk (_U_(0x1) << MCAN_CCCR_DAR_Pos) /**< (MCAN_CCCR) Disable Automatic Retransmission (read/write, write protection) Mask */
|
||
|
#define MCAN_CCCR_DAR MCAN_CCCR_DAR_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_DAR_Msk instead */
|
||
|
#define MCAN_CCCR_DAR_AUTO_RETX_Val _U_(0x0) /**< (MCAN_CCCR) Automatic retransmission of messages not transmitted successfully enabled. */
|
||
|
#define MCAN_CCCR_DAR_NO_AUTO_RETX_Val _U_(0x1) /**< (MCAN_CCCR) Automatic retransmission disabled. */
|
||
|
#define MCAN_CCCR_DAR_AUTO_RETX (MCAN_CCCR_DAR_AUTO_RETX_Val << MCAN_CCCR_DAR_Pos) /**< (MCAN_CCCR) Automatic retransmission of messages not transmitted successfully enabled. Position */
|
||
|
#define MCAN_CCCR_DAR_NO_AUTO_RETX (MCAN_CCCR_DAR_NO_AUTO_RETX_Val << MCAN_CCCR_DAR_Pos) /**< (MCAN_CCCR) Automatic retransmission disabled. Position */
|
||
|
#define MCAN_CCCR_TEST_Pos 7 /**< (MCAN_CCCR) Test Mode Enable (read/write, write protection against '1') Position */
|
||
|
#define MCAN_CCCR_TEST_Msk (_U_(0x1) << MCAN_CCCR_TEST_Pos) /**< (MCAN_CCCR) Test Mode Enable (read/write, write protection against '1') Mask */
|
||
|
#define MCAN_CCCR_TEST MCAN_CCCR_TEST_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_TEST_Msk instead */
|
||
|
#define MCAN_CCCR_TEST_DISABLED_Val _U_(0x0) /**< (MCAN_CCCR) Normal operation, MCAN_TEST register holds reset values. */
|
||
|
#define MCAN_CCCR_TEST_ENABLED_Val _U_(0x1) /**< (MCAN_CCCR) Test mode, write access to MCAN_TEST register enabled. */
|
||
|
#define MCAN_CCCR_TEST_DISABLED (MCAN_CCCR_TEST_DISABLED_Val << MCAN_CCCR_TEST_Pos) /**< (MCAN_CCCR) Normal operation, MCAN_TEST register holds reset values. Position */
|
||
|
#define MCAN_CCCR_TEST_ENABLED (MCAN_CCCR_TEST_ENABLED_Val << MCAN_CCCR_TEST_Pos) /**< (MCAN_CCCR) Test mode, write access to MCAN_TEST register enabled. Position */
|
||
|
#define MCAN_CCCR_FDOE_Pos 8 /**< (MCAN_CCCR) CAN FD Operation Enable (read/write, write protection) Position */
|
||
|
#define MCAN_CCCR_FDOE_Msk (_U_(0x1) << MCAN_CCCR_FDOE_Pos) /**< (MCAN_CCCR) CAN FD Operation Enable (read/write, write protection) Mask */
|
||
|
#define MCAN_CCCR_FDOE MCAN_CCCR_FDOE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_FDOE_Msk instead */
|
||
|
#define MCAN_CCCR_FDOE_DISABLED_Val _U_(0x0) /**< (MCAN_CCCR) FD operation disabled. */
|
||
|
#define MCAN_CCCR_FDOE_ENABLED_Val _U_(0x1) /**< (MCAN_CCCR) FD operation enabled. */
|
||
|
#define MCAN_CCCR_FDOE_DISABLED (MCAN_CCCR_FDOE_DISABLED_Val << MCAN_CCCR_FDOE_Pos) /**< (MCAN_CCCR) FD operation disabled. Position */
|
||
|
#define MCAN_CCCR_FDOE_ENABLED (MCAN_CCCR_FDOE_ENABLED_Val << MCAN_CCCR_FDOE_Pos) /**< (MCAN_CCCR) FD operation enabled. Position */
|
||
|
#define MCAN_CCCR_BRSE_Pos 9 /**< (MCAN_CCCR) Bit Rate Switching Enable (read/write, write protection) Position */
|
||
|
#define MCAN_CCCR_BRSE_Msk (_U_(0x1) << MCAN_CCCR_BRSE_Pos) /**< (MCAN_CCCR) Bit Rate Switching Enable (read/write, write protection) Mask */
|
||
|
#define MCAN_CCCR_BRSE MCAN_CCCR_BRSE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_BRSE_Msk instead */
|
||
|
#define MCAN_CCCR_BRSE_DISABLED_Val _U_(0x0) /**< (MCAN_CCCR) Bit rate switching for transmissions disabled. */
|
||
|
#define MCAN_CCCR_BRSE_ENABLED_Val _U_(0x1) /**< (MCAN_CCCR) Bit rate switching for transmissions enabled. */
|
||
|
#define MCAN_CCCR_BRSE_DISABLED (MCAN_CCCR_BRSE_DISABLED_Val << MCAN_CCCR_BRSE_Pos) /**< (MCAN_CCCR) Bit rate switching for transmissions disabled. Position */
|
||
|
#define MCAN_CCCR_BRSE_ENABLED (MCAN_CCCR_BRSE_ENABLED_Val << MCAN_CCCR_BRSE_Pos) /**< (MCAN_CCCR) Bit rate switching for transmissions enabled. Position */
|
||
|
#define MCAN_CCCR_PXHD_Pos 12 /**< (MCAN_CCCR) Protocol Exception Event Handling (read/write, write protection) Position */
|
||
|
#define MCAN_CCCR_PXHD_Msk (_U_(0x1) << MCAN_CCCR_PXHD_Pos) /**< (MCAN_CCCR) Protocol Exception Event Handling (read/write, write protection) Mask */
|
||
|
#define MCAN_CCCR_PXHD MCAN_CCCR_PXHD_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_PXHD_Msk instead */
|
||
|
#define MCAN_CCCR_EFBI_Pos 13 /**< (MCAN_CCCR) Edge Filtering during Bus Integration (read/write, write protection) Position */
|
||
|
#define MCAN_CCCR_EFBI_Msk (_U_(0x1) << MCAN_CCCR_EFBI_Pos) /**< (MCAN_CCCR) Edge Filtering during Bus Integration (read/write, write protection) Mask */
|
||
|
#define MCAN_CCCR_EFBI MCAN_CCCR_EFBI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_EFBI_Msk instead */
|
||
|
#define MCAN_CCCR_TXP_Pos 14 /**< (MCAN_CCCR) Transmit Pause (read/write, write protection) Position */
|
||
|
#define MCAN_CCCR_TXP_Msk (_U_(0x1) << MCAN_CCCR_TXP_Pos) /**< (MCAN_CCCR) Transmit Pause (read/write, write protection) Mask */
|
||
|
#define MCAN_CCCR_TXP MCAN_CCCR_TXP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_TXP_Msk instead */
|
||
|
#define MCAN_CCCR_NISO_Pos 15 /**< (MCAN_CCCR) Non-ISO Operation Position */
|
||
|
#define MCAN_CCCR_NISO_Msk (_U_(0x1) << MCAN_CCCR_NISO_Pos) /**< (MCAN_CCCR) Non-ISO Operation Mask */
|
||
|
#define MCAN_CCCR_NISO MCAN_CCCR_NISO_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_CCCR_NISO_Msk instead */
|
||
|
#define MCAN_CCCR_MASK _U_(0xF3FF) /**< \deprecated (MCAN_CCCR) Register MASK (Use MCAN_CCCR_Msk instead) */
|
||
|
#define MCAN_CCCR_Msk _U_(0xF3FF) /**< (MCAN_CCCR) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_NBTP : (MCAN Offset: 0x1c) (R/W 32) Nominal Bit Timing and Prescaler Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t NTSEG2:7; /**< bit: 0..6 Nominal Time Segment After Sample Point */
|
||
|
uint32_t :1; /**< bit: 7 Reserved */
|
||
|
uint32_t NTSEG1:8; /**< bit: 8..15 Nominal Time Segment Before Sample Point */
|
||
|
uint32_t NBRP:9; /**< bit: 16..24 Nominal Bit Rate Prescaler */
|
||
|
uint32_t NSJW:7; /**< bit: 25..31 Nominal (Re) Synchronization Jump Width */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_NBTP_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_NBTP_OFFSET (0x1C) /**< (MCAN_NBTP) Nominal Bit Timing and Prescaler Register Offset */
|
||
|
|
||
|
#define MCAN_NBTP_NTSEG2_Pos 0 /**< (MCAN_NBTP) Nominal Time Segment After Sample Point Position */
|
||
|
#define MCAN_NBTP_NTSEG2_Msk (_U_(0x7F) << MCAN_NBTP_NTSEG2_Pos) /**< (MCAN_NBTP) Nominal Time Segment After Sample Point Mask */
|
||
|
#define MCAN_NBTP_NTSEG2(value) (MCAN_NBTP_NTSEG2_Msk & ((value) << MCAN_NBTP_NTSEG2_Pos))
|
||
|
#define MCAN_NBTP_NTSEG1_Pos 8 /**< (MCAN_NBTP) Nominal Time Segment Before Sample Point Position */
|
||
|
#define MCAN_NBTP_NTSEG1_Msk (_U_(0xFF) << MCAN_NBTP_NTSEG1_Pos) /**< (MCAN_NBTP) Nominal Time Segment Before Sample Point Mask */
|
||
|
#define MCAN_NBTP_NTSEG1(value) (MCAN_NBTP_NTSEG1_Msk & ((value) << MCAN_NBTP_NTSEG1_Pos))
|
||
|
#define MCAN_NBTP_NBRP_Pos 16 /**< (MCAN_NBTP) Nominal Bit Rate Prescaler Position */
|
||
|
#define MCAN_NBTP_NBRP_Msk (_U_(0x1FF) << MCAN_NBTP_NBRP_Pos) /**< (MCAN_NBTP) Nominal Bit Rate Prescaler Mask */
|
||
|
#define MCAN_NBTP_NBRP(value) (MCAN_NBTP_NBRP_Msk & ((value) << MCAN_NBTP_NBRP_Pos))
|
||
|
#define MCAN_NBTP_NSJW_Pos 25 /**< (MCAN_NBTP) Nominal (Re) Synchronization Jump Width Position */
|
||
|
#define MCAN_NBTP_NSJW_Msk (_U_(0x7F) << MCAN_NBTP_NSJW_Pos) /**< (MCAN_NBTP) Nominal (Re) Synchronization Jump Width Mask */
|
||
|
#define MCAN_NBTP_NSJW(value) (MCAN_NBTP_NSJW_Msk & ((value) << MCAN_NBTP_NSJW_Pos))
|
||
|
#define MCAN_NBTP_MASK _U_(0xFFFFFF7F) /**< \deprecated (MCAN_NBTP) Register MASK (Use MCAN_NBTP_Msk instead) */
|
||
|
#define MCAN_NBTP_Msk _U_(0xFFFFFF7F) /**< (MCAN_NBTP) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TSCC : (MCAN Offset: 0x20) (R/W 32) Timestamp Counter Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TSS:2; /**< bit: 0..1 Timestamp Select */
|
||
|
uint32_t :14; /**< bit: 2..15 Reserved */
|
||
|
uint32_t TCP:4; /**< bit: 16..19 Timestamp Counter Prescaler */
|
||
|
uint32_t :12; /**< bit: 20..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TSCC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TSCC_OFFSET (0x20) /**< (MCAN_TSCC) Timestamp Counter Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_TSCC_TSS_Pos 0 /**< (MCAN_TSCC) Timestamp Select Position */
|
||
|
#define MCAN_TSCC_TSS_Msk (_U_(0x3) << MCAN_TSCC_TSS_Pos) /**< (MCAN_TSCC) Timestamp Select Mask */
|
||
|
#define MCAN_TSCC_TSS(value) (MCAN_TSCC_TSS_Msk & ((value) << MCAN_TSCC_TSS_Pos))
|
||
|
#define MCAN_TSCC_TSS_ALWAYS_0_Val _U_(0x0) /**< (MCAN_TSCC) Timestamp counter value always 0x0000 */
|
||
|
#define MCAN_TSCC_TSS_TCP_INC_Val _U_(0x1) /**< (MCAN_TSCC) Timestamp counter value incremented according to TCP */
|
||
|
#define MCAN_TSCC_TSS_EXT_TIMESTAMP_Val _U_(0x2) /**< (MCAN_TSCC) External timestamp counter value used */
|
||
|
#define MCAN_TSCC_TSS_ALWAYS_0 (MCAN_TSCC_TSS_ALWAYS_0_Val << MCAN_TSCC_TSS_Pos) /**< (MCAN_TSCC) Timestamp counter value always 0x0000 Position */
|
||
|
#define MCAN_TSCC_TSS_TCP_INC (MCAN_TSCC_TSS_TCP_INC_Val << MCAN_TSCC_TSS_Pos) /**< (MCAN_TSCC) Timestamp counter value incremented according to TCP Position */
|
||
|
#define MCAN_TSCC_TSS_EXT_TIMESTAMP (MCAN_TSCC_TSS_EXT_TIMESTAMP_Val << MCAN_TSCC_TSS_Pos) /**< (MCAN_TSCC) External timestamp counter value used Position */
|
||
|
#define MCAN_TSCC_TCP_Pos 16 /**< (MCAN_TSCC) Timestamp Counter Prescaler Position */
|
||
|
#define MCAN_TSCC_TCP_Msk (_U_(0xF) << MCAN_TSCC_TCP_Pos) /**< (MCAN_TSCC) Timestamp Counter Prescaler Mask */
|
||
|
#define MCAN_TSCC_TCP(value) (MCAN_TSCC_TCP_Msk & ((value) << MCAN_TSCC_TCP_Pos))
|
||
|
#define MCAN_TSCC_MASK _U_(0xF0003) /**< \deprecated (MCAN_TSCC) Register MASK (Use MCAN_TSCC_Msk instead) */
|
||
|
#define MCAN_TSCC_Msk _U_(0xF0003) /**< (MCAN_TSCC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TSCV : (MCAN Offset: 0x24) (R/W 32) Timestamp Counter Value Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TSC:16; /**< bit: 0..15 Timestamp Counter (cleared on write) */
|
||
|
uint32_t :16; /**< bit: 16..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TSCV_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TSCV_OFFSET (0x24) /**< (MCAN_TSCV) Timestamp Counter Value Register Offset */
|
||
|
|
||
|
#define MCAN_TSCV_TSC_Pos 0 /**< (MCAN_TSCV) Timestamp Counter (cleared on write) Position */
|
||
|
#define MCAN_TSCV_TSC_Msk (_U_(0xFFFF) << MCAN_TSCV_TSC_Pos) /**< (MCAN_TSCV) Timestamp Counter (cleared on write) Mask */
|
||
|
#define MCAN_TSCV_TSC(value) (MCAN_TSCV_TSC_Msk & ((value) << MCAN_TSCV_TSC_Pos))
|
||
|
#define MCAN_TSCV_MASK _U_(0xFFFF) /**< \deprecated (MCAN_TSCV) Register MASK (Use MCAN_TSCV_Msk instead) */
|
||
|
#define MCAN_TSCV_Msk _U_(0xFFFF) /**< (MCAN_TSCV) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TOCC : (MCAN Offset: 0x28) (R/W 32) Timeout Counter Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ETOC:1; /**< bit: 0 Enable Timeout Counter */
|
||
|
uint32_t TOS:2; /**< bit: 1..2 Timeout Select */
|
||
|
uint32_t :13; /**< bit: 3..15 Reserved */
|
||
|
uint32_t TOP:16; /**< bit: 16..31 Timeout Period */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TOCC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TOCC_OFFSET (0x28) /**< (MCAN_TOCC) Timeout Counter Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_TOCC_ETOC_Pos 0 /**< (MCAN_TOCC) Enable Timeout Counter Position */
|
||
|
#define MCAN_TOCC_ETOC_Msk (_U_(0x1) << MCAN_TOCC_ETOC_Pos) /**< (MCAN_TOCC) Enable Timeout Counter Mask */
|
||
|
#define MCAN_TOCC_ETOC MCAN_TOCC_ETOC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TOCC_ETOC_Msk instead */
|
||
|
#define MCAN_TOCC_ETOC_NO_TIMEOUT_Val _U_(0x0) /**< (MCAN_TOCC) Timeout Counter disabled. */
|
||
|
#define MCAN_TOCC_ETOC_TOS_CONTROLLED_Val _U_(0x1) /**< (MCAN_TOCC) Timeout Counter enabled. */
|
||
|
#define MCAN_TOCC_ETOC_NO_TIMEOUT (MCAN_TOCC_ETOC_NO_TIMEOUT_Val << MCAN_TOCC_ETOC_Pos) /**< (MCAN_TOCC) Timeout Counter disabled. Position */
|
||
|
#define MCAN_TOCC_ETOC_TOS_CONTROLLED (MCAN_TOCC_ETOC_TOS_CONTROLLED_Val << MCAN_TOCC_ETOC_Pos) /**< (MCAN_TOCC) Timeout Counter enabled. Position */
|
||
|
#define MCAN_TOCC_TOS_Pos 1 /**< (MCAN_TOCC) Timeout Select Position */
|
||
|
#define MCAN_TOCC_TOS_Msk (_U_(0x3) << MCAN_TOCC_TOS_Pos) /**< (MCAN_TOCC) Timeout Select Mask */
|
||
|
#define MCAN_TOCC_TOS(value) (MCAN_TOCC_TOS_Msk & ((value) << MCAN_TOCC_TOS_Pos))
|
||
|
#define MCAN_TOCC_TOS_CONTINUOUS_Val _U_(0x0) /**< (MCAN_TOCC) Continuous operation */
|
||
|
#define MCAN_TOCC_TOS_TX_EV_TIMEOUT_Val _U_(0x1) /**< (MCAN_TOCC) Timeout controlled by Tx Event FIFO */
|
||
|
#define MCAN_TOCC_TOS_RX0_EV_TIMEOUT_Val _U_(0x2) /**< (MCAN_TOCC) Timeout controlled by Receive FIFO 0 */
|
||
|
#define MCAN_TOCC_TOS_RX1_EV_TIMEOUT_Val _U_(0x3) /**< (MCAN_TOCC) Timeout controlled by Receive FIFO 1 */
|
||
|
#define MCAN_TOCC_TOS_CONTINUOUS (MCAN_TOCC_TOS_CONTINUOUS_Val << MCAN_TOCC_TOS_Pos) /**< (MCAN_TOCC) Continuous operation Position */
|
||
|
#define MCAN_TOCC_TOS_TX_EV_TIMEOUT (MCAN_TOCC_TOS_TX_EV_TIMEOUT_Val << MCAN_TOCC_TOS_Pos) /**< (MCAN_TOCC) Timeout controlled by Tx Event FIFO Position */
|
||
|
#define MCAN_TOCC_TOS_RX0_EV_TIMEOUT (MCAN_TOCC_TOS_RX0_EV_TIMEOUT_Val << MCAN_TOCC_TOS_Pos) /**< (MCAN_TOCC) Timeout controlled by Receive FIFO 0 Position */
|
||
|
#define MCAN_TOCC_TOS_RX1_EV_TIMEOUT (MCAN_TOCC_TOS_RX1_EV_TIMEOUT_Val << MCAN_TOCC_TOS_Pos) /**< (MCAN_TOCC) Timeout controlled by Receive FIFO 1 Position */
|
||
|
#define MCAN_TOCC_TOP_Pos 16 /**< (MCAN_TOCC) Timeout Period Position */
|
||
|
#define MCAN_TOCC_TOP_Msk (_U_(0xFFFF) << MCAN_TOCC_TOP_Pos) /**< (MCAN_TOCC) Timeout Period Mask */
|
||
|
#define MCAN_TOCC_TOP(value) (MCAN_TOCC_TOP_Msk & ((value) << MCAN_TOCC_TOP_Pos))
|
||
|
#define MCAN_TOCC_MASK _U_(0xFFFF0007) /**< \deprecated (MCAN_TOCC) Register MASK (Use MCAN_TOCC_Msk instead) */
|
||
|
#define MCAN_TOCC_Msk _U_(0xFFFF0007) /**< (MCAN_TOCC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TOCV : (MCAN Offset: 0x2c) (R/W 32) Timeout Counter Value Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TOC:16; /**< bit: 0..15 Timeout Counter (cleared on write) */
|
||
|
uint32_t :16; /**< bit: 16..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TOCV_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TOCV_OFFSET (0x2C) /**< (MCAN_TOCV) Timeout Counter Value Register Offset */
|
||
|
|
||
|
#define MCAN_TOCV_TOC_Pos 0 /**< (MCAN_TOCV) Timeout Counter (cleared on write) Position */
|
||
|
#define MCAN_TOCV_TOC_Msk (_U_(0xFFFF) << MCAN_TOCV_TOC_Pos) /**< (MCAN_TOCV) Timeout Counter (cleared on write) Mask */
|
||
|
#define MCAN_TOCV_TOC(value) (MCAN_TOCV_TOC_Msk & ((value) << MCAN_TOCV_TOC_Pos))
|
||
|
#define MCAN_TOCV_MASK _U_(0xFFFF) /**< \deprecated (MCAN_TOCV) Register MASK (Use MCAN_TOCV_Msk instead) */
|
||
|
#define MCAN_TOCV_Msk _U_(0xFFFF) /**< (MCAN_TOCV) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_ECR : (MCAN Offset: 0x40) (R/ 32) Error Counter Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TEC:8; /**< bit: 0..7 Transmit Error Counter */
|
||
|
uint32_t REC:7; /**< bit: 8..14 Receive Error Counter */
|
||
|
uint32_t RP:1; /**< bit: 15 Receive Error Passive */
|
||
|
uint32_t CEL:8; /**< bit: 16..23 CAN Error Logging (cleared on read) */
|
||
|
uint32_t :8; /**< bit: 24..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_ECR_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_ECR_OFFSET (0x40) /**< (MCAN_ECR) Error Counter Register Offset */
|
||
|
|
||
|
#define MCAN_ECR_TEC_Pos 0 /**< (MCAN_ECR) Transmit Error Counter Position */
|
||
|
#define MCAN_ECR_TEC_Msk (_U_(0xFF) << MCAN_ECR_TEC_Pos) /**< (MCAN_ECR) Transmit Error Counter Mask */
|
||
|
#define MCAN_ECR_TEC(value) (MCAN_ECR_TEC_Msk & ((value) << MCAN_ECR_TEC_Pos))
|
||
|
#define MCAN_ECR_REC_Pos 8 /**< (MCAN_ECR) Receive Error Counter Position */
|
||
|
#define MCAN_ECR_REC_Msk (_U_(0x7F) << MCAN_ECR_REC_Pos) /**< (MCAN_ECR) Receive Error Counter Mask */
|
||
|
#define MCAN_ECR_REC(value) (MCAN_ECR_REC_Msk & ((value) << MCAN_ECR_REC_Pos))
|
||
|
#define MCAN_ECR_RP_Pos 15 /**< (MCAN_ECR) Receive Error Passive Position */
|
||
|
#define MCAN_ECR_RP_Msk (_U_(0x1) << MCAN_ECR_RP_Pos) /**< (MCAN_ECR) Receive Error Passive Mask */
|
||
|
#define MCAN_ECR_RP MCAN_ECR_RP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ECR_RP_Msk instead */
|
||
|
#define MCAN_ECR_CEL_Pos 16 /**< (MCAN_ECR) CAN Error Logging (cleared on read) Position */
|
||
|
#define MCAN_ECR_CEL_Msk (_U_(0xFF) << MCAN_ECR_CEL_Pos) /**< (MCAN_ECR) CAN Error Logging (cleared on read) Mask */
|
||
|
#define MCAN_ECR_CEL(value) (MCAN_ECR_CEL_Msk & ((value) << MCAN_ECR_CEL_Pos))
|
||
|
#define MCAN_ECR_MASK _U_(0xFFFFFF) /**< \deprecated (MCAN_ECR) Register MASK (Use MCAN_ECR_Msk instead) */
|
||
|
#define MCAN_ECR_Msk _U_(0xFFFFFF) /**< (MCAN_ECR) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_PSR : (MCAN Offset: 0x44) (R/ 32) Protocol Status Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t LEC:3; /**< bit: 0..2 Last Error Code (set to 111 on read) */
|
||
|
uint32_t ACT:2; /**< bit: 3..4 Activity */
|
||
|
uint32_t EP:1; /**< bit: 5 Error Passive */
|
||
|
uint32_t EW:1; /**< bit: 6 Warning Status */
|
||
|
uint32_t BO:1; /**< bit: 7 Bus_Off Status */
|
||
|
uint32_t DLEC:3; /**< bit: 8..10 Data Phase Last Error Code (set to 111 on read) */
|
||
|
uint32_t RESI:1; /**< bit: 11 ESI Flag of Last Received CAN FD Message (cleared on read) */
|
||
|
uint32_t RBRS:1; /**< bit: 12 BRS Flag of Last Received CAN FD Message (cleared on read) */
|
||
|
uint32_t RFDF:1; /**< bit: 13 Received a CAN FD Message (cleared on read) */
|
||
|
uint32_t PXE:1; /**< bit: 14 Protocol Exception Event (cleared on read) */
|
||
|
uint32_t :1; /**< bit: 15 Reserved */
|
||
|
uint32_t TDCV:7; /**< bit: 16..22 Transmitter Delay Compensation Value */
|
||
|
uint32_t :9; /**< bit: 23..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_PSR_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_PSR_OFFSET (0x44) /**< (MCAN_PSR) Protocol Status Register Offset */
|
||
|
|
||
|
#define MCAN_PSR_LEC_Pos 0 /**< (MCAN_PSR) Last Error Code (set to 111 on read) Position */
|
||
|
#define MCAN_PSR_LEC_Msk (_U_(0x7) << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) Last Error Code (set to 111 on read) Mask */
|
||
|
#define MCAN_PSR_LEC(value) (MCAN_PSR_LEC_Msk & ((value) << MCAN_PSR_LEC_Pos))
|
||
|
#define MCAN_PSR_LEC_NO_ERROR_Val _U_(0x0) /**< (MCAN_PSR) No error occurred since LEC has been reset by successful reception or transmission. */
|
||
|
#define MCAN_PSR_LEC_STUFF_ERROR_Val _U_(0x1) /**< (MCAN_PSR) More than 5 equal bits in a sequence have occurred in a part of a received message where this is not allowed. */
|
||
|
#define MCAN_PSR_LEC_FORM_ERROR_Val _U_(0x2) /**< (MCAN_PSR) A fixed format part of a received frame has the wrong format. */
|
||
|
#define MCAN_PSR_LEC_ACK_ERROR_Val _U_(0x3) /**< (MCAN_PSR) The message transmitted by the MCAN was not acknowledged by another node. */
|
||
|
#define MCAN_PSR_LEC_BIT1_ERROR_Val _U_(0x4) /**< (MCAN_PSR) During transmission of a message (with the exception of the arbitration field), the device tried to send a recessive level (bit of logical value '1'), but the monitored bus value was dominant. */
|
||
|
#define MCAN_PSR_LEC_BIT0_ERROR_Val _U_(0x5) /**< (MCAN_PSR) During transmission of a message (or acknowledge bit, or active error flag, or overload flag), the device tried to send a dominant level (data or identifier bit logical value '0'), but the monitored bus value was recessive. During Bus_Off recovery, this status is set each time a sequence of 11 recessive bits has been monitored. This enables the processor to monitor the proceeding of the Bus_Off recovery sequence (indicating the bus is not stuck at dominant or continuously disturbed). */
|
||
|
#define MCAN_PSR_LEC_CRC_ERROR_Val _U_(0x6) /**< (MCAN_PSR) The CRC check sum of a received message was incorrect. The CRC of an incoming message does not match the CRC calculated from the received data. */
|
||
|
#define MCAN_PSR_LEC_NO_CHANGE_Val _U_(0x7) /**< (MCAN_PSR) Any read access to the Protocol Status Register re-initializes the LEC to '7'. When the LEC shows value '7', no CAN bus event was detected since the last processor read access to the Protocol Status Register. */
|
||
|
#define MCAN_PSR_LEC_NO_ERROR (MCAN_PSR_LEC_NO_ERROR_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) No error occurred since LEC has been reset by successful reception or transmission. Position */
|
||
|
#define MCAN_PSR_LEC_STUFF_ERROR (MCAN_PSR_LEC_STUFF_ERROR_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) More than 5 equal bits in a sequence have occurred in a part of a received message where this is not allowed. Position */
|
||
|
#define MCAN_PSR_LEC_FORM_ERROR (MCAN_PSR_LEC_FORM_ERROR_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) A fixed format part of a received frame has the wrong format. Position */
|
||
|
#define MCAN_PSR_LEC_ACK_ERROR (MCAN_PSR_LEC_ACK_ERROR_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) The message transmitted by the MCAN was not acknowledged by another node. Position */
|
||
|
#define MCAN_PSR_LEC_BIT1_ERROR (MCAN_PSR_LEC_BIT1_ERROR_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) During transmission of a message (with the exception of the arbitration field), the device tried to send a recessive level (bit of logical value '1'), but the monitored bus value was dominant. Position */
|
||
|
#define MCAN_PSR_LEC_BIT0_ERROR (MCAN_PSR_LEC_BIT0_ERROR_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) During transmission of a message (or acknowledge bit, or active error flag, or overload flag), the device tried to send a dominant level (data or identifier bit logical value '0'), but the monitored bus value was recessive. During Bus_Off recovery, this status is set each time a sequence of 11 recessive bits has been monitored. This enables the processor to monitor the proceeding of the Bus_Off recovery sequence (indicating the bus is not stuck at dominant or continuously disturbed). Position */
|
||
|
#define MCAN_PSR_LEC_CRC_ERROR (MCAN_PSR_LEC_CRC_ERROR_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) The CRC check sum of a received message was incorrect. The CRC of an incoming message does not match the CRC calculated from the received data. Position */
|
||
|
#define MCAN_PSR_LEC_NO_CHANGE (MCAN_PSR_LEC_NO_CHANGE_Val << MCAN_PSR_LEC_Pos) /**< (MCAN_PSR) Any read access to the Protocol Status Register re-initializes the LEC to '7'. When the LEC shows value '7', no CAN bus event was detected since the last processor read access to the Protocol Status Register. Position */
|
||
|
#define MCAN_PSR_ACT_Pos 3 /**< (MCAN_PSR) Activity Position */
|
||
|
#define MCAN_PSR_ACT_Msk (_U_(0x3) << MCAN_PSR_ACT_Pos) /**< (MCAN_PSR) Activity Mask */
|
||
|
#define MCAN_PSR_ACT(value) (MCAN_PSR_ACT_Msk & ((value) << MCAN_PSR_ACT_Pos))
|
||
|
#define MCAN_PSR_ACT_SYNCHRONIZING_Val _U_(0x0) /**< (MCAN_PSR) Node is synchronizing on CAN communication */
|
||
|
#define MCAN_PSR_ACT_IDLE_Val _U_(0x1) /**< (MCAN_PSR) Node is neither receiver nor transmitter */
|
||
|
#define MCAN_PSR_ACT_RECEIVER_Val _U_(0x2) /**< (MCAN_PSR) Node is operating as receiver */
|
||
|
#define MCAN_PSR_ACT_TRANSMITTER_Val _U_(0x3) /**< (MCAN_PSR) Node is operating as transmitter */
|
||
|
#define MCAN_PSR_ACT_SYNCHRONIZING (MCAN_PSR_ACT_SYNCHRONIZING_Val << MCAN_PSR_ACT_Pos) /**< (MCAN_PSR) Node is synchronizing on CAN communication Position */
|
||
|
#define MCAN_PSR_ACT_IDLE (MCAN_PSR_ACT_IDLE_Val << MCAN_PSR_ACT_Pos) /**< (MCAN_PSR) Node is neither receiver nor transmitter Position */
|
||
|
#define MCAN_PSR_ACT_RECEIVER (MCAN_PSR_ACT_RECEIVER_Val << MCAN_PSR_ACT_Pos) /**< (MCAN_PSR) Node is operating as receiver Position */
|
||
|
#define MCAN_PSR_ACT_TRANSMITTER (MCAN_PSR_ACT_TRANSMITTER_Val << MCAN_PSR_ACT_Pos) /**< (MCAN_PSR) Node is operating as transmitter Position */
|
||
|
#define MCAN_PSR_EP_Pos 5 /**< (MCAN_PSR) Error Passive Position */
|
||
|
#define MCAN_PSR_EP_Msk (_U_(0x1) << MCAN_PSR_EP_Pos) /**< (MCAN_PSR) Error Passive Mask */
|
||
|
#define MCAN_PSR_EP MCAN_PSR_EP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_PSR_EP_Msk instead */
|
||
|
#define MCAN_PSR_EW_Pos 6 /**< (MCAN_PSR) Warning Status Position */
|
||
|
#define MCAN_PSR_EW_Msk (_U_(0x1) << MCAN_PSR_EW_Pos) /**< (MCAN_PSR) Warning Status Mask */
|
||
|
#define MCAN_PSR_EW MCAN_PSR_EW_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_PSR_EW_Msk instead */
|
||
|
#define MCAN_PSR_BO_Pos 7 /**< (MCAN_PSR) Bus_Off Status Position */
|
||
|
#define MCAN_PSR_BO_Msk (_U_(0x1) << MCAN_PSR_BO_Pos) /**< (MCAN_PSR) Bus_Off Status Mask */
|
||
|
#define MCAN_PSR_BO MCAN_PSR_BO_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_PSR_BO_Msk instead */
|
||
|
#define MCAN_PSR_DLEC_Pos 8 /**< (MCAN_PSR) Data Phase Last Error Code (set to 111 on read) Position */
|
||
|
#define MCAN_PSR_DLEC_Msk (_U_(0x7) << MCAN_PSR_DLEC_Pos) /**< (MCAN_PSR) Data Phase Last Error Code (set to 111 on read) Mask */
|
||
|
#define MCAN_PSR_DLEC(value) (MCAN_PSR_DLEC_Msk & ((value) << MCAN_PSR_DLEC_Pos))
|
||
|
#define MCAN_PSR_RESI_Pos 11 /**< (MCAN_PSR) ESI Flag of Last Received CAN FD Message (cleared on read) Position */
|
||
|
#define MCAN_PSR_RESI_Msk (_U_(0x1) << MCAN_PSR_RESI_Pos) /**< (MCAN_PSR) ESI Flag of Last Received CAN FD Message (cleared on read) Mask */
|
||
|
#define MCAN_PSR_RESI MCAN_PSR_RESI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_PSR_RESI_Msk instead */
|
||
|
#define MCAN_PSR_RBRS_Pos 12 /**< (MCAN_PSR) BRS Flag of Last Received CAN FD Message (cleared on read) Position */
|
||
|
#define MCAN_PSR_RBRS_Msk (_U_(0x1) << MCAN_PSR_RBRS_Pos) /**< (MCAN_PSR) BRS Flag of Last Received CAN FD Message (cleared on read) Mask */
|
||
|
#define MCAN_PSR_RBRS MCAN_PSR_RBRS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_PSR_RBRS_Msk instead */
|
||
|
#define MCAN_PSR_RFDF_Pos 13 /**< (MCAN_PSR) Received a CAN FD Message (cleared on read) Position */
|
||
|
#define MCAN_PSR_RFDF_Msk (_U_(0x1) << MCAN_PSR_RFDF_Pos) /**< (MCAN_PSR) Received a CAN FD Message (cleared on read) Mask */
|
||
|
#define MCAN_PSR_RFDF MCAN_PSR_RFDF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_PSR_RFDF_Msk instead */
|
||
|
#define MCAN_PSR_PXE_Pos 14 /**< (MCAN_PSR) Protocol Exception Event (cleared on read) Position */
|
||
|
#define MCAN_PSR_PXE_Msk (_U_(0x1) << MCAN_PSR_PXE_Pos) /**< (MCAN_PSR) Protocol Exception Event (cleared on read) Mask */
|
||
|
#define MCAN_PSR_PXE MCAN_PSR_PXE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_PSR_PXE_Msk instead */
|
||
|
#define MCAN_PSR_TDCV_Pos 16 /**< (MCAN_PSR) Transmitter Delay Compensation Value Position */
|
||
|
#define MCAN_PSR_TDCV_Msk (_U_(0x7F) << MCAN_PSR_TDCV_Pos) /**< (MCAN_PSR) Transmitter Delay Compensation Value Mask */
|
||
|
#define MCAN_PSR_TDCV(value) (MCAN_PSR_TDCV_Msk & ((value) << MCAN_PSR_TDCV_Pos))
|
||
|
#define MCAN_PSR_MASK _U_(0x7F7FFF) /**< \deprecated (MCAN_PSR) Register MASK (Use MCAN_PSR_Msk instead) */
|
||
|
#define MCAN_PSR_Msk _U_(0x7F7FFF) /**< (MCAN_PSR) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TDCR : (MCAN Offset: 0x48) (R/W 32) Transmit Delay Compensation Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TDCF:7; /**< bit: 0..6 Transmitter Delay Compensation Filter */
|
||
|
uint32_t :1; /**< bit: 7 Reserved */
|
||
|
uint32_t TDCO:7; /**< bit: 8..14 Transmitter Delay Compensation Offset */
|
||
|
uint32_t :17; /**< bit: 15..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TDCR_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TDCR_OFFSET (0x48) /**< (MCAN_TDCR) Transmit Delay Compensation Register Offset */
|
||
|
|
||
|
#define MCAN_TDCR_TDCF_Pos 0 /**< (MCAN_TDCR) Transmitter Delay Compensation Filter Position */
|
||
|
#define MCAN_TDCR_TDCF_Msk (_U_(0x7F) << MCAN_TDCR_TDCF_Pos) /**< (MCAN_TDCR) Transmitter Delay Compensation Filter Mask */
|
||
|
#define MCAN_TDCR_TDCF(value) (MCAN_TDCR_TDCF_Msk & ((value) << MCAN_TDCR_TDCF_Pos))
|
||
|
#define MCAN_TDCR_TDCO_Pos 8 /**< (MCAN_TDCR) Transmitter Delay Compensation Offset Position */
|
||
|
#define MCAN_TDCR_TDCO_Msk (_U_(0x7F) << MCAN_TDCR_TDCO_Pos) /**< (MCAN_TDCR) Transmitter Delay Compensation Offset Mask */
|
||
|
#define MCAN_TDCR_TDCO(value) (MCAN_TDCR_TDCO_Msk & ((value) << MCAN_TDCR_TDCO_Pos))
|
||
|
#define MCAN_TDCR_MASK _U_(0x7F7F) /**< \deprecated (MCAN_TDCR) Register MASK (Use MCAN_TDCR_Msk instead) */
|
||
|
#define MCAN_TDCR_Msk _U_(0x7F7F) /**< (MCAN_TDCR) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_IR : (MCAN Offset: 0x50) (R/W 32) Interrupt Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t RF0N:1; /**< bit: 0 Receive FIFO 0 New Message */
|
||
|
uint32_t RF0W:1; /**< bit: 1 Receive FIFO 0 Watermark Reached */
|
||
|
uint32_t RF0F:1; /**< bit: 2 Receive FIFO 0 Full */
|
||
|
uint32_t RF0L:1; /**< bit: 3 Receive FIFO 0 Message Lost */
|
||
|
uint32_t RF1N:1; /**< bit: 4 Receive FIFO 1 New Message */
|
||
|
uint32_t RF1W:1; /**< bit: 5 Receive FIFO 1 Watermark Reached */
|
||
|
uint32_t RF1F:1; /**< bit: 6 Receive FIFO 1 Full */
|
||
|
uint32_t RF1L:1; /**< bit: 7 Receive FIFO 1 Message Lost */
|
||
|
uint32_t HPM:1; /**< bit: 8 High Priority Message */
|
||
|
uint32_t TC:1; /**< bit: 9 Transmission Completed */
|
||
|
uint32_t TCF:1; /**< bit: 10 Transmission Cancellation Finished */
|
||
|
uint32_t TFE:1; /**< bit: 11 Tx FIFO Empty */
|
||
|
uint32_t TEFN:1; /**< bit: 12 Tx Event FIFO New Entry */
|
||
|
uint32_t TEFW:1; /**< bit: 13 Tx Event FIFO Watermark Reached */
|
||
|
uint32_t TEFF:1; /**< bit: 14 Tx Event FIFO Full */
|
||
|
uint32_t TEFL:1; /**< bit: 15 Tx Event FIFO Element Lost */
|
||
|
uint32_t TSW:1; /**< bit: 16 Timestamp Wraparound */
|
||
|
uint32_t MRAF:1; /**< bit: 17 Message RAM Access Failure */
|
||
|
uint32_t TOO:1; /**< bit: 18 Timeout Occurred */
|
||
|
uint32_t DRX:1; /**< bit: 19 Message stored to Dedicated Receive Buffer */
|
||
|
uint32_t :2; /**< bit: 20..21 Reserved */
|
||
|
uint32_t ELO:1; /**< bit: 22 Error Logging Overflow */
|
||
|
uint32_t EP:1; /**< bit: 23 Error Passive */
|
||
|
uint32_t EW:1; /**< bit: 24 Warning Status */
|
||
|
uint32_t BO:1; /**< bit: 25 Bus_Off Status */
|
||
|
uint32_t WDI:1; /**< bit: 26 Watchdog Interrupt */
|
||
|
uint32_t PEA:1; /**< bit: 27 Protocol Error in Arbitration Phase */
|
||
|
uint32_t PED:1; /**< bit: 28 Protocol Error in Data Phase */
|
||
|
uint32_t ARA:1; /**< bit: 29 Access to Reserved Address */
|
||
|
uint32_t :2; /**< bit: 30..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_IR_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_IR_OFFSET (0x50) /**< (MCAN_IR) Interrupt Register Offset */
|
||
|
|
||
|
#define MCAN_IR_RF0N_Pos 0 /**< (MCAN_IR) Receive FIFO 0 New Message Position */
|
||
|
#define MCAN_IR_RF0N_Msk (_U_(0x1) << MCAN_IR_RF0N_Pos) /**< (MCAN_IR) Receive FIFO 0 New Message Mask */
|
||
|
#define MCAN_IR_RF0N MCAN_IR_RF0N_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF0N_Msk instead */
|
||
|
#define MCAN_IR_RF0W_Pos 1 /**< (MCAN_IR) Receive FIFO 0 Watermark Reached Position */
|
||
|
#define MCAN_IR_RF0W_Msk (_U_(0x1) << MCAN_IR_RF0W_Pos) /**< (MCAN_IR) Receive FIFO 0 Watermark Reached Mask */
|
||
|
#define MCAN_IR_RF0W MCAN_IR_RF0W_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF0W_Msk instead */
|
||
|
#define MCAN_IR_RF0F_Pos 2 /**< (MCAN_IR) Receive FIFO 0 Full Position */
|
||
|
#define MCAN_IR_RF0F_Msk (_U_(0x1) << MCAN_IR_RF0F_Pos) /**< (MCAN_IR) Receive FIFO 0 Full Mask */
|
||
|
#define MCAN_IR_RF0F MCAN_IR_RF0F_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF0F_Msk instead */
|
||
|
#define MCAN_IR_RF0L_Pos 3 /**< (MCAN_IR) Receive FIFO 0 Message Lost Position */
|
||
|
#define MCAN_IR_RF0L_Msk (_U_(0x1) << MCAN_IR_RF0L_Pos) /**< (MCAN_IR) Receive FIFO 0 Message Lost Mask */
|
||
|
#define MCAN_IR_RF0L MCAN_IR_RF0L_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF0L_Msk instead */
|
||
|
#define MCAN_IR_RF1N_Pos 4 /**< (MCAN_IR) Receive FIFO 1 New Message Position */
|
||
|
#define MCAN_IR_RF1N_Msk (_U_(0x1) << MCAN_IR_RF1N_Pos) /**< (MCAN_IR) Receive FIFO 1 New Message Mask */
|
||
|
#define MCAN_IR_RF1N MCAN_IR_RF1N_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF1N_Msk instead */
|
||
|
#define MCAN_IR_RF1W_Pos 5 /**< (MCAN_IR) Receive FIFO 1 Watermark Reached Position */
|
||
|
#define MCAN_IR_RF1W_Msk (_U_(0x1) << MCAN_IR_RF1W_Pos) /**< (MCAN_IR) Receive FIFO 1 Watermark Reached Mask */
|
||
|
#define MCAN_IR_RF1W MCAN_IR_RF1W_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF1W_Msk instead */
|
||
|
#define MCAN_IR_RF1F_Pos 6 /**< (MCAN_IR) Receive FIFO 1 Full Position */
|
||
|
#define MCAN_IR_RF1F_Msk (_U_(0x1) << MCAN_IR_RF1F_Pos) /**< (MCAN_IR) Receive FIFO 1 Full Mask */
|
||
|
#define MCAN_IR_RF1F MCAN_IR_RF1F_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF1F_Msk instead */
|
||
|
#define MCAN_IR_RF1L_Pos 7 /**< (MCAN_IR) Receive FIFO 1 Message Lost Position */
|
||
|
#define MCAN_IR_RF1L_Msk (_U_(0x1) << MCAN_IR_RF1L_Pos) /**< (MCAN_IR) Receive FIFO 1 Message Lost Mask */
|
||
|
#define MCAN_IR_RF1L MCAN_IR_RF1L_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_RF1L_Msk instead */
|
||
|
#define MCAN_IR_HPM_Pos 8 /**< (MCAN_IR) High Priority Message Position */
|
||
|
#define MCAN_IR_HPM_Msk (_U_(0x1) << MCAN_IR_HPM_Pos) /**< (MCAN_IR) High Priority Message Mask */
|
||
|
#define MCAN_IR_HPM MCAN_IR_HPM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_HPM_Msk instead */
|
||
|
#define MCAN_IR_TC_Pos 9 /**< (MCAN_IR) Transmission Completed Position */
|
||
|
#define MCAN_IR_TC_Msk (_U_(0x1) << MCAN_IR_TC_Pos) /**< (MCAN_IR) Transmission Completed Mask */
|
||
|
#define MCAN_IR_TC MCAN_IR_TC_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TC_Msk instead */
|
||
|
#define MCAN_IR_TCF_Pos 10 /**< (MCAN_IR) Transmission Cancellation Finished Position */
|
||
|
#define MCAN_IR_TCF_Msk (_U_(0x1) << MCAN_IR_TCF_Pos) /**< (MCAN_IR) Transmission Cancellation Finished Mask */
|
||
|
#define MCAN_IR_TCF MCAN_IR_TCF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TCF_Msk instead */
|
||
|
#define MCAN_IR_TFE_Pos 11 /**< (MCAN_IR) Tx FIFO Empty Position */
|
||
|
#define MCAN_IR_TFE_Msk (_U_(0x1) << MCAN_IR_TFE_Pos) /**< (MCAN_IR) Tx FIFO Empty Mask */
|
||
|
#define MCAN_IR_TFE MCAN_IR_TFE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TFE_Msk instead */
|
||
|
#define MCAN_IR_TEFN_Pos 12 /**< (MCAN_IR) Tx Event FIFO New Entry Position */
|
||
|
#define MCAN_IR_TEFN_Msk (_U_(0x1) << MCAN_IR_TEFN_Pos) /**< (MCAN_IR) Tx Event FIFO New Entry Mask */
|
||
|
#define MCAN_IR_TEFN MCAN_IR_TEFN_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TEFN_Msk instead */
|
||
|
#define MCAN_IR_TEFW_Pos 13 /**< (MCAN_IR) Tx Event FIFO Watermark Reached Position */
|
||
|
#define MCAN_IR_TEFW_Msk (_U_(0x1) << MCAN_IR_TEFW_Pos) /**< (MCAN_IR) Tx Event FIFO Watermark Reached Mask */
|
||
|
#define MCAN_IR_TEFW MCAN_IR_TEFW_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TEFW_Msk instead */
|
||
|
#define MCAN_IR_TEFF_Pos 14 /**< (MCAN_IR) Tx Event FIFO Full Position */
|
||
|
#define MCAN_IR_TEFF_Msk (_U_(0x1) << MCAN_IR_TEFF_Pos) /**< (MCAN_IR) Tx Event FIFO Full Mask */
|
||
|
#define MCAN_IR_TEFF MCAN_IR_TEFF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TEFF_Msk instead */
|
||
|
#define MCAN_IR_TEFL_Pos 15 /**< (MCAN_IR) Tx Event FIFO Element Lost Position */
|
||
|
#define MCAN_IR_TEFL_Msk (_U_(0x1) << MCAN_IR_TEFL_Pos) /**< (MCAN_IR) Tx Event FIFO Element Lost Mask */
|
||
|
#define MCAN_IR_TEFL MCAN_IR_TEFL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TEFL_Msk instead */
|
||
|
#define MCAN_IR_TSW_Pos 16 /**< (MCAN_IR) Timestamp Wraparound Position */
|
||
|
#define MCAN_IR_TSW_Msk (_U_(0x1) << MCAN_IR_TSW_Pos) /**< (MCAN_IR) Timestamp Wraparound Mask */
|
||
|
#define MCAN_IR_TSW MCAN_IR_TSW_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TSW_Msk instead */
|
||
|
#define MCAN_IR_MRAF_Pos 17 /**< (MCAN_IR) Message RAM Access Failure Position */
|
||
|
#define MCAN_IR_MRAF_Msk (_U_(0x1) << MCAN_IR_MRAF_Pos) /**< (MCAN_IR) Message RAM Access Failure Mask */
|
||
|
#define MCAN_IR_MRAF MCAN_IR_MRAF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_MRAF_Msk instead */
|
||
|
#define MCAN_IR_TOO_Pos 18 /**< (MCAN_IR) Timeout Occurred Position */
|
||
|
#define MCAN_IR_TOO_Msk (_U_(0x1) << MCAN_IR_TOO_Pos) /**< (MCAN_IR) Timeout Occurred Mask */
|
||
|
#define MCAN_IR_TOO MCAN_IR_TOO_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_TOO_Msk instead */
|
||
|
#define MCAN_IR_DRX_Pos 19 /**< (MCAN_IR) Message stored to Dedicated Receive Buffer Position */
|
||
|
#define MCAN_IR_DRX_Msk (_U_(0x1) << MCAN_IR_DRX_Pos) /**< (MCAN_IR) Message stored to Dedicated Receive Buffer Mask */
|
||
|
#define MCAN_IR_DRX MCAN_IR_DRX_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_DRX_Msk instead */
|
||
|
#define MCAN_IR_ELO_Pos 22 /**< (MCAN_IR) Error Logging Overflow Position */
|
||
|
#define MCAN_IR_ELO_Msk (_U_(0x1) << MCAN_IR_ELO_Pos) /**< (MCAN_IR) Error Logging Overflow Mask */
|
||
|
#define MCAN_IR_ELO MCAN_IR_ELO_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_ELO_Msk instead */
|
||
|
#define MCAN_IR_EP_Pos 23 /**< (MCAN_IR) Error Passive Position */
|
||
|
#define MCAN_IR_EP_Msk (_U_(0x1) << MCAN_IR_EP_Pos) /**< (MCAN_IR) Error Passive Mask */
|
||
|
#define MCAN_IR_EP MCAN_IR_EP_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_EP_Msk instead */
|
||
|
#define MCAN_IR_EW_Pos 24 /**< (MCAN_IR) Warning Status Position */
|
||
|
#define MCAN_IR_EW_Msk (_U_(0x1) << MCAN_IR_EW_Pos) /**< (MCAN_IR) Warning Status Mask */
|
||
|
#define MCAN_IR_EW MCAN_IR_EW_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_EW_Msk instead */
|
||
|
#define MCAN_IR_BO_Pos 25 /**< (MCAN_IR) Bus_Off Status Position */
|
||
|
#define MCAN_IR_BO_Msk (_U_(0x1) << MCAN_IR_BO_Pos) /**< (MCAN_IR) Bus_Off Status Mask */
|
||
|
#define MCAN_IR_BO MCAN_IR_BO_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_BO_Msk instead */
|
||
|
#define MCAN_IR_WDI_Pos 26 /**< (MCAN_IR) Watchdog Interrupt Position */
|
||
|
#define MCAN_IR_WDI_Msk (_U_(0x1) << MCAN_IR_WDI_Pos) /**< (MCAN_IR) Watchdog Interrupt Mask */
|
||
|
#define MCAN_IR_WDI MCAN_IR_WDI_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_WDI_Msk instead */
|
||
|
#define MCAN_IR_PEA_Pos 27 /**< (MCAN_IR) Protocol Error in Arbitration Phase Position */
|
||
|
#define MCAN_IR_PEA_Msk (_U_(0x1) << MCAN_IR_PEA_Pos) /**< (MCAN_IR) Protocol Error in Arbitration Phase Mask */
|
||
|
#define MCAN_IR_PEA MCAN_IR_PEA_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_PEA_Msk instead */
|
||
|
#define MCAN_IR_PED_Pos 28 /**< (MCAN_IR) Protocol Error in Data Phase Position */
|
||
|
#define MCAN_IR_PED_Msk (_U_(0x1) << MCAN_IR_PED_Pos) /**< (MCAN_IR) Protocol Error in Data Phase Mask */
|
||
|
#define MCAN_IR_PED MCAN_IR_PED_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_PED_Msk instead */
|
||
|
#define MCAN_IR_ARA_Pos 29 /**< (MCAN_IR) Access to Reserved Address Position */
|
||
|
#define MCAN_IR_ARA_Msk (_U_(0x1) << MCAN_IR_ARA_Pos) /**< (MCAN_IR) Access to Reserved Address Mask */
|
||
|
#define MCAN_IR_ARA MCAN_IR_ARA_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IR_ARA_Msk instead */
|
||
|
#define MCAN_IR_MASK _U_(0x3FCFFFFF) /**< \deprecated (MCAN_IR) Register MASK (Use MCAN_IR_Msk instead) */
|
||
|
#define MCAN_IR_Msk _U_(0x3FCFFFFF) /**< (MCAN_IR) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_IE : (MCAN Offset: 0x54) (R/W 32) Interrupt Enable Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t RF0NE:1; /**< bit: 0 Receive FIFO 0 New Message Interrupt Enable */
|
||
|
uint32_t RF0WE:1; /**< bit: 1 Receive FIFO 0 Watermark Reached Interrupt Enable */
|
||
|
uint32_t RF0FE:1; /**< bit: 2 Receive FIFO 0 Full Interrupt Enable */
|
||
|
uint32_t RF0LE:1; /**< bit: 3 Receive FIFO 0 Message Lost Interrupt Enable */
|
||
|
uint32_t RF1NE:1; /**< bit: 4 Receive FIFO 1 New Message Interrupt Enable */
|
||
|
uint32_t RF1WE:1; /**< bit: 5 Receive FIFO 1 Watermark Reached Interrupt Enable */
|
||
|
uint32_t RF1FE:1; /**< bit: 6 Receive FIFO 1 Full Interrupt Enable */
|
||
|
uint32_t RF1LE:1; /**< bit: 7 Receive FIFO 1 Message Lost Interrupt Enable */
|
||
|
uint32_t HPME:1; /**< bit: 8 High Priority Message Interrupt Enable */
|
||
|
uint32_t TCE:1; /**< bit: 9 Transmission Completed Interrupt Enable */
|
||
|
uint32_t TCFE:1; /**< bit: 10 Transmission Cancellation Finished Interrupt Enable */
|
||
|
uint32_t TFEE:1; /**< bit: 11 Tx FIFO Empty Interrupt Enable */
|
||
|
uint32_t TEFNE:1; /**< bit: 12 Tx Event FIFO New Entry Interrupt Enable */
|
||
|
uint32_t TEFWE:1; /**< bit: 13 Tx Event FIFO Watermark Reached Interrupt Enable */
|
||
|
uint32_t TEFFE:1; /**< bit: 14 Tx Event FIFO Full Interrupt Enable */
|
||
|
uint32_t TEFLE:1; /**< bit: 15 Tx Event FIFO Event Lost Interrupt Enable */
|
||
|
uint32_t TSWE:1; /**< bit: 16 Timestamp Wraparound Interrupt Enable */
|
||
|
uint32_t MRAFE:1; /**< bit: 17 Message RAM Access Failure Interrupt Enable */
|
||
|
uint32_t TOOE:1; /**< bit: 18 Timeout Occurred Interrupt Enable */
|
||
|
uint32_t DRXE:1; /**< bit: 19 Message stored to Dedicated Receive Buffer Interrupt Enable */
|
||
|
uint32_t :2; /**< bit: 20..21 Reserved */
|
||
|
uint32_t ELOE:1; /**< bit: 22 Error Logging Overflow Interrupt Enable */
|
||
|
uint32_t EPE:1; /**< bit: 23 Error Passive Interrupt Enable */
|
||
|
uint32_t EWE:1; /**< bit: 24 Warning Status Interrupt Enable */
|
||
|
uint32_t BOE:1; /**< bit: 25 Bus_Off Status Interrupt Enable */
|
||
|
uint32_t WDIE:1; /**< bit: 26 Watchdog Interrupt Enable */
|
||
|
uint32_t PEAE:1; /**< bit: 27 Protocol Error in Arbitration Phase Enable */
|
||
|
uint32_t PEDE:1; /**< bit: 28 Protocol Error in Data Phase Enable */
|
||
|
uint32_t ARAE:1; /**< bit: 29 Access to Reserved Address Enable */
|
||
|
uint32_t :2; /**< bit: 30..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_IE_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_IE_OFFSET (0x54) /**< (MCAN_IE) Interrupt Enable Register Offset */
|
||
|
|
||
|
#define MCAN_IE_RF0NE_Pos 0 /**< (MCAN_IE) Receive FIFO 0 New Message Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF0NE_Msk (_U_(0x1) << MCAN_IE_RF0NE_Pos) /**< (MCAN_IE) Receive FIFO 0 New Message Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF0NE MCAN_IE_RF0NE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF0NE_Msk instead */
|
||
|
#define MCAN_IE_RF0WE_Pos 1 /**< (MCAN_IE) Receive FIFO 0 Watermark Reached Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF0WE_Msk (_U_(0x1) << MCAN_IE_RF0WE_Pos) /**< (MCAN_IE) Receive FIFO 0 Watermark Reached Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF0WE MCAN_IE_RF0WE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF0WE_Msk instead */
|
||
|
#define MCAN_IE_RF0FE_Pos 2 /**< (MCAN_IE) Receive FIFO 0 Full Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF0FE_Msk (_U_(0x1) << MCAN_IE_RF0FE_Pos) /**< (MCAN_IE) Receive FIFO 0 Full Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF0FE MCAN_IE_RF0FE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF0FE_Msk instead */
|
||
|
#define MCAN_IE_RF0LE_Pos 3 /**< (MCAN_IE) Receive FIFO 0 Message Lost Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF0LE_Msk (_U_(0x1) << MCAN_IE_RF0LE_Pos) /**< (MCAN_IE) Receive FIFO 0 Message Lost Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF0LE MCAN_IE_RF0LE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF0LE_Msk instead */
|
||
|
#define MCAN_IE_RF1NE_Pos 4 /**< (MCAN_IE) Receive FIFO 1 New Message Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF1NE_Msk (_U_(0x1) << MCAN_IE_RF1NE_Pos) /**< (MCAN_IE) Receive FIFO 1 New Message Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF1NE MCAN_IE_RF1NE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF1NE_Msk instead */
|
||
|
#define MCAN_IE_RF1WE_Pos 5 /**< (MCAN_IE) Receive FIFO 1 Watermark Reached Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF1WE_Msk (_U_(0x1) << MCAN_IE_RF1WE_Pos) /**< (MCAN_IE) Receive FIFO 1 Watermark Reached Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF1WE MCAN_IE_RF1WE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF1WE_Msk instead */
|
||
|
#define MCAN_IE_RF1FE_Pos 6 /**< (MCAN_IE) Receive FIFO 1 Full Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF1FE_Msk (_U_(0x1) << MCAN_IE_RF1FE_Pos) /**< (MCAN_IE) Receive FIFO 1 Full Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF1FE MCAN_IE_RF1FE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF1FE_Msk instead */
|
||
|
#define MCAN_IE_RF1LE_Pos 7 /**< (MCAN_IE) Receive FIFO 1 Message Lost Interrupt Enable Position */
|
||
|
#define MCAN_IE_RF1LE_Msk (_U_(0x1) << MCAN_IE_RF1LE_Pos) /**< (MCAN_IE) Receive FIFO 1 Message Lost Interrupt Enable Mask */
|
||
|
#define MCAN_IE_RF1LE MCAN_IE_RF1LE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_RF1LE_Msk instead */
|
||
|
#define MCAN_IE_HPME_Pos 8 /**< (MCAN_IE) High Priority Message Interrupt Enable Position */
|
||
|
#define MCAN_IE_HPME_Msk (_U_(0x1) << MCAN_IE_HPME_Pos) /**< (MCAN_IE) High Priority Message Interrupt Enable Mask */
|
||
|
#define MCAN_IE_HPME MCAN_IE_HPME_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_HPME_Msk instead */
|
||
|
#define MCAN_IE_TCE_Pos 9 /**< (MCAN_IE) Transmission Completed Interrupt Enable Position */
|
||
|
#define MCAN_IE_TCE_Msk (_U_(0x1) << MCAN_IE_TCE_Pos) /**< (MCAN_IE) Transmission Completed Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TCE MCAN_IE_TCE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TCE_Msk instead */
|
||
|
#define MCAN_IE_TCFE_Pos 10 /**< (MCAN_IE) Transmission Cancellation Finished Interrupt Enable Position */
|
||
|
#define MCAN_IE_TCFE_Msk (_U_(0x1) << MCAN_IE_TCFE_Pos) /**< (MCAN_IE) Transmission Cancellation Finished Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TCFE MCAN_IE_TCFE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TCFE_Msk instead */
|
||
|
#define MCAN_IE_TFEE_Pos 11 /**< (MCAN_IE) Tx FIFO Empty Interrupt Enable Position */
|
||
|
#define MCAN_IE_TFEE_Msk (_U_(0x1) << MCAN_IE_TFEE_Pos) /**< (MCAN_IE) Tx FIFO Empty Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TFEE MCAN_IE_TFEE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TFEE_Msk instead */
|
||
|
#define MCAN_IE_TEFNE_Pos 12 /**< (MCAN_IE) Tx Event FIFO New Entry Interrupt Enable Position */
|
||
|
#define MCAN_IE_TEFNE_Msk (_U_(0x1) << MCAN_IE_TEFNE_Pos) /**< (MCAN_IE) Tx Event FIFO New Entry Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TEFNE MCAN_IE_TEFNE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TEFNE_Msk instead */
|
||
|
#define MCAN_IE_TEFWE_Pos 13 /**< (MCAN_IE) Tx Event FIFO Watermark Reached Interrupt Enable Position */
|
||
|
#define MCAN_IE_TEFWE_Msk (_U_(0x1) << MCAN_IE_TEFWE_Pos) /**< (MCAN_IE) Tx Event FIFO Watermark Reached Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TEFWE MCAN_IE_TEFWE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TEFWE_Msk instead */
|
||
|
#define MCAN_IE_TEFFE_Pos 14 /**< (MCAN_IE) Tx Event FIFO Full Interrupt Enable Position */
|
||
|
#define MCAN_IE_TEFFE_Msk (_U_(0x1) << MCAN_IE_TEFFE_Pos) /**< (MCAN_IE) Tx Event FIFO Full Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TEFFE MCAN_IE_TEFFE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TEFFE_Msk instead */
|
||
|
#define MCAN_IE_TEFLE_Pos 15 /**< (MCAN_IE) Tx Event FIFO Event Lost Interrupt Enable Position */
|
||
|
#define MCAN_IE_TEFLE_Msk (_U_(0x1) << MCAN_IE_TEFLE_Pos) /**< (MCAN_IE) Tx Event FIFO Event Lost Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TEFLE MCAN_IE_TEFLE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TEFLE_Msk instead */
|
||
|
#define MCAN_IE_TSWE_Pos 16 /**< (MCAN_IE) Timestamp Wraparound Interrupt Enable Position */
|
||
|
#define MCAN_IE_TSWE_Msk (_U_(0x1) << MCAN_IE_TSWE_Pos) /**< (MCAN_IE) Timestamp Wraparound Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TSWE MCAN_IE_TSWE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TSWE_Msk instead */
|
||
|
#define MCAN_IE_MRAFE_Pos 17 /**< (MCAN_IE) Message RAM Access Failure Interrupt Enable Position */
|
||
|
#define MCAN_IE_MRAFE_Msk (_U_(0x1) << MCAN_IE_MRAFE_Pos) /**< (MCAN_IE) Message RAM Access Failure Interrupt Enable Mask */
|
||
|
#define MCAN_IE_MRAFE MCAN_IE_MRAFE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_MRAFE_Msk instead */
|
||
|
#define MCAN_IE_TOOE_Pos 18 /**< (MCAN_IE) Timeout Occurred Interrupt Enable Position */
|
||
|
#define MCAN_IE_TOOE_Msk (_U_(0x1) << MCAN_IE_TOOE_Pos) /**< (MCAN_IE) Timeout Occurred Interrupt Enable Mask */
|
||
|
#define MCAN_IE_TOOE MCAN_IE_TOOE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_TOOE_Msk instead */
|
||
|
#define MCAN_IE_DRXE_Pos 19 /**< (MCAN_IE) Message stored to Dedicated Receive Buffer Interrupt Enable Position */
|
||
|
#define MCAN_IE_DRXE_Msk (_U_(0x1) << MCAN_IE_DRXE_Pos) /**< (MCAN_IE) Message stored to Dedicated Receive Buffer Interrupt Enable Mask */
|
||
|
#define MCAN_IE_DRXE MCAN_IE_DRXE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_DRXE_Msk instead */
|
||
|
#define MCAN_IE_ELOE_Pos 22 /**< (MCAN_IE) Error Logging Overflow Interrupt Enable Position */
|
||
|
#define MCAN_IE_ELOE_Msk (_U_(0x1) << MCAN_IE_ELOE_Pos) /**< (MCAN_IE) Error Logging Overflow Interrupt Enable Mask */
|
||
|
#define MCAN_IE_ELOE MCAN_IE_ELOE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_ELOE_Msk instead */
|
||
|
#define MCAN_IE_EPE_Pos 23 /**< (MCAN_IE) Error Passive Interrupt Enable Position */
|
||
|
#define MCAN_IE_EPE_Msk (_U_(0x1) << MCAN_IE_EPE_Pos) /**< (MCAN_IE) Error Passive Interrupt Enable Mask */
|
||
|
#define MCAN_IE_EPE MCAN_IE_EPE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_EPE_Msk instead */
|
||
|
#define MCAN_IE_EWE_Pos 24 /**< (MCAN_IE) Warning Status Interrupt Enable Position */
|
||
|
#define MCAN_IE_EWE_Msk (_U_(0x1) << MCAN_IE_EWE_Pos) /**< (MCAN_IE) Warning Status Interrupt Enable Mask */
|
||
|
#define MCAN_IE_EWE MCAN_IE_EWE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_EWE_Msk instead */
|
||
|
#define MCAN_IE_BOE_Pos 25 /**< (MCAN_IE) Bus_Off Status Interrupt Enable Position */
|
||
|
#define MCAN_IE_BOE_Msk (_U_(0x1) << MCAN_IE_BOE_Pos) /**< (MCAN_IE) Bus_Off Status Interrupt Enable Mask */
|
||
|
#define MCAN_IE_BOE MCAN_IE_BOE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_BOE_Msk instead */
|
||
|
#define MCAN_IE_WDIE_Pos 26 /**< (MCAN_IE) Watchdog Interrupt Enable Position */
|
||
|
#define MCAN_IE_WDIE_Msk (_U_(0x1) << MCAN_IE_WDIE_Pos) /**< (MCAN_IE) Watchdog Interrupt Enable Mask */
|
||
|
#define MCAN_IE_WDIE MCAN_IE_WDIE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_WDIE_Msk instead */
|
||
|
#define MCAN_IE_PEAE_Pos 27 /**< (MCAN_IE) Protocol Error in Arbitration Phase Enable Position */
|
||
|
#define MCAN_IE_PEAE_Msk (_U_(0x1) << MCAN_IE_PEAE_Pos) /**< (MCAN_IE) Protocol Error in Arbitration Phase Enable Mask */
|
||
|
#define MCAN_IE_PEAE MCAN_IE_PEAE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_PEAE_Msk instead */
|
||
|
#define MCAN_IE_PEDE_Pos 28 /**< (MCAN_IE) Protocol Error in Data Phase Enable Position */
|
||
|
#define MCAN_IE_PEDE_Msk (_U_(0x1) << MCAN_IE_PEDE_Pos) /**< (MCAN_IE) Protocol Error in Data Phase Enable Mask */
|
||
|
#define MCAN_IE_PEDE MCAN_IE_PEDE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_PEDE_Msk instead */
|
||
|
#define MCAN_IE_ARAE_Pos 29 /**< (MCAN_IE) Access to Reserved Address Enable Position */
|
||
|
#define MCAN_IE_ARAE_Msk (_U_(0x1) << MCAN_IE_ARAE_Pos) /**< (MCAN_IE) Access to Reserved Address Enable Mask */
|
||
|
#define MCAN_IE_ARAE MCAN_IE_ARAE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_IE_ARAE_Msk instead */
|
||
|
#define MCAN_IE_MASK _U_(0x3FCFFFFF) /**< \deprecated (MCAN_IE) Register MASK (Use MCAN_IE_Msk instead) */
|
||
|
#define MCAN_IE_Msk _U_(0x3FCFFFFF) /**< (MCAN_IE) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_ILS : (MCAN Offset: 0x58) (R/W 32) Interrupt Line Select Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t RF0NL:1; /**< bit: 0 Receive FIFO 0 New Message Interrupt Line */
|
||
|
uint32_t RF0WL:1; /**< bit: 1 Receive FIFO 0 Watermark Reached Interrupt Line */
|
||
|
uint32_t RF0FL:1; /**< bit: 2 Receive FIFO 0 Full Interrupt Line */
|
||
|
uint32_t RF0LL:1; /**< bit: 3 Receive FIFO 0 Message Lost Interrupt Line */
|
||
|
uint32_t RF1NL:1; /**< bit: 4 Receive FIFO 1 New Message Interrupt Line */
|
||
|
uint32_t RF1WL:1; /**< bit: 5 Receive FIFO 1 Watermark Reached Interrupt Line */
|
||
|
uint32_t RF1FL:1; /**< bit: 6 Receive FIFO 1 Full Interrupt Line */
|
||
|
uint32_t RF1LL:1; /**< bit: 7 Receive FIFO 1 Message Lost Interrupt Line */
|
||
|
uint32_t HPML:1; /**< bit: 8 High Priority Message Interrupt Line */
|
||
|
uint32_t TCL:1; /**< bit: 9 Transmission Completed Interrupt Line */
|
||
|
uint32_t TCFL:1; /**< bit: 10 Transmission Cancellation Finished Interrupt Line */
|
||
|
uint32_t TFEL:1; /**< bit: 11 Tx FIFO Empty Interrupt Line */
|
||
|
uint32_t TEFNL:1; /**< bit: 12 Tx Event FIFO New Entry Interrupt Line */
|
||
|
uint32_t TEFWL:1; /**< bit: 13 Tx Event FIFO Watermark Reached Interrupt Line */
|
||
|
uint32_t TEFFL:1; /**< bit: 14 Tx Event FIFO Full Interrupt Line */
|
||
|
uint32_t TEFLL:1; /**< bit: 15 Tx Event FIFO Event Lost Interrupt Line */
|
||
|
uint32_t TSWL:1; /**< bit: 16 Timestamp Wraparound Interrupt Line */
|
||
|
uint32_t MRAFL:1; /**< bit: 17 Message RAM Access Failure Interrupt Line */
|
||
|
uint32_t TOOL:1; /**< bit: 18 Timeout Occurred Interrupt Line */
|
||
|
uint32_t DRXL:1; /**< bit: 19 Message stored to Dedicated Receive Buffer Interrupt Line */
|
||
|
uint32_t :2; /**< bit: 20..21 Reserved */
|
||
|
uint32_t ELOL:1; /**< bit: 22 Error Logging Overflow Interrupt Line */
|
||
|
uint32_t EPL:1; /**< bit: 23 Error Passive Interrupt Line */
|
||
|
uint32_t EWL:1; /**< bit: 24 Warning Status Interrupt Line */
|
||
|
uint32_t BOL:1; /**< bit: 25 Bus_Off Status Interrupt Line */
|
||
|
uint32_t WDIL:1; /**< bit: 26 Watchdog Interrupt Line */
|
||
|
uint32_t PEAL:1; /**< bit: 27 Protocol Error in Arbitration Phase Line */
|
||
|
uint32_t PEDL:1; /**< bit: 28 Protocol Error in Data Phase Line */
|
||
|
uint32_t ARAL:1; /**< bit: 29 Access to Reserved Address Line */
|
||
|
uint32_t :2; /**< bit: 30..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_ILS_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_ILS_OFFSET (0x58) /**< (MCAN_ILS) Interrupt Line Select Register Offset */
|
||
|
|
||
|
#define MCAN_ILS_RF0NL_Pos 0 /**< (MCAN_ILS) Receive FIFO 0 New Message Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF0NL_Msk (_U_(0x1) << MCAN_ILS_RF0NL_Pos) /**< (MCAN_ILS) Receive FIFO 0 New Message Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF0NL MCAN_ILS_RF0NL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF0NL_Msk instead */
|
||
|
#define MCAN_ILS_RF0WL_Pos 1 /**< (MCAN_ILS) Receive FIFO 0 Watermark Reached Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF0WL_Msk (_U_(0x1) << MCAN_ILS_RF0WL_Pos) /**< (MCAN_ILS) Receive FIFO 0 Watermark Reached Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF0WL MCAN_ILS_RF0WL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF0WL_Msk instead */
|
||
|
#define MCAN_ILS_RF0FL_Pos 2 /**< (MCAN_ILS) Receive FIFO 0 Full Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF0FL_Msk (_U_(0x1) << MCAN_ILS_RF0FL_Pos) /**< (MCAN_ILS) Receive FIFO 0 Full Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF0FL MCAN_ILS_RF0FL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF0FL_Msk instead */
|
||
|
#define MCAN_ILS_RF0LL_Pos 3 /**< (MCAN_ILS) Receive FIFO 0 Message Lost Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF0LL_Msk (_U_(0x1) << MCAN_ILS_RF0LL_Pos) /**< (MCAN_ILS) Receive FIFO 0 Message Lost Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF0LL MCAN_ILS_RF0LL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF0LL_Msk instead */
|
||
|
#define MCAN_ILS_RF1NL_Pos 4 /**< (MCAN_ILS) Receive FIFO 1 New Message Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF1NL_Msk (_U_(0x1) << MCAN_ILS_RF1NL_Pos) /**< (MCAN_ILS) Receive FIFO 1 New Message Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF1NL MCAN_ILS_RF1NL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF1NL_Msk instead */
|
||
|
#define MCAN_ILS_RF1WL_Pos 5 /**< (MCAN_ILS) Receive FIFO 1 Watermark Reached Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF1WL_Msk (_U_(0x1) << MCAN_ILS_RF1WL_Pos) /**< (MCAN_ILS) Receive FIFO 1 Watermark Reached Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF1WL MCAN_ILS_RF1WL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF1WL_Msk instead */
|
||
|
#define MCAN_ILS_RF1FL_Pos 6 /**< (MCAN_ILS) Receive FIFO 1 Full Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF1FL_Msk (_U_(0x1) << MCAN_ILS_RF1FL_Pos) /**< (MCAN_ILS) Receive FIFO 1 Full Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF1FL MCAN_ILS_RF1FL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF1FL_Msk instead */
|
||
|
#define MCAN_ILS_RF1LL_Pos 7 /**< (MCAN_ILS) Receive FIFO 1 Message Lost Interrupt Line Position */
|
||
|
#define MCAN_ILS_RF1LL_Msk (_U_(0x1) << MCAN_ILS_RF1LL_Pos) /**< (MCAN_ILS) Receive FIFO 1 Message Lost Interrupt Line Mask */
|
||
|
#define MCAN_ILS_RF1LL MCAN_ILS_RF1LL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_RF1LL_Msk instead */
|
||
|
#define MCAN_ILS_HPML_Pos 8 /**< (MCAN_ILS) High Priority Message Interrupt Line Position */
|
||
|
#define MCAN_ILS_HPML_Msk (_U_(0x1) << MCAN_ILS_HPML_Pos) /**< (MCAN_ILS) High Priority Message Interrupt Line Mask */
|
||
|
#define MCAN_ILS_HPML MCAN_ILS_HPML_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_HPML_Msk instead */
|
||
|
#define MCAN_ILS_TCL_Pos 9 /**< (MCAN_ILS) Transmission Completed Interrupt Line Position */
|
||
|
#define MCAN_ILS_TCL_Msk (_U_(0x1) << MCAN_ILS_TCL_Pos) /**< (MCAN_ILS) Transmission Completed Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TCL MCAN_ILS_TCL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TCL_Msk instead */
|
||
|
#define MCAN_ILS_TCFL_Pos 10 /**< (MCAN_ILS) Transmission Cancellation Finished Interrupt Line Position */
|
||
|
#define MCAN_ILS_TCFL_Msk (_U_(0x1) << MCAN_ILS_TCFL_Pos) /**< (MCAN_ILS) Transmission Cancellation Finished Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TCFL MCAN_ILS_TCFL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TCFL_Msk instead */
|
||
|
#define MCAN_ILS_TFEL_Pos 11 /**< (MCAN_ILS) Tx FIFO Empty Interrupt Line Position */
|
||
|
#define MCAN_ILS_TFEL_Msk (_U_(0x1) << MCAN_ILS_TFEL_Pos) /**< (MCAN_ILS) Tx FIFO Empty Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TFEL MCAN_ILS_TFEL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TFEL_Msk instead */
|
||
|
#define MCAN_ILS_TEFNL_Pos 12 /**< (MCAN_ILS) Tx Event FIFO New Entry Interrupt Line Position */
|
||
|
#define MCAN_ILS_TEFNL_Msk (_U_(0x1) << MCAN_ILS_TEFNL_Pos) /**< (MCAN_ILS) Tx Event FIFO New Entry Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TEFNL MCAN_ILS_TEFNL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TEFNL_Msk instead */
|
||
|
#define MCAN_ILS_TEFWL_Pos 13 /**< (MCAN_ILS) Tx Event FIFO Watermark Reached Interrupt Line Position */
|
||
|
#define MCAN_ILS_TEFWL_Msk (_U_(0x1) << MCAN_ILS_TEFWL_Pos) /**< (MCAN_ILS) Tx Event FIFO Watermark Reached Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TEFWL MCAN_ILS_TEFWL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TEFWL_Msk instead */
|
||
|
#define MCAN_ILS_TEFFL_Pos 14 /**< (MCAN_ILS) Tx Event FIFO Full Interrupt Line Position */
|
||
|
#define MCAN_ILS_TEFFL_Msk (_U_(0x1) << MCAN_ILS_TEFFL_Pos) /**< (MCAN_ILS) Tx Event FIFO Full Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TEFFL MCAN_ILS_TEFFL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TEFFL_Msk instead */
|
||
|
#define MCAN_ILS_TEFLL_Pos 15 /**< (MCAN_ILS) Tx Event FIFO Event Lost Interrupt Line Position */
|
||
|
#define MCAN_ILS_TEFLL_Msk (_U_(0x1) << MCAN_ILS_TEFLL_Pos) /**< (MCAN_ILS) Tx Event FIFO Event Lost Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TEFLL MCAN_ILS_TEFLL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TEFLL_Msk instead */
|
||
|
#define MCAN_ILS_TSWL_Pos 16 /**< (MCAN_ILS) Timestamp Wraparound Interrupt Line Position */
|
||
|
#define MCAN_ILS_TSWL_Msk (_U_(0x1) << MCAN_ILS_TSWL_Pos) /**< (MCAN_ILS) Timestamp Wraparound Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TSWL MCAN_ILS_TSWL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TSWL_Msk instead */
|
||
|
#define MCAN_ILS_MRAFL_Pos 17 /**< (MCAN_ILS) Message RAM Access Failure Interrupt Line Position */
|
||
|
#define MCAN_ILS_MRAFL_Msk (_U_(0x1) << MCAN_ILS_MRAFL_Pos) /**< (MCAN_ILS) Message RAM Access Failure Interrupt Line Mask */
|
||
|
#define MCAN_ILS_MRAFL MCAN_ILS_MRAFL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_MRAFL_Msk instead */
|
||
|
#define MCAN_ILS_TOOL_Pos 18 /**< (MCAN_ILS) Timeout Occurred Interrupt Line Position */
|
||
|
#define MCAN_ILS_TOOL_Msk (_U_(0x1) << MCAN_ILS_TOOL_Pos) /**< (MCAN_ILS) Timeout Occurred Interrupt Line Mask */
|
||
|
#define MCAN_ILS_TOOL MCAN_ILS_TOOL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_TOOL_Msk instead */
|
||
|
#define MCAN_ILS_DRXL_Pos 19 /**< (MCAN_ILS) Message stored to Dedicated Receive Buffer Interrupt Line Position */
|
||
|
#define MCAN_ILS_DRXL_Msk (_U_(0x1) << MCAN_ILS_DRXL_Pos) /**< (MCAN_ILS) Message stored to Dedicated Receive Buffer Interrupt Line Mask */
|
||
|
#define MCAN_ILS_DRXL MCAN_ILS_DRXL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_DRXL_Msk instead */
|
||
|
#define MCAN_ILS_ELOL_Pos 22 /**< (MCAN_ILS) Error Logging Overflow Interrupt Line Position */
|
||
|
#define MCAN_ILS_ELOL_Msk (_U_(0x1) << MCAN_ILS_ELOL_Pos) /**< (MCAN_ILS) Error Logging Overflow Interrupt Line Mask */
|
||
|
#define MCAN_ILS_ELOL MCAN_ILS_ELOL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_ELOL_Msk instead */
|
||
|
#define MCAN_ILS_EPL_Pos 23 /**< (MCAN_ILS) Error Passive Interrupt Line Position */
|
||
|
#define MCAN_ILS_EPL_Msk (_U_(0x1) << MCAN_ILS_EPL_Pos) /**< (MCAN_ILS) Error Passive Interrupt Line Mask */
|
||
|
#define MCAN_ILS_EPL MCAN_ILS_EPL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_EPL_Msk instead */
|
||
|
#define MCAN_ILS_EWL_Pos 24 /**< (MCAN_ILS) Warning Status Interrupt Line Position */
|
||
|
#define MCAN_ILS_EWL_Msk (_U_(0x1) << MCAN_ILS_EWL_Pos) /**< (MCAN_ILS) Warning Status Interrupt Line Mask */
|
||
|
#define MCAN_ILS_EWL MCAN_ILS_EWL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_EWL_Msk instead */
|
||
|
#define MCAN_ILS_BOL_Pos 25 /**< (MCAN_ILS) Bus_Off Status Interrupt Line Position */
|
||
|
#define MCAN_ILS_BOL_Msk (_U_(0x1) << MCAN_ILS_BOL_Pos) /**< (MCAN_ILS) Bus_Off Status Interrupt Line Mask */
|
||
|
#define MCAN_ILS_BOL MCAN_ILS_BOL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_BOL_Msk instead */
|
||
|
#define MCAN_ILS_WDIL_Pos 26 /**< (MCAN_ILS) Watchdog Interrupt Line Position */
|
||
|
#define MCAN_ILS_WDIL_Msk (_U_(0x1) << MCAN_ILS_WDIL_Pos) /**< (MCAN_ILS) Watchdog Interrupt Line Mask */
|
||
|
#define MCAN_ILS_WDIL MCAN_ILS_WDIL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_WDIL_Msk instead */
|
||
|
#define MCAN_ILS_PEAL_Pos 27 /**< (MCAN_ILS) Protocol Error in Arbitration Phase Line Position */
|
||
|
#define MCAN_ILS_PEAL_Msk (_U_(0x1) << MCAN_ILS_PEAL_Pos) /**< (MCAN_ILS) Protocol Error in Arbitration Phase Line Mask */
|
||
|
#define MCAN_ILS_PEAL MCAN_ILS_PEAL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_PEAL_Msk instead */
|
||
|
#define MCAN_ILS_PEDL_Pos 28 /**< (MCAN_ILS) Protocol Error in Data Phase Line Position */
|
||
|
#define MCAN_ILS_PEDL_Msk (_U_(0x1) << MCAN_ILS_PEDL_Pos) /**< (MCAN_ILS) Protocol Error in Data Phase Line Mask */
|
||
|
#define MCAN_ILS_PEDL MCAN_ILS_PEDL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_PEDL_Msk instead */
|
||
|
#define MCAN_ILS_ARAL_Pos 29 /**< (MCAN_ILS) Access to Reserved Address Line Position */
|
||
|
#define MCAN_ILS_ARAL_Msk (_U_(0x1) << MCAN_ILS_ARAL_Pos) /**< (MCAN_ILS) Access to Reserved Address Line Mask */
|
||
|
#define MCAN_ILS_ARAL MCAN_ILS_ARAL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILS_ARAL_Msk instead */
|
||
|
#define MCAN_ILS_MASK _U_(0x3FCFFFFF) /**< \deprecated (MCAN_ILS) Register MASK (Use MCAN_ILS_Msk instead) */
|
||
|
#define MCAN_ILS_Msk _U_(0x3FCFFFFF) /**< (MCAN_ILS) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_ILE : (MCAN Offset: 0x5c) (R/W 32) Interrupt Line Enable Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t EINT0:1; /**< bit: 0 Enable Interrupt Line 0 */
|
||
|
uint32_t EINT1:1; /**< bit: 1 Enable Interrupt Line 1 */
|
||
|
uint32_t :30; /**< bit: 2..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t EINT:2; /**< bit: 0..1 Enable Interrupt Line x */
|
||
|
uint32_t :30; /**< bit: 2..31 Reserved */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_ILE_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_ILE_OFFSET (0x5C) /**< (MCAN_ILE) Interrupt Line Enable Register Offset */
|
||
|
|
||
|
#define MCAN_ILE_EINT0_Pos 0 /**< (MCAN_ILE) Enable Interrupt Line 0 Position */
|
||
|
#define MCAN_ILE_EINT0_Msk (_U_(0x1) << MCAN_ILE_EINT0_Pos) /**< (MCAN_ILE) Enable Interrupt Line 0 Mask */
|
||
|
#define MCAN_ILE_EINT0 MCAN_ILE_EINT0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILE_EINT0_Msk instead */
|
||
|
#define MCAN_ILE_EINT1_Pos 1 /**< (MCAN_ILE) Enable Interrupt Line 1 Position */
|
||
|
#define MCAN_ILE_EINT1_Msk (_U_(0x1) << MCAN_ILE_EINT1_Pos) /**< (MCAN_ILE) Enable Interrupt Line 1 Mask */
|
||
|
#define MCAN_ILE_EINT1 MCAN_ILE_EINT1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_ILE_EINT1_Msk instead */
|
||
|
#define MCAN_ILE_MASK _U_(0x03) /**< \deprecated (MCAN_ILE) Register MASK (Use MCAN_ILE_Msk instead) */
|
||
|
#define MCAN_ILE_Msk _U_(0x03) /**< (MCAN_ILE) Register Mask */
|
||
|
|
||
|
#define MCAN_ILE_EINT_Pos 0 /**< (MCAN_ILE Position) Enable Interrupt Line x */
|
||
|
#define MCAN_ILE_EINT_Msk (_U_(0x3) << MCAN_ILE_EINT_Pos) /**< (MCAN_ILE Mask) EINT */
|
||
|
#define MCAN_ILE_EINT(value) (MCAN_ILE_EINT_Msk & ((value) << MCAN_ILE_EINT_Pos))
|
||
|
|
||
|
/* -------- MCAN_GFC : (MCAN Offset: 0x80) (R/W 32) Global Filter Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t RRFE:1; /**< bit: 0 Reject Remote Frames Extended */
|
||
|
uint32_t RRFS:1; /**< bit: 1 Reject Remote Frames Standard */
|
||
|
uint32_t ANFE:2; /**< bit: 2..3 Accept Non-matching Frames Extended */
|
||
|
uint32_t ANFS:2; /**< bit: 4..5 Accept Non-matching Frames Standard */
|
||
|
uint32_t :26; /**< bit: 6..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_GFC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_GFC_OFFSET (0x80) /**< (MCAN_GFC) Global Filter Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_GFC_RRFE_Pos 0 /**< (MCAN_GFC) Reject Remote Frames Extended Position */
|
||
|
#define MCAN_GFC_RRFE_Msk (_U_(0x1) << MCAN_GFC_RRFE_Pos) /**< (MCAN_GFC) Reject Remote Frames Extended Mask */
|
||
|
#define MCAN_GFC_RRFE MCAN_GFC_RRFE_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_GFC_RRFE_Msk instead */
|
||
|
#define MCAN_GFC_RRFE_FILTER_Val _U_(0x0) /**< (MCAN_GFC) Filter remote frames with 29-bit extended IDs. */
|
||
|
#define MCAN_GFC_RRFE_REJECT_Val _U_(0x1) /**< (MCAN_GFC) Reject all remote frames with 29-bit extended IDs. */
|
||
|
#define MCAN_GFC_RRFE_FILTER (MCAN_GFC_RRFE_FILTER_Val << MCAN_GFC_RRFE_Pos) /**< (MCAN_GFC) Filter remote frames with 29-bit extended IDs. Position */
|
||
|
#define MCAN_GFC_RRFE_REJECT (MCAN_GFC_RRFE_REJECT_Val << MCAN_GFC_RRFE_Pos) /**< (MCAN_GFC) Reject all remote frames with 29-bit extended IDs. Position */
|
||
|
#define MCAN_GFC_RRFS_Pos 1 /**< (MCAN_GFC) Reject Remote Frames Standard Position */
|
||
|
#define MCAN_GFC_RRFS_Msk (_U_(0x1) << MCAN_GFC_RRFS_Pos) /**< (MCAN_GFC) Reject Remote Frames Standard Mask */
|
||
|
#define MCAN_GFC_RRFS MCAN_GFC_RRFS_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_GFC_RRFS_Msk instead */
|
||
|
#define MCAN_GFC_RRFS_FILTER_Val _U_(0x0) /**< (MCAN_GFC) Filter remote frames with 11-bit standard IDs. */
|
||
|
#define MCAN_GFC_RRFS_REJECT_Val _U_(0x1) /**< (MCAN_GFC) Reject all remote frames with 11-bit standard IDs. */
|
||
|
#define MCAN_GFC_RRFS_FILTER (MCAN_GFC_RRFS_FILTER_Val << MCAN_GFC_RRFS_Pos) /**< (MCAN_GFC) Filter remote frames with 11-bit standard IDs. Position */
|
||
|
#define MCAN_GFC_RRFS_REJECT (MCAN_GFC_RRFS_REJECT_Val << MCAN_GFC_RRFS_Pos) /**< (MCAN_GFC) Reject all remote frames with 11-bit standard IDs. Position */
|
||
|
#define MCAN_GFC_ANFE_Pos 2 /**< (MCAN_GFC) Accept Non-matching Frames Extended Position */
|
||
|
#define MCAN_GFC_ANFE_Msk (_U_(0x3) << MCAN_GFC_ANFE_Pos) /**< (MCAN_GFC) Accept Non-matching Frames Extended Mask */
|
||
|
#define MCAN_GFC_ANFE(value) (MCAN_GFC_ANFE_Msk & ((value) << MCAN_GFC_ANFE_Pos))
|
||
|
#define MCAN_GFC_ANFE_RX_FIFO_0_Val _U_(0x0) /**< (MCAN_GFC) Accept in Rx FIFO 0 */
|
||
|
#define MCAN_GFC_ANFE_RX_FIFO_1_Val _U_(0x1) /**< (MCAN_GFC) Accept in Rx FIFO 1 */
|
||
|
#define MCAN_GFC_ANFE_RX_FIFO_0 (MCAN_GFC_ANFE_RX_FIFO_0_Val << MCAN_GFC_ANFE_Pos) /**< (MCAN_GFC) Accept in Rx FIFO 0 Position */
|
||
|
#define MCAN_GFC_ANFE_RX_FIFO_1 (MCAN_GFC_ANFE_RX_FIFO_1_Val << MCAN_GFC_ANFE_Pos) /**< (MCAN_GFC) Accept in Rx FIFO 1 Position */
|
||
|
#define MCAN_GFC_ANFS_Pos 4 /**< (MCAN_GFC) Accept Non-matching Frames Standard Position */
|
||
|
#define MCAN_GFC_ANFS_Msk (_U_(0x3) << MCAN_GFC_ANFS_Pos) /**< (MCAN_GFC) Accept Non-matching Frames Standard Mask */
|
||
|
#define MCAN_GFC_ANFS(value) (MCAN_GFC_ANFS_Msk & ((value) << MCAN_GFC_ANFS_Pos))
|
||
|
#define MCAN_GFC_ANFS_RX_FIFO_0_Val _U_(0x0) /**< (MCAN_GFC) Accept in Rx FIFO 0 */
|
||
|
#define MCAN_GFC_ANFS_RX_FIFO_1_Val _U_(0x1) /**< (MCAN_GFC) Accept in Rx FIFO 1 */
|
||
|
#define MCAN_GFC_ANFS_RX_FIFO_0 (MCAN_GFC_ANFS_RX_FIFO_0_Val << MCAN_GFC_ANFS_Pos) /**< (MCAN_GFC) Accept in Rx FIFO 0 Position */
|
||
|
#define MCAN_GFC_ANFS_RX_FIFO_1 (MCAN_GFC_ANFS_RX_FIFO_1_Val << MCAN_GFC_ANFS_Pos) /**< (MCAN_GFC) Accept in Rx FIFO 1 Position */
|
||
|
#define MCAN_GFC_MASK _U_(0x3F) /**< \deprecated (MCAN_GFC) Register MASK (Use MCAN_GFC_Msk instead) */
|
||
|
#define MCAN_GFC_Msk _U_(0x3F) /**< (MCAN_GFC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_SIDFC : (MCAN Offset: 0x84) (R/W 32) Standard ID Filter Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :2; /**< bit: 0..1 Reserved */
|
||
|
uint32_t FLSSA:14; /**< bit: 2..15 Filter List Standard Start Address */
|
||
|
uint32_t LSS:8; /**< bit: 16..23 List Size Standard */
|
||
|
uint32_t :8; /**< bit: 24..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_SIDFC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_SIDFC_OFFSET (0x84) /**< (MCAN_SIDFC) Standard ID Filter Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_SIDFC_FLSSA_Pos 2 /**< (MCAN_SIDFC) Filter List Standard Start Address Position */
|
||
|
#define MCAN_SIDFC_FLSSA_Msk (_U_(0x3FFF) << MCAN_SIDFC_FLSSA_Pos) /**< (MCAN_SIDFC) Filter List Standard Start Address Mask */
|
||
|
#define MCAN_SIDFC_FLSSA(value) (MCAN_SIDFC_FLSSA_Msk & ((value) << MCAN_SIDFC_FLSSA_Pos))
|
||
|
#define MCAN_SIDFC_LSS_Pos 16 /**< (MCAN_SIDFC) List Size Standard Position */
|
||
|
#define MCAN_SIDFC_LSS_Msk (_U_(0xFF) << MCAN_SIDFC_LSS_Pos) /**< (MCAN_SIDFC) List Size Standard Mask */
|
||
|
#define MCAN_SIDFC_LSS(value) (MCAN_SIDFC_LSS_Msk & ((value) << MCAN_SIDFC_LSS_Pos))
|
||
|
#define MCAN_SIDFC_MASK _U_(0xFFFFFC) /**< \deprecated (MCAN_SIDFC) Register MASK (Use MCAN_SIDFC_Msk instead) */
|
||
|
#define MCAN_SIDFC_Msk _U_(0xFFFFFC) /**< (MCAN_SIDFC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_XIDFC : (MCAN Offset: 0x88) (R/W 32) Extended ID Filter Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :2; /**< bit: 0..1 Reserved */
|
||
|
uint32_t FLESA:14; /**< bit: 2..15 Filter List Extended Start Address */
|
||
|
uint32_t LSE:7; /**< bit: 16..22 List Size Extended */
|
||
|
uint32_t :9; /**< bit: 23..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_XIDFC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_XIDFC_OFFSET (0x88) /**< (MCAN_XIDFC) Extended ID Filter Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_XIDFC_FLESA_Pos 2 /**< (MCAN_XIDFC) Filter List Extended Start Address Position */
|
||
|
#define MCAN_XIDFC_FLESA_Msk (_U_(0x3FFF) << MCAN_XIDFC_FLESA_Pos) /**< (MCAN_XIDFC) Filter List Extended Start Address Mask */
|
||
|
#define MCAN_XIDFC_FLESA(value) (MCAN_XIDFC_FLESA_Msk & ((value) << MCAN_XIDFC_FLESA_Pos))
|
||
|
#define MCAN_XIDFC_LSE_Pos 16 /**< (MCAN_XIDFC) List Size Extended Position */
|
||
|
#define MCAN_XIDFC_LSE_Msk (_U_(0x7F) << MCAN_XIDFC_LSE_Pos) /**< (MCAN_XIDFC) List Size Extended Mask */
|
||
|
#define MCAN_XIDFC_LSE(value) (MCAN_XIDFC_LSE_Msk & ((value) << MCAN_XIDFC_LSE_Pos))
|
||
|
#define MCAN_XIDFC_MASK _U_(0x7FFFFC) /**< \deprecated (MCAN_XIDFC) Register MASK (Use MCAN_XIDFC_Msk instead) */
|
||
|
#define MCAN_XIDFC_Msk _U_(0x7FFFFC) /**< (MCAN_XIDFC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_XIDAM : (MCAN Offset: 0x90) (R/W 32) Extended ID AND Mask Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t EIDM:29; /**< bit: 0..28 Extended ID Mask */
|
||
|
uint32_t :3; /**< bit: 29..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_XIDAM_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_XIDAM_OFFSET (0x90) /**< (MCAN_XIDAM) Extended ID AND Mask Register Offset */
|
||
|
|
||
|
#define MCAN_XIDAM_EIDM_Pos 0 /**< (MCAN_XIDAM) Extended ID Mask Position */
|
||
|
#define MCAN_XIDAM_EIDM_Msk (_U_(0x1FFFFFFF) << MCAN_XIDAM_EIDM_Pos) /**< (MCAN_XIDAM) Extended ID Mask Mask */
|
||
|
#define MCAN_XIDAM_EIDM(value) (MCAN_XIDAM_EIDM_Msk & ((value) << MCAN_XIDAM_EIDM_Pos))
|
||
|
#define MCAN_XIDAM_MASK _U_(0x1FFFFFFF) /**< \deprecated (MCAN_XIDAM) Register MASK (Use MCAN_XIDAM_Msk instead) */
|
||
|
#define MCAN_XIDAM_Msk _U_(0x1FFFFFFF) /**< (MCAN_XIDAM) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_HPMS : (MCAN Offset: 0x94) (R/ 32) High Priority Message Status Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t BIDX:6; /**< bit: 0..5 Buffer Index */
|
||
|
uint32_t MSI:2; /**< bit: 6..7 Message Storage Indicator */
|
||
|
uint32_t FIDX:7; /**< bit: 8..14 Filter Index */
|
||
|
uint32_t FLST:1; /**< bit: 15 Filter List */
|
||
|
uint32_t :16; /**< bit: 16..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_HPMS_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_HPMS_OFFSET (0x94) /**< (MCAN_HPMS) High Priority Message Status Register Offset */
|
||
|
|
||
|
#define MCAN_HPMS_BIDX_Pos 0 /**< (MCAN_HPMS) Buffer Index Position */
|
||
|
#define MCAN_HPMS_BIDX_Msk (_U_(0x3F) << MCAN_HPMS_BIDX_Pos) /**< (MCAN_HPMS) Buffer Index Mask */
|
||
|
#define MCAN_HPMS_BIDX(value) (MCAN_HPMS_BIDX_Msk & ((value) << MCAN_HPMS_BIDX_Pos))
|
||
|
#define MCAN_HPMS_MSI_Pos 6 /**< (MCAN_HPMS) Message Storage Indicator Position */
|
||
|
#define MCAN_HPMS_MSI_Msk (_U_(0x3) << MCAN_HPMS_MSI_Pos) /**< (MCAN_HPMS) Message Storage Indicator Mask */
|
||
|
#define MCAN_HPMS_MSI(value) (MCAN_HPMS_MSI_Msk & ((value) << MCAN_HPMS_MSI_Pos))
|
||
|
#define MCAN_HPMS_MSI_NO_FIFO_SEL_Val _U_(0x0) /**< (MCAN_HPMS) No FIFO selected. */
|
||
|
#define MCAN_HPMS_MSI_LOST_Val _U_(0x1) /**< (MCAN_HPMS) FIFO message lost. */
|
||
|
#define MCAN_HPMS_MSI_FIFO_0_Val _U_(0x2) /**< (MCAN_HPMS) Message stored in FIFO 0. */
|
||
|
#define MCAN_HPMS_MSI_FIFO_1_Val _U_(0x3) /**< (MCAN_HPMS) Message stored in FIFO 1. */
|
||
|
#define MCAN_HPMS_MSI_NO_FIFO_SEL (MCAN_HPMS_MSI_NO_FIFO_SEL_Val << MCAN_HPMS_MSI_Pos) /**< (MCAN_HPMS) No FIFO selected. Position */
|
||
|
#define MCAN_HPMS_MSI_LOST (MCAN_HPMS_MSI_LOST_Val << MCAN_HPMS_MSI_Pos) /**< (MCAN_HPMS) FIFO message lost. Position */
|
||
|
#define MCAN_HPMS_MSI_FIFO_0 (MCAN_HPMS_MSI_FIFO_0_Val << MCAN_HPMS_MSI_Pos) /**< (MCAN_HPMS) Message stored in FIFO 0. Position */
|
||
|
#define MCAN_HPMS_MSI_FIFO_1 (MCAN_HPMS_MSI_FIFO_1_Val << MCAN_HPMS_MSI_Pos) /**< (MCAN_HPMS) Message stored in FIFO 1. Position */
|
||
|
#define MCAN_HPMS_FIDX_Pos 8 /**< (MCAN_HPMS) Filter Index Position */
|
||
|
#define MCAN_HPMS_FIDX_Msk (_U_(0x7F) << MCAN_HPMS_FIDX_Pos) /**< (MCAN_HPMS) Filter Index Mask */
|
||
|
#define MCAN_HPMS_FIDX(value) (MCAN_HPMS_FIDX_Msk & ((value) << MCAN_HPMS_FIDX_Pos))
|
||
|
#define MCAN_HPMS_FLST_Pos 15 /**< (MCAN_HPMS) Filter List Position */
|
||
|
#define MCAN_HPMS_FLST_Msk (_U_(0x1) << MCAN_HPMS_FLST_Pos) /**< (MCAN_HPMS) Filter List Mask */
|
||
|
#define MCAN_HPMS_FLST MCAN_HPMS_FLST_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_HPMS_FLST_Msk instead */
|
||
|
#define MCAN_HPMS_MASK _U_(0xFFFF) /**< \deprecated (MCAN_HPMS) Register MASK (Use MCAN_HPMS_Msk instead) */
|
||
|
#define MCAN_HPMS_Msk _U_(0xFFFF) /**< (MCAN_HPMS) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_NDAT1 : (MCAN Offset: 0x98) (R/W 32) New Data 1 Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ND0:1; /**< bit: 0 New Data */
|
||
|
uint32_t ND1:1; /**< bit: 1 New Data */
|
||
|
uint32_t ND2:1; /**< bit: 2 New Data */
|
||
|
uint32_t ND3:1; /**< bit: 3 New Data */
|
||
|
uint32_t ND4:1; /**< bit: 4 New Data */
|
||
|
uint32_t ND5:1; /**< bit: 5 New Data */
|
||
|
uint32_t ND6:1; /**< bit: 6 New Data */
|
||
|
uint32_t ND7:1; /**< bit: 7 New Data */
|
||
|
uint32_t ND8:1; /**< bit: 8 New Data */
|
||
|
uint32_t ND9:1; /**< bit: 9 New Data */
|
||
|
uint32_t ND10:1; /**< bit: 10 New Data */
|
||
|
uint32_t ND11:1; /**< bit: 11 New Data */
|
||
|
uint32_t ND12:1; /**< bit: 12 New Data */
|
||
|
uint32_t ND13:1; /**< bit: 13 New Data */
|
||
|
uint32_t ND14:1; /**< bit: 14 New Data */
|
||
|
uint32_t ND15:1; /**< bit: 15 New Data */
|
||
|
uint32_t ND16:1; /**< bit: 16 New Data */
|
||
|
uint32_t ND17:1; /**< bit: 17 New Data */
|
||
|
uint32_t ND18:1; /**< bit: 18 New Data */
|
||
|
uint32_t ND19:1; /**< bit: 19 New Data */
|
||
|
uint32_t ND20:1; /**< bit: 20 New Data */
|
||
|
uint32_t ND21:1; /**< bit: 21 New Data */
|
||
|
uint32_t ND22:1; /**< bit: 22 New Data */
|
||
|
uint32_t ND23:1; /**< bit: 23 New Data */
|
||
|
uint32_t ND24:1; /**< bit: 24 New Data */
|
||
|
uint32_t ND25:1; /**< bit: 25 New Data */
|
||
|
uint32_t ND26:1; /**< bit: 26 New Data */
|
||
|
uint32_t ND27:1; /**< bit: 27 New Data */
|
||
|
uint32_t ND28:1; /**< bit: 28 New Data */
|
||
|
uint32_t ND29:1; /**< bit: 29 New Data */
|
||
|
uint32_t ND30:1; /**< bit: 30 New Data */
|
||
|
uint32_t ND31:1; /**< bit: 31 New Data */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t ND:32; /**< bit: 0..31 New Data */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_NDAT1_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_NDAT1_OFFSET (0x98) /**< (MCAN_NDAT1) New Data 1 Register Offset */
|
||
|
|
||
|
#define MCAN_NDAT1_ND0_Pos 0 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND0_Msk (_U_(0x1) << MCAN_NDAT1_ND0_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND0 MCAN_NDAT1_ND0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND0_Msk instead */
|
||
|
#define MCAN_NDAT1_ND1_Pos 1 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND1_Msk (_U_(0x1) << MCAN_NDAT1_ND1_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND1 MCAN_NDAT1_ND1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND1_Msk instead */
|
||
|
#define MCAN_NDAT1_ND2_Pos 2 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND2_Msk (_U_(0x1) << MCAN_NDAT1_ND2_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND2 MCAN_NDAT1_ND2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND2_Msk instead */
|
||
|
#define MCAN_NDAT1_ND3_Pos 3 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND3_Msk (_U_(0x1) << MCAN_NDAT1_ND3_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND3 MCAN_NDAT1_ND3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND3_Msk instead */
|
||
|
#define MCAN_NDAT1_ND4_Pos 4 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND4_Msk (_U_(0x1) << MCAN_NDAT1_ND4_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND4 MCAN_NDAT1_ND4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND4_Msk instead */
|
||
|
#define MCAN_NDAT1_ND5_Pos 5 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND5_Msk (_U_(0x1) << MCAN_NDAT1_ND5_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND5 MCAN_NDAT1_ND5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND5_Msk instead */
|
||
|
#define MCAN_NDAT1_ND6_Pos 6 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND6_Msk (_U_(0x1) << MCAN_NDAT1_ND6_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND6 MCAN_NDAT1_ND6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND6_Msk instead */
|
||
|
#define MCAN_NDAT1_ND7_Pos 7 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND7_Msk (_U_(0x1) << MCAN_NDAT1_ND7_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND7 MCAN_NDAT1_ND7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND7_Msk instead */
|
||
|
#define MCAN_NDAT1_ND8_Pos 8 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND8_Msk (_U_(0x1) << MCAN_NDAT1_ND8_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND8 MCAN_NDAT1_ND8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND8_Msk instead */
|
||
|
#define MCAN_NDAT1_ND9_Pos 9 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND9_Msk (_U_(0x1) << MCAN_NDAT1_ND9_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND9 MCAN_NDAT1_ND9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND9_Msk instead */
|
||
|
#define MCAN_NDAT1_ND10_Pos 10 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND10_Msk (_U_(0x1) << MCAN_NDAT1_ND10_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND10 MCAN_NDAT1_ND10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND10_Msk instead */
|
||
|
#define MCAN_NDAT1_ND11_Pos 11 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND11_Msk (_U_(0x1) << MCAN_NDAT1_ND11_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND11 MCAN_NDAT1_ND11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND11_Msk instead */
|
||
|
#define MCAN_NDAT1_ND12_Pos 12 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND12_Msk (_U_(0x1) << MCAN_NDAT1_ND12_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND12 MCAN_NDAT1_ND12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND12_Msk instead */
|
||
|
#define MCAN_NDAT1_ND13_Pos 13 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND13_Msk (_U_(0x1) << MCAN_NDAT1_ND13_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND13 MCAN_NDAT1_ND13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND13_Msk instead */
|
||
|
#define MCAN_NDAT1_ND14_Pos 14 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND14_Msk (_U_(0x1) << MCAN_NDAT1_ND14_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND14 MCAN_NDAT1_ND14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND14_Msk instead */
|
||
|
#define MCAN_NDAT1_ND15_Pos 15 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND15_Msk (_U_(0x1) << MCAN_NDAT1_ND15_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND15 MCAN_NDAT1_ND15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND15_Msk instead */
|
||
|
#define MCAN_NDAT1_ND16_Pos 16 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND16_Msk (_U_(0x1) << MCAN_NDAT1_ND16_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND16 MCAN_NDAT1_ND16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND16_Msk instead */
|
||
|
#define MCAN_NDAT1_ND17_Pos 17 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND17_Msk (_U_(0x1) << MCAN_NDAT1_ND17_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND17 MCAN_NDAT1_ND17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND17_Msk instead */
|
||
|
#define MCAN_NDAT1_ND18_Pos 18 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND18_Msk (_U_(0x1) << MCAN_NDAT1_ND18_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND18 MCAN_NDAT1_ND18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND18_Msk instead */
|
||
|
#define MCAN_NDAT1_ND19_Pos 19 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND19_Msk (_U_(0x1) << MCAN_NDAT1_ND19_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND19 MCAN_NDAT1_ND19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND19_Msk instead */
|
||
|
#define MCAN_NDAT1_ND20_Pos 20 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND20_Msk (_U_(0x1) << MCAN_NDAT1_ND20_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND20 MCAN_NDAT1_ND20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND20_Msk instead */
|
||
|
#define MCAN_NDAT1_ND21_Pos 21 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND21_Msk (_U_(0x1) << MCAN_NDAT1_ND21_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND21 MCAN_NDAT1_ND21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND21_Msk instead */
|
||
|
#define MCAN_NDAT1_ND22_Pos 22 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND22_Msk (_U_(0x1) << MCAN_NDAT1_ND22_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND22 MCAN_NDAT1_ND22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND22_Msk instead */
|
||
|
#define MCAN_NDAT1_ND23_Pos 23 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND23_Msk (_U_(0x1) << MCAN_NDAT1_ND23_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND23 MCAN_NDAT1_ND23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND23_Msk instead */
|
||
|
#define MCAN_NDAT1_ND24_Pos 24 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND24_Msk (_U_(0x1) << MCAN_NDAT1_ND24_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND24 MCAN_NDAT1_ND24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND24_Msk instead */
|
||
|
#define MCAN_NDAT1_ND25_Pos 25 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND25_Msk (_U_(0x1) << MCAN_NDAT1_ND25_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND25 MCAN_NDAT1_ND25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND25_Msk instead */
|
||
|
#define MCAN_NDAT1_ND26_Pos 26 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND26_Msk (_U_(0x1) << MCAN_NDAT1_ND26_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND26 MCAN_NDAT1_ND26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND26_Msk instead */
|
||
|
#define MCAN_NDAT1_ND27_Pos 27 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND27_Msk (_U_(0x1) << MCAN_NDAT1_ND27_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND27 MCAN_NDAT1_ND27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND27_Msk instead */
|
||
|
#define MCAN_NDAT1_ND28_Pos 28 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND28_Msk (_U_(0x1) << MCAN_NDAT1_ND28_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND28 MCAN_NDAT1_ND28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND28_Msk instead */
|
||
|
#define MCAN_NDAT1_ND29_Pos 29 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND29_Msk (_U_(0x1) << MCAN_NDAT1_ND29_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND29 MCAN_NDAT1_ND29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND29_Msk instead */
|
||
|
#define MCAN_NDAT1_ND30_Pos 30 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND30_Msk (_U_(0x1) << MCAN_NDAT1_ND30_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND30 MCAN_NDAT1_ND30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND30_Msk instead */
|
||
|
#define MCAN_NDAT1_ND31_Pos 31 /**< (MCAN_NDAT1) New Data Position */
|
||
|
#define MCAN_NDAT1_ND31_Msk (_U_(0x1) << MCAN_NDAT1_ND31_Pos) /**< (MCAN_NDAT1) New Data Mask */
|
||
|
#define MCAN_NDAT1_ND31 MCAN_NDAT1_ND31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT1_ND31_Msk instead */
|
||
|
#define MCAN_NDAT1_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_NDAT1) Register MASK (Use MCAN_NDAT1_Msk instead) */
|
||
|
#define MCAN_NDAT1_Msk _U_(0xFFFFFFFF) /**< (MCAN_NDAT1) Register Mask */
|
||
|
|
||
|
#define MCAN_NDAT1_ND_Pos 0 /**< (MCAN_NDAT1 Position) New Data */
|
||
|
#define MCAN_NDAT1_ND_Msk (_U_(0xFFFFFFFF) << MCAN_NDAT1_ND_Pos) /**< (MCAN_NDAT1 Mask) ND */
|
||
|
#define MCAN_NDAT1_ND(value) (MCAN_NDAT1_ND_Msk & ((value) << MCAN_NDAT1_ND_Pos))
|
||
|
|
||
|
/* -------- MCAN_NDAT2 : (MCAN Offset: 0x9c) (R/W 32) New Data 2 Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t ND32:1; /**< bit: 0 New Data */
|
||
|
uint32_t ND33:1; /**< bit: 1 New Data */
|
||
|
uint32_t ND34:1; /**< bit: 2 New Data */
|
||
|
uint32_t ND35:1; /**< bit: 3 New Data */
|
||
|
uint32_t ND36:1; /**< bit: 4 New Data */
|
||
|
uint32_t ND37:1; /**< bit: 5 New Data */
|
||
|
uint32_t ND38:1; /**< bit: 6 New Data */
|
||
|
uint32_t ND39:1; /**< bit: 7 New Data */
|
||
|
uint32_t ND40:1; /**< bit: 8 New Data */
|
||
|
uint32_t ND41:1; /**< bit: 9 New Data */
|
||
|
uint32_t ND42:1; /**< bit: 10 New Data */
|
||
|
uint32_t ND43:1; /**< bit: 11 New Data */
|
||
|
uint32_t ND44:1; /**< bit: 12 New Data */
|
||
|
uint32_t ND45:1; /**< bit: 13 New Data */
|
||
|
uint32_t ND46:1; /**< bit: 14 New Data */
|
||
|
uint32_t ND47:1; /**< bit: 15 New Data */
|
||
|
uint32_t ND48:1; /**< bit: 16 New Data */
|
||
|
uint32_t ND49:1; /**< bit: 17 New Data */
|
||
|
uint32_t ND50:1; /**< bit: 18 New Data */
|
||
|
uint32_t ND51:1; /**< bit: 19 New Data */
|
||
|
uint32_t ND52:1; /**< bit: 20 New Data */
|
||
|
uint32_t ND53:1; /**< bit: 21 New Data */
|
||
|
uint32_t ND54:1; /**< bit: 22 New Data */
|
||
|
uint32_t ND55:1; /**< bit: 23 New Data */
|
||
|
uint32_t ND56:1; /**< bit: 24 New Data */
|
||
|
uint32_t ND57:1; /**< bit: 25 New Data */
|
||
|
uint32_t ND58:1; /**< bit: 26 New Data */
|
||
|
uint32_t ND59:1; /**< bit: 27 New Data */
|
||
|
uint32_t ND60:1; /**< bit: 28 New Data */
|
||
|
uint32_t ND61:1; /**< bit: 29 New Data */
|
||
|
uint32_t ND62:1; /**< bit: 30 New Data */
|
||
|
uint32_t ND63:1; /**< bit: 31 New Data */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t ND:32; /**< bit: 0..31 New Data */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_NDAT2_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_NDAT2_OFFSET (0x9C) /**< (MCAN_NDAT2) New Data 2 Register Offset */
|
||
|
|
||
|
#define MCAN_NDAT2_ND32_Pos 0 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND32_Msk (_U_(0x1) << MCAN_NDAT2_ND32_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND32 MCAN_NDAT2_ND32_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND32_Msk instead */
|
||
|
#define MCAN_NDAT2_ND33_Pos 1 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND33_Msk (_U_(0x1) << MCAN_NDAT2_ND33_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND33 MCAN_NDAT2_ND33_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND33_Msk instead */
|
||
|
#define MCAN_NDAT2_ND34_Pos 2 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND34_Msk (_U_(0x1) << MCAN_NDAT2_ND34_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND34 MCAN_NDAT2_ND34_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND34_Msk instead */
|
||
|
#define MCAN_NDAT2_ND35_Pos 3 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND35_Msk (_U_(0x1) << MCAN_NDAT2_ND35_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND35 MCAN_NDAT2_ND35_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND35_Msk instead */
|
||
|
#define MCAN_NDAT2_ND36_Pos 4 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND36_Msk (_U_(0x1) << MCAN_NDAT2_ND36_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND36 MCAN_NDAT2_ND36_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND36_Msk instead */
|
||
|
#define MCAN_NDAT2_ND37_Pos 5 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND37_Msk (_U_(0x1) << MCAN_NDAT2_ND37_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND37 MCAN_NDAT2_ND37_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND37_Msk instead */
|
||
|
#define MCAN_NDAT2_ND38_Pos 6 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND38_Msk (_U_(0x1) << MCAN_NDAT2_ND38_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND38 MCAN_NDAT2_ND38_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND38_Msk instead */
|
||
|
#define MCAN_NDAT2_ND39_Pos 7 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND39_Msk (_U_(0x1) << MCAN_NDAT2_ND39_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND39 MCAN_NDAT2_ND39_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND39_Msk instead */
|
||
|
#define MCAN_NDAT2_ND40_Pos 8 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND40_Msk (_U_(0x1) << MCAN_NDAT2_ND40_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND40 MCAN_NDAT2_ND40_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND40_Msk instead */
|
||
|
#define MCAN_NDAT2_ND41_Pos 9 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND41_Msk (_U_(0x1) << MCAN_NDAT2_ND41_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND41 MCAN_NDAT2_ND41_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND41_Msk instead */
|
||
|
#define MCAN_NDAT2_ND42_Pos 10 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND42_Msk (_U_(0x1) << MCAN_NDAT2_ND42_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND42 MCAN_NDAT2_ND42_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND42_Msk instead */
|
||
|
#define MCAN_NDAT2_ND43_Pos 11 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND43_Msk (_U_(0x1) << MCAN_NDAT2_ND43_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND43 MCAN_NDAT2_ND43_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND43_Msk instead */
|
||
|
#define MCAN_NDAT2_ND44_Pos 12 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND44_Msk (_U_(0x1) << MCAN_NDAT2_ND44_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND44 MCAN_NDAT2_ND44_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND44_Msk instead */
|
||
|
#define MCAN_NDAT2_ND45_Pos 13 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND45_Msk (_U_(0x1) << MCAN_NDAT2_ND45_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND45 MCAN_NDAT2_ND45_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND45_Msk instead */
|
||
|
#define MCAN_NDAT2_ND46_Pos 14 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND46_Msk (_U_(0x1) << MCAN_NDAT2_ND46_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND46 MCAN_NDAT2_ND46_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND46_Msk instead */
|
||
|
#define MCAN_NDAT2_ND47_Pos 15 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND47_Msk (_U_(0x1) << MCAN_NDAT2_ND47_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND47 MCAN_NDAT2_ND47_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND47_Msk instead */
|
||
|
#define MCAN_NDAT2_ND48_Pos 16 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND48_Msk (_U_(0x1) << MCAN_NDAT2_ND48_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND48 MCAN_NDAT2_ND48_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND48_Msk instead */
|
||
|
#define MCAN_NDAT2_ND49_Pos 17 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND49_Msk (_U_(0x1) << MCAN_NDAT2_ND49_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND49 MCAN_NDAT2_ND49_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND49_Msk instead */
|
||
|
#define MCAN_NDAT2_ND50_Pos 18 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND50_Msk (_U_(0x1) << MCAN_NDAT2_ND50_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND50 MCAN_NDAT2_ND50_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND50_Msk instead */
|
||
|
#define MCAN_NDAT2_ND51_Pos 19 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND51_Msk (_U_(0x1) << MCAN_NDAT2_ND51_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND51 MCAN_NDAT2_ND51_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND51_Msk instead */
|
||
|
#define MCAN_NDAT2_ND52_Pos 20 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND52_Msk (_U_(0x1) << MCAN_NDAT2_ND52_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND52 MCAN_NDAT2_ND52_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND52_Msk instead */
|
||
|
#define MCAN_NDAT2_ND53_Pos 21 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND53_Msk (_U_(0x1) << MCAN_NDAT2_ND53_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND53 MCAN_NDAT2_ND53_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND53_Msk instead */
|
||
|
#define MCAN_NDAT2_ND54_Pos 22 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND54_Msk (_U_(0x1) << MCAN_NDAT2_ND54_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND54 MCAN_NDAT2_ND54_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND54_Msk instead */
|
||
|
#define MCAN_NDAT2_ND55_Pos 23 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND55_Msk (_U_(0x1) << MCAN_NDAT2_ND55_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND55 MCAN_NDAT2_ND55_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND55_Msk instead */
|
||
|
#define MCAN_NDAT2_ND56_Pos 24 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND56_Msk (_U_(0x1) << MCAN_NDAT2_ND56_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND56 MCAN_NDAT2_ND56_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND56_Msk instead */
|
||
|
#define MCAN_NDAT2_ND57_Pos 25 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND57_Msk (_U_(0x1) << MCAN_NDAT2_ND57_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND57 MCAN_NDAT2_ND57_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND57_Msk instead */
|
||
|
#define MCAN_NDAT2_ND58_Pos 26 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND58_Msk (_U_(0x1) << MCAN_NDAT2_ND58_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND58 MCAN_NDAT2_ND58_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND58_Msk instead */
|
||
|
#define MCAN_NDAT2_ND59_Pos 27 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND59_Msk (_U_(0x1) << MCAN_NDAT2_ND59_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND59 MCAN_NDAT2_ND59_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND59_Msk instead */
|
||
|
#define MCAN_NDAT2_ND60_Pos 28 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND60_Msk (_U_(0x1) << MCAN_NDAT2_ND60_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND60 MCAN_NDAT2_ND60_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND60_Msk instead */
|
||
|
#define MCAN_NDAT2_ND61_Pos 29 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND61_Msk (_U_(0x1) << MCAN_NDAT2_ND61_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND61 MCAN_NDAT2_ND61_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND61_Msk instead */
|
||
|
#define MCAN_NDAT2_ND62_Pos 30 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND62_Msk (_U_(0x1) << MCAN_NDAT2_ND62_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND62 MCAN_NDAT2_ND62_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND62_Msk instead */
|
||
|
#define MCAN_NDAT2_ND63_Pos 31 /**< (MCAN_NDAT2) New Data Position */
|
||
|
#define MCAN_NDAT2_ND63_Msk (_U_(0x1) << MCAN_NDAT2_ND63_Pos) /**< (MCAN_NDAT2) New Data Mask */
|
||
|
#define MCAN_NDAT2_ND63 MCAN_NDAT2_ND63_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_NDAT2_ND63_Msk instead */
|
||
|
#define MCAN_NDAT2_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_NDAT2) Register MASK (Use MCAN_NDAT2_Msk instead) */
|
||
|
#define MCAN_NDAT2_Msk _U_(0xFFFFFFFF) /**< (MCAN_NDAT2) Register Mask */
|
||
|
|
||
|
#define MCAN_NDAT2_ND_Pos 0 /**< (MCAN_NDAT2 Position) New Data */
|
||
|
#define MCAN_NDAT2_ND_Msk (_U_(0xFFFFFFFF) << MCAN_NDAT2_ND_Pos) /**< (MCAN_NDAT2 Mask) ND */
|
||
|
#define MCAN_NDAT2_ND(value) (MCAN_NDAT2_ND_Msk & ((value) << MCAN_NDAT2_ND_Pos))
|
||
|
|
||
|
/* -------- MCAN_RXF0C : (MCAN Offset: 0xa0) (R/W 32) Receive FIFO 0 Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :2; /**< bit: 0..1 Reserved */
|
||
|
uint32_t F0SA:14; /**< bit: 2..15 Receive FIFO 0 Start Address */
|
||
|
uint32_t F0S:7; /**< bit: 16..22 Receive FIFO 0 Start Address */
|
||
|
uint32_t :1; /**< bit: 23 Reserved */
|
||
|
uint32_t F0WM:7; /**< bit: 24..30 Receive FIFO 0 Watermark */
|
||
|
uint32_t F0OM:1; /**< bit: 31 FIFO 0 Operation Mode */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF0C_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF0C_OFFSET (0xA0) /**< (MCAN_RXF0C) Receive FIFO 0 Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_RXF0C_F0SA_Pos 2 /**< (MCAN_RXF0C) Receive FIFO 0 Start Address Position */
|
||
|
#define MCAN_RXF0C_F0SA_Msk (_U_(0x3FFF) << MCAN_RXF0C_F0SA_Pos) /**< (MCAN_RXF0C) Receive FIFO 0 Start Address Mask */
|
||
|
#define MCAN_RXF0C_F0SA(value) (MCAN_RXF0C_F0SA_Msk & ((value) << MCAN_RXF0C_F0SA_Pos))
|
||
|
#define MCAN_RXF0C_F0S_Pos 16 /**< (MCAN_RXF0C) Receive FIFO 0 Start Address Position */
|
||
|
#define MCAN_RXF0C_F0S_Msk (_U_(0x7F) << MCAN_RXF0C_F0S_Pos) /**< (MCAN_RXF0C) Receive FIFO 0 Start Address Mask */
|
||
|
#define MCAN_RXF0C_F0S(value) (MCAN_RXF0C_F0S_Msk & ((value) << MCAN_RXF0C_F0S_Pos))
|
||
|
#define MCAN_RXF0C_F0WM_Pos 24 /**< (MCAN_RXF0C) Receive FIFO 0 Watermark Position */
|
||
|
#define MCAN_RXF0C_F0WM_Msk (_U_(0x7F) << MCAN_RXF0C_F0WM_Pos) /**< (MCAN_RXF0C) Receive FIFO 0 Watermark Mask */
|
||
|
#define MCAN_RXF0C_F0WM(value) (MCAN_RXF0C_F0WM_Msk & ((value) << MCAN_RXF0C_F0WM_Pos))
|
||
|
#define MCAN_RXF0C_F0OM_Pos 31 /**< (MCAN_RXF0C) FIFO 0 Operation Mode Position */
|
||
|
#define MCAN_RXF0C_F0OM_Msk (_U_(0x1) << MCAN_RXF0C_F0OM_Pos) /**< (MCAN_RXF0C) FIFO 0 Operation Mode Mask */
|
||
|
#define MCAN_RXF0C_F0OM MCAN_RXF0C_F0OM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0C_F0OM_Msk instead */
|
||
|
#define MCAN_RXF0C_MASK _U_(0xFF7FFFFC) /**< \deprecated (MCAN_RXF0C) Register MASK (Use MCAN_RXF0C_Msk instead) */
|
||
|
#define MCAN_RXF0C_Msk _U_(0xFF7FFFFC) /**< (MCAN_RXF0C) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF0S : (MCAN Offset: 0xa4) (R/ 32) Receive FIFO 0 Status Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t F0FL:7; /**< bit: 0..6 Receive FIFO 0 Fill Level */
|
||
|
uint32_t :1; /**< bit: 7 Reserved */
|
||
|
uint32_t F0GI:6; /**< bit: 8..13 Receive FIFO 0 Get Index */
|
||
|
uint32_t :2; /**< bit: 14..15 Reserved */
|
||
|
uint32_t F0PI:6; /**< bit: 16..21 Receive FIFO 0 Put Index */
|
||
|
uint32_t :2; /**< bit: 22..23 Reserved */
|
||
|
uint32_t F0F:1; /**< bit: 24 Receive FIFO 0 Fill Level */
|
||
|
uint32_t RF0L:1; /**< bit: 25 Receive FIFO 0 Message Lost */
|
||
|
uint32_t :6; /**< bit: 26..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF0S_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF0S_OFFSET (0xA4) /**< (MCAN_RXF0S) Receive FIFO 0 Status Register Offset */
|
||
|
|
||
|
#define MCAN_RXF0S_F0FL_Pos 0 /**< (MCAN_RXF0S) Receive FIFO 0 Fill Level Position */
|
||
|
#define MCAN_RXF0S_F0FL_Msk (_U_(0x7F) << MCAN_RXF0S_F0FL_Pos) /**< (MCAN_RXF0S) Receive FIFO 0 Fill Level Mask */
|
||
|
#define MCAN_RXF0S_F0FL(value) (MCAN_RXF0S_F0FL_Msk & ((value) << MCAN_RXF0S_F0FL_Pos))
|
||
|
#define MCAN_RXF0S_F0GI_Pos 8 /**< (MCAN_RXF0S) Receive FIFO 0 Get Index Position */
|
||
|
#define MCAN_RXF0S_F0GI_Msk (_U_(0x3F) << MCAN_RXF0S_F0GI_Pos) /**< (MCAN_RXF0S) Receive FIFO 0 Get Index Mask */
|
||
|
#define MCAN_RXF0S_F0GI(value) (MCAN_RXF0S_F0GI_Msk & ((value) << MCAN_RXF0S_F0GI_Pos))
|
||
|
#define MCAN_RXF0S_F0PI_Pos 16 /**< (MCAN_RXF0S) Receive FIFO 0 Put Index Position */
|
||
|
#define MCAN_RXF0S_F0PI_Msk (_U_(0x3F) << MCAN_RXF0S_F0PI_Pos) /**< (MCAN_RXF0S) Receive FIFO 0 Put Index Mask */
|
||
|
#define MCAN_RXF0S_F0PI(value) (MCAN_RXF0S_F0PI_Msk & ((value) << MCAN_RXF0S_F0PI_Pos))
|
||
|
#define MCAN_RXF0S_F0F_Pos 24 /**< (MCAN_RXF0S) Receive FIFO 0 Fill Level Position */
|
||
|
#define MCAN_RXF0S_F0F_Msk (_U_(0x1) << MCAN_RXF0S_F0F_Pos) /**< (MCAN_RXF0S) Receive FIFO 0 Fill Level Mask */
|
||
|
#define MCAN_RXF0S_F0F MCAN_RXF0S_F0F_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0S_F0F_Msk instead */
|
||
|
#define MCAN_RXF0S_RF0L_Pos 25 /**< (MCAN_RXF0S) Receive FIFO 0 Message Lost Position */
|
||
|
#define MCAN_RXF0S_RF0L_Msk (_U_(0x1) << MCAN_RXF0S_RF0L_Pos) /**< (MCAN_RXF0S) Receive FIFO 0 Message Lost Mask */
|
||
|
#define MCAN_RXF0S_RF0L MCAN_RXF0S_RF0L_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF0S_RF0L_Msk instead */
|
||
|
#define MCAN_RXF0S_MASK _U_(0x33F3F7F) /**< \deprecated (MCAN_RXF0S) Register MASK (Use MCAN_RXF0S_Msk instead) */
|
||
|
#define MCAN_RXF0S_Msk _U_(0x33F3F7F) /**< (MCAN_RXF0S) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF0A : (MCAN Offset: 0xa8) (R/W 32) Receive FIFO 0 Acknowledge Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t F0AI:6; /**< bit: 0..5 Receive FIFO 0 Acknowledge Index */
|
||
|
uint32_t :26; /**< bit: 6..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF0A_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF0A_OFFSET (0xA8) /**< (MCAN_RXF0A) Receive FIFO 0 Acknowledge Register Offset */
|
||
|
|
||
|
#define MCAN_RXF0A_F0AI_Pos 0 /**< (MCAN_RXF0A) Receive FIFO 0 Acknowledge Index Position */
|
||
|
#define MCAN_RXF0A_F0AI_Msk (_U_(0x3F) << MCAN_RXF0A_F0AI_Pos) /**< (MCAN_RXF0A) Receive FIFO 0 Acknowledge Index Mask */
|
||
|
#define MCAN_RXF0A_F0AI(value) (MCAN_RXF0A_F0AI_Msk & ((value) << MCAN_RXF0A_F0AI_Pos))
|
||
|
#define MCAN_RXF0A_MASK _U_(0x3F) /**< \deprecated (MCAN_RXF0A) Register MASK (Use MCAN_RXF0A_Msk instead) */
|
||
|
#define MCAN_RXF0A_Msk _U_(0x3F) /**< (MCAN_RXF0A) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXBC : (MCAN Offset: 0xac) (R/W 32) Receive Rx Buffer Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :2; /**< bit: 0..1 Reserved */
|
||
|
uint32_t RBSA:14; /**< bit: 2..15 Receive Buffer Start Address */
|
||
|
uint32_t :16; /**< bit: 16..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXBC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXBC_OFFSET (0xAC) /**< (MCAN_RXBC) Receive Rx Buffer Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_RXBC_RBSA_Pos 2 /**< (MCAN_RXBC) Receive Buffer Start Address Position */
|
||
|
#define MCAN_RXBC_RBSA_Msk (_U_(0x3FFF) << MCAN_RXBC_RBSA_Pos) /**< (MCAN_RXBC) Receive Buffer Start Address Mask */
|
||
|
#define MCAN_RXBC_RBSA(value) (MCAN_RXBC_RBSA_Msk & ((value) << MCAN_RXBC_RBSA_Pos))
|
||
|
#define MCAN_RXBC_MASK _U_(0xFFFC) /**< \deprecated (MCAN_RXBC) Register MASK (Use MCAN_RXBC_Msk instead) */
|
||
|
#define MCAN_RXBC_Msk _U_(0xFFFC) /**< (MCAN_RXBC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF1C : (MCAN Offset: 0xb0) (R/W 32) Receive FIFO 1 Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :2; /**< bit: 0..1 Reserved */
|
||
|
uint32_t F1SA:14; /**< bit: 2..15 Receive FIFO 1 Start Address */
|
||
|
uint32_t F1S:7; /**< bit: 16..22 Receive FIFO 1 Start Address */
|
||
|
uint32_t :1; /**< bit: 23 Reserved */
|
||
|
uint32_t F1WM:7; /**< bit: 24..30 Receive FIFO 1 Watermark */
|
||
|
uint32_t F1OM:1; /**< bit: 31 FIFO 1 Operation Mode */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF1C_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF1C_OFFSET (0xB0) /**< (MCAN_RXF1C) Receive FIFO 1 Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_RXF1C_F1SA_Pos 2 /**< (MCAN_RXF1C) Receive FIFO 1 Start Address Position */
|
||
|
#define MCAN_RXF1C_F1SA_Msk (_U_(0x3FFF) << MCAN_RXF1C_F1SA_Pos) /**< (MCAN_RXF1C) Receive FIFO 1 Start Address Mask */
|
||
|
#define MCAN_RXF1C_F1SA(value) (MCAN_RXF1C_F1SA_Msk & ((value) << MCAN_RXF1C_F1SA_Pos))
|
||
|
#define MCAN_RXF1C_F1S_Pos 16 /**< (MCAN_RXF1C) Receive FIFO 1 Start Address Position */
|
||
|
#define MCAN_RXF1C_F1S_Msk (_U_(0x7F) << MCAN_RXF1C_F1S_Pos) /**< (MCAN_RXF1C) Receive FIFO 1 Start Address Mask */
|
||
|
#define MCAN_RXF1C_F1S(value) (MCAN_RXF1C_F1S_Msk & ((value) << MCAN_RXF1C_F1S_Pos))
|
||
|
#define MCAN_RXF1C_F1WM_Pos 24 /**< (MCAN_RXF1C) Receive FIFO 1 Watermark Position */
|
||
|
#define MCAN_RXF1C_F1WM_Msk (_U_(0x7F) << MCAN_RXF1C_F1WM_Pos) /**< (MCAN_RXF1C) Receive FIFO 1 Watermark Mask */
|
||
|
#define MCAN_RXF1C_F1WM(value) (MCAN_RXF1C_F1WM_Msk & ((value) << MCAN_RXF1C_F1WM_Pos))
|
||
|
#define MCAN_RXF1C_F1OM_Pos 31 /**< (MCAN_RXF1C) FIFO 1 Operation Mode Position */
|
||
|
#define MCAN_RXF1C_F1OM_Msk (_U_(0x1) << MCAN_RXF1C_F1OM_Pos) /**< (MCAN_RXF1C) FIFO 1 Operation Mode Mask */
|
||
|
#define MCAN_RXF1C_F1OM MCAN_RXF1C_F1OM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1C_F1OM_Msk instead */
|
||
|
#define MCAN_RXF1C_MASK _U_(0xFF7FFFFC) /**< \deprecated (MCAN_RXF1C) Register MASK (Use MCAN_RXF1C_Msk instead) */
|
||
|
#define MCAN_RXF1C_Msk _U_(0xFF7FFFFC) /**< (MCAN_RXF1C) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF1S : (MCAN Offset: 0xb4) (R/ 32) Receive FIFO 1 Status Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t F1FL:7; /**< bit: 0..6 Receive FIFO 1 Fill Level */
|
||
|
uint32_t :1; /**< bit: 7 Reserved */
|
||
|
uint32_t F1GI:6; /**< bit: 8..13 Receive FIFO 1 Get Index */
|
||
|
uint32_t :2; /**< bit: 14..15 Reserved */
|
||
|
uint32_t F1PI:6; /**< bit: 16..21 Receive FIFO 1 Put Index */
|
||
|
uint32_t :2; /**< bit: 22..23 Reserved */
|
||
|
uint32_t F1F:1; /**< bit: 24 Receive FIFO 1 Fill Level */
|
||
|
uint32_t RF1L:1; /**< bit: 25 Receive FIFO 1 Message Lost */
|
||
|
uint32_t :4; /**< bit: 26..29 Reserved */
|
||
|
uint32_t DMS:2; /**< bit: 30..31 Debug Message Status */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF1S_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF1S_OFFSET (0xB4) /**< (MCAN_RXF1S) Receive FIFO 1 Status Register Offset */
|
||
|
|
||
|
#define MCAN_RXF1S_F1FL_Pos 0 /**< (MCAN_RXF1S) Receive FIFO 1 Fill Level Position */
|
||
|
#define MCAN_RXF1S_F1FL_Msk (_U_(0x7F) << MCAN_RXF1S_F1FL_Pos) /**< (MCAN_RXF1S) Receive FIFO 1 Fill Level Mask */
|
||
|
#define MCAN_RXF1S_F1FL(value) (MCAN_RXF1S_F1FL_Msk & ((value) << MCAN_RXF1S_F1FL_Pos))
|
||
|
#define MCAN_RXF1S_F1GI_Pos 8 /**< (MCAN_RXF1S) Receive FIFO 1 Get Index Position */
|
||
|
#define MCAN_RXF1S_F1GI_Msk (_U_(0x3F) << MCAN_RXF1S_F1GI_Pos) /**< (MCAN_RXF1S) Receive FIFO 1 Get Index Mask */
|
||
|
#define MCAN_RXF1S_F1GI(value) (MCAN_RXF1S_F1GI_Msk & ((value) << MCAN_RXF1S_F1GI_Pos))
|
||
|
#define MCAN_RXF1S_F1PI_Pos 16 /**< (MCAN_RXF1S) Receive FIFO 1 Put Index Position */
|
||
|
#define MCAN_RXF1S_F1PI_Msk (_U_(0x3F) << MCAN_RXF1S_F1PI_Pos) /**< (MCAN_RXF1S) Receive FIFO 1 Put Index Mask */
|
||
|
#define MCAN_RXF1S_F1PI(value) (MCAN_RXF1S_F1PI_Msk & ((value) << MCAN_RXF1S_F1PI_Pos))
|
||
|
#define MCAN_RXF1S_F1F_Pos 24 /**< (MCAN_RXF1S) Receive FIFO 1 Fill Level Position */
|
||
|
#define MCAN_RXF1S_F1F_Msk (_U_(0x1) << MCAN_RXF1S_F1F_Pos) /**< (MCAN_RXF1S) Receive FIFO 1 Fill Level Mask */
|
||
|
#define MCAN_RXF1S_F1F MCAN_RXF1S_F1F_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1S_F1F_Msk instead */
|
||
|
#define MCAN_RXF1S_RF1L_Pos 25 /**< (MCAN_RXF1S) Receive FIFO 1 Message Lost Position */
|
||
|
#define MCAN_RXF1S_RF1L_Msk (_U_(0x1) << MCAN_RXF1S_RF1L_Pos) /**< (MCAN_RXF1S) Receive FIFO 1 Message Lost Mask */
|
||
|
#define MCAN_RXF1S_RF1L MCAN_RXF1S_RF1L_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_RXF1S_RF1L_Msk instead */
|
||
|
#define MCAN_RXF1S_DMS_Pos 30 /**< (MCAN_RXF1S) Debug Message Status Position */
|
||
|
#define MCAN_RXF1S_DMS_Msk (_U_(0x3) << MCAN_RXF1S_DMS_Pos) /**< (MCAN_RXF1S) Debug Message Status Mask */
|
||
|
#define MCAN_RXF1S_DMS(value) (MCAN_RXF1S_DMS_Msk & ((value) << MCAN_RXF1S_DMS_Pos))
|
||
|
#define MCAN_RXF1S_DMS_IDLE_Val _U_(0x0) /**< (MCAN_RXF1S) Idle state, wait for reception of debug messages, DMA request is cleared. */
|
||
|
#define MCAN_RXF1S_DMS_MSG_A_Val _U_(0x1) /**< (MCAN_RXF1S) Debug message A received. */
|
||
|
#define MCAN_RXF1S_DMS_MSG_AB_Val _U_(0x2) /**< (MCAN_RXF1S) Debug messages A, B received. */
|
||
|
#define MCAN_RXF1S_DMS_MSG_ABC_Val _U_(0x3) /**< (MCAN_RXF1S) Debug messages A, B, C received, DMA request is set. */
|
||
|
#define MCAN_RXF1S_DMS_IDLE (MCAN_RXF1S_DMS_IDLE_Val << MCAN_RXF1S_DMS_Pos) /**< (MCAN_RXF1S) Idle state, wait for reception of debug messages, DMA request is cleared. Position */
|
||
|
#define MCAN_RXF1S_DMS_MSG_A (MCAN_RXF1S_DMS_MSG_A_Val << MCAN_RXF1S_DMS_Pos) /**< (MCAN_RXF1S) Debug message A received. Position */
|
||
|
#define MCAN_RXF1S_DMS_MSG_AB (MCAN_RXF1S_DMS_MSG_AB_Val << MCAN_RXF1S_DMS_Pos) /**< (MCAN_RXF1S) Debug messages A, B received. Position */
|
||
|
#define MCAN_RXF1S_DMS_MSG_ABC (MCAN_RXF1S_DMS_MSG_ABC_Val << MCAN_RXF1S_DMS_Pos) /**< (MCAN_RXF1S) Debug messages A, B, C received, DMA request is set. Position */
|
||
|
#define MCAN_RXF1S_MASK _U_(0xC33F3F7F) /**< \deprecated (MCAN_RXF1S) Register MASK (Use MCAN_RXF1S_Msk instead) */
|
||
|
#define MCAN_RXF1S_Msk _U_(0xC33F3F7F) /**< (MCAN_RXF1S) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXF1A : (MCAN Offset: 0xb8) (R/W 32) Receive FIFO 1 Acknowledge Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t F1AI:6; /**< bit: 0..5 Receive FIFO 1 Acknowledge Index */
|
||
|
uint32_t :26; /**< bit: 6..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXF1A_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXF1A_OFFSET (0xB8) /**< (MCAN_RXF1A) Receive FIFO 1 Acknowledge Register Offset */
|
||
|
|
||
|
#define MCAN_RXF1A_F1AI_Pos 0 /**< (MCAN_RXF1A) Receive FIFO 1 Acknowledge Index Position */
|
||
|
#define MCAN_RXF1A_F1AI_Msk (_U_(0x3F) << MCAN_RXF1A_F1AI_Pos) /**< (MCAN_RXF1A) Receive FIFO 1 Acknowledge Index Mask */
|
||
|
#define MCAN_RXF1A_F1AI(value) (MCAN_RXF1A_F1AI_Msk & ((value) << MCAN_RXF1A_F1AI_Pos))
|
||
|
#define MCAN_RXF1A_MASK _U_(0x3F) /**< \deprecated (MCAN_RXF1A) Register MASK (Use MCAN_RXF1A_Msk instead) */
|
||
|
#define MCAN_RXF1A_Msk _U_(0x3F) /**< (MCAN_RXF1A) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_RXESC : (MCAN Offset: 0xbc) (R/W 32) Receive Buffer / FIFO Element Size Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t F0DS:3; /**< bit: 0..2 Receive FIFO 0 Data Field Size */
|
||
|
uint32_t :1; /**< bit: 3 Reserved */
|
||
|
uint32_t F1DS:3; /**< bit: 4..6 Receive FIFO 1 Data Field Size */
|
||
|
uint32_t :1; /**< bit: 7 Reserved */
|
||
|
uint32_t RBDS:3; /**< bit: 8..10 Receive Buffer Data Field Size */
|
||
|
uint32_t :21; /**< bit: 11..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_RXESC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_RXESC_OFFSET (0xBC) /**< (MCAN_RXESC) Receive Buffer / FIFO Element Size Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_RXESC_F0DS_Pos 0 /**< (MCAN_RXESC) Receive FIFO 0 Data Field Size Position */
|
||
|
#define MCAN_RXESC_F0DS_Msk (_U_(0x7) << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) Receive FIFO 0 Data Field Size Mask */
|
||
|
#define MCAN_RXESC_F0DS(value) (MCAN_RXESC_F0DS_Msk & ((value) << MCAN_RXESC_F0DS_Pos))
|
||
|
#define MCAN_RXESC_F0DS_8_BYTE_Val _U_(0x0) /**< (MCAN_RXESC) 8-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_12_BYTE_Val _U_(0x1) /**< (MCAN_RXESC) 12-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_16_BYTE_Val _U_(0x2) /**< (MCAN_RXESC) 16-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_20_BYTE_Val _U_(0x3) /**< (MCAN_RXESC) 20-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_24_BYTE_Val _U_(0x4) /**< (MCAN_RXESC) 24-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_32_BYTE_Val _U_(0x5) /**< (MCAN_RXESC) 32-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_48_BYTE_Val _U_(0x6) /**< (MCAN_RXESC) 48-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_64_BYTE_Val _U_(0x7) /**< (MCAN_RXESC) 64-byte data field */
|
||
|
#define MCAN_RXESC_F0DS_8_BYTE (MCAN_RXESC_F0DS_8_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 8-byte data field Position */
|
||
|
#define MCAN_RXESC_F0DS_12_BYTE (MCAN_RXESC_F0DS_12_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 12-byte data field Position */
|
||
|
#define MCAN_RXESC_F0DS_16_BYTE (MCAN_RXESC_F0DS_16_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 16-byte data field Position */
|
||
|
#define MCAN_RXESC_F0DS_20_BYTE (MCAN_RXESC_F0DS_20_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 20-byte data field Position */
|
||
|
#define MCAN_RXESC_F0DS_24_BYTE (MCAN_RXESC_F0DS_24_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 24-byte data field Position */
|
||
|
#define MCAN_RXESC_F0DS_32_BYTE (MCAN_RXESC_F0DS_32_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 32-byte data field Position */
|
||
|
#define MCAN_RXESC_F0DS_48_BYTE (MCAN_RXESC_F0DS_48_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 48-byte data field Position */
|
||
|
#define MCAN_RXESC_F0DS_64_BYTE (MCAN_RXESC_F0DS_64_BYTE_Val << MCAN_RXESC_F0DS_Pos) /**< (MCAN_RXESC) 64-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_Pos 4 /**< (MCAN_RXESC) Receive FIFO 1 Data Field Size Position */
|
||
|
#define MCAN_RXESC_F1DS_Msk (_U_(0x7) << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) Receive FIFO 1 Data Field Size Mask */
|
||
|
#define MCAN_RXESC_F1DS(value) (MCAN_RXESC_F1DS_Msk & ((value) << MCAN_RXESC_F1DS_Pos))
|
||
|
#define MCAN_RXESC_F1DS_8_BYTE_Val _U_(0x0) /**< (MCAN_RXESC) 8-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_12_BYTE_Val _U_(0x1) /**< (MCAN_RXESC) 12-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_16_BYTE_Val _U_(0x2) /**< (MCAN_RXESC) 16-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_20_BYTE_Val _U_(0x3) /**< (MCAN_RXESC) 20-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_24_BYTE_Val _U_(0x4) /**< (MCAN_RXESC) 24-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_32_BYTE_Val _U_(0x5) /**< (MCAN_RXESC) 32-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_48_BYTE_Val _U_(0x6) /**< (MCAN_RXESC) 48-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_64_BYTE_Val _U_(0x7) /**< (MCAN_RXESC) 64-byte data field */
|
||
|
#define MCAN_RXESC_F1DS_8_BYTE (MCAN_RXESC_F1DS_8_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 8-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_12_BYTE (MCAN_RXESC_F1DS_12_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 12-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_16_BYTE (MCAN_RXESC_F1DS_16_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 16-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_20_BYTE (MCAN_RXESC_F1DS_20_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 20-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_24_BYTE (MCAN_RXESC_F1DS_24_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 24-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_32_BYTE (MCAN_RXESC_F1DS_32_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 32-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_48_BYTE (MCAN_RXESC_F1DS_48_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 48-byte data field Position */
|
||
|
#define MCAN_RXESC_F1DS_64_BYTE (MCAN_RXESC_F1DS_64_BYTE_Val << MCAN_RXESC_F1DS_Pos) /**< (MCAN_RXESC) 64-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_Pos 8 /**< (MCAN_RXESC) Receive Buffer Data Field Size Position */
|
||
|
#define MCAN_RXESC_RBDS_Msk (_U_(0x7) << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) Receive Buffer Data Field Size Mask */
|
||
|
#define MCAN_RXESC_RBDS(value) (MCAN_RXESC_RBDS_Msk & ((value) << MCAN_RXESC_RBDS_Pos))
|
||
|
#define MCAN_RXESC_RBDS_8_BYTE_Val _U_(0x0) /**< (MCAN_RXESC) 8-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_12_BYTE_Val _U_(0x1) /**< (MCAN_RXESC) 12-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_16_BYTE_Val _U_(0x2) /**< (MCAN_RXESC) 16-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_20_BYTE_Val _U_(0x3) /**< (MCAN_RXESC) 20-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_24_BYTE_Val _U_(0x4) /**< (MCAN_RXESC) 24-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_32_BYTE_Val _U_(0x5) /**< (MCAN_RXESC) 32-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_48_BYTE_Val _U_(0x6) /**< (MCAN_RXESC) 48-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_64_BYTE_Val _U_(0x7) /**< (MCAN_RXESC) 64-byte data field */
|
||
|
#define MCAN_RXESC_RBDS_8_BYTE (MCAN_RXESC_RBDS_8_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 8-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_12_BYTE (MCAN_RXESC_RBDS_12_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 12-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_16_BYTE (MCAN_RXESC_RBDS_16_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 16-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_20_BYTE (MCAN_RXESC_RBDS_20_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 20-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_24_BYTE (MCAN_RXESC_RBDS_24_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 24-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_32_BYTE (MCAN_RXESC_RBDS_32_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 32-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_48_BYTE (MCAN_RXESC_RBDS_48_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 48-byte data field Position */
|
||
|
#define MCAN_RXESC_RBDS_64_BYTE (MCAN_RXESC_RBDS_64_BYTE_Val << MCAN_RXESC_RBDS_Pos) /**< (MCAN_RXESC) 64-byte data field Position */
|
||
|
#define MCAN_RXESC_MASK _U_(0x777) /**< \deprecated (MCAN_RXESC) Register MASK (Use MCAN_RXESC_Msk instead) */
|
||
|
#define MCAN_RXESC_Msk _U_(0x777) /**< (MCAN_RXESC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXBC : (MCAN Offset: 0xc0) (R/W 32) Transmit Buffer Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :2; /**< bit: 0..1 Reserved */
|
||
|
uint32_t TBSA:14; /**< bit: 2..15 Tx Buffers Start Address */
|
||
|
uint32_t NDTB:6; /**< bit: 16..21 Number of Dedicated Transmit Buffers */
|
||
|
uint32_t :2; /**< bit: 22..23 Reserved */
|
||
|
uint32_t TFQS:6; /**< bit: 24..29 Transmit FIFO/Queue Size */
|
||
|
uint32_t TFQM:1; /**< bit: 30 Tx FIFO/Queue Mode */
|
||
|
uint32_t :1; /**< bit: 31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBC_OFFSET (0xC0) /**< (MCAN_TXBC) Transmit Buffer Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_TXBC_TBSA_Pos 2 /**< (MCAN_TXBC) Tx Buffers Start Address Position */
|
||
|
#define MCAN_TXBC_TBSA_Msk (_U_(0x3FFF) << MCAN_TXBC_TBSA_Pos) /**< (MCAN_TXBC) Tx Buffers Start Address Mask */
|
||
|
#define MCAN_TXBC_TBSA(value) (MCAN_TXBC_TBSA_Msk & ((value) << MCAN_TXBC_TBSA_Pos))
|
||
|
#define MCAN_TXBC_NDTB_Pos 16 /**< (MCAN_TXBC) Number of Dedicated Transmit Buffers Position */
|
||
|
#define MCAN_TXBC_NDTB_Msk (_U_(0x3F) << MCAN_TXBC_NDTB_Pos) /**< (MCAN_TXBC) Number of Dedicated Transmit Buffers Mask */
|
||
|
#define MCAN_TXBC_NDTB(value) (MCAN_TXBC_NDTB_Msk & ((value) << MCAN_TXBC_NDTB_Pos))
|
||
|
#define MCAN_TXBC_TFQS_Pos 24 /**< (MCAN_TXBC) Transmit FIFO/Queue Size Position */
|
||
|
#define MCAN_TXBC_TFQS_Msk (_U_(0x3F) << MCAN_TXBC_TFQS_Pos) /**< (MCAN_TXBC) Transmit FIFO/Queue Size Mask */
|
||
|
#define MCAN_TXBC_TFQS(value) (MCAN_TXBC_TFQS_Msk & ((value) << MCAN_TXBC_TFQS_Pos))
|
||
|
#define MCAN_TXBC_TFQM_Pos 30 /**< (MCAN_TXBC) Tx FIFO/Queue Mode Position */
|
||
|
#define MCAN_TXBC_TFQM_Msk (_U_(0x1) << MCAN_TXBC_TFQM_Pos) /**< (MCAN_TXBC) Tx FIFO/Queue Mode Mask */
|
||
|
#define MCAN_TXBC_TFQM MCAN_TXBC_TFQM_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBC_TFQM_Msk instead */
|
||
|
#define MCAN_TXBC_MASK _U_(0x7F3FFFFC) /**< \deprecated (MCAN_TXBC) Register MASK (Use MCAN_TXBC_Msk instead) */
|
||
|
#define MCAN_TXBC_Msk _U_(0x7F3FFFFC) /**< (MCAN_TXBC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXFQS : (MCAN Offset: 0xc4) (R/ 32) Transmit FIFO/Queue Status Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TFFL:6; /**< bit: 0..5 Tx FIFO Free Level */
|
||
|
uint32_t :2; /**< bit: 6..7 Reserved */
|
||
|
uint32_t TFGI:5; /**< bit: 8..12 Tx FIFO Get Index */
|
||
|
uint32_t :3; /**< bit: 13..15 Reserved */
|
||
|
uint32_t TFQPI:5; /**< bit: 16..20 Tx FIFO/Queue Put Index */
|
||
|
uint32_t TFQF:1; /**< bit: 21 Tx FIFO/Queue Full */
|
||
|
uint32_t :10; /**< bit: 22..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXFQS_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXFQS_OFFSET (0xC4) /**< (MCAN_TXFQS) Transmit FIFO/Queue Status Register Offset */
|
||
|
|
||
|
#define MCAN_TXFQS_TFFL_Pos 0 /**< (MCAN_TXFQS) Tx FIFO Free Level Position */
|
||
|
#define MCAN_TXFQS_TFFL_Msk (_U_(0x3F) << MCAN_TXFQS_TFFL_Pos) /**< (MCAN_TXFQS) Tx FIFO Free Level Mask */
|
||
|
#define MCAN_TXFQS_TFFL(value) (MCAN_TXFQS_TFFL_Msk & ((value) << MCAN_TXFQS_TFFL_Pos))
|
||
|
#define MCAN_TXFQS_TFGI_Pos 8 /**< (MCAN_TXFQS) Tx FIFO Get Index Position */
|
||
|
#define MCAN_TXFQS_TFGI_Msk (_U_(0x1F) << MCAN_TXFQS_TFGI_Pos) /**< (MCAN_TXFQS) Tx FIFO Get Index Mask */
|
||
|
#define MCAN_TXFQS_TFGI(value) (MCAN_TXFQS_TFGI_Msk & ((value) << MCAN_TXFQS_TFGI_Pos))
|
||
|
#define MCAN_TXFQS_TFQPI_Pos 16 /**< (MCAN_TXFQS) Tx FIFO/Queue Put Index Position */
|
||
|
#define MCAN_TXFQS_TFQPI_Msk (_U_(0x1F) << MCAN_TXFQS_TFQPI_Pos) /**< (MCAN_TXFQS) Tx FIFO/Queue Put Index Mask */
|
||
|
#define MCAN_TXFQS_TFQPI(value) (MCAN_TXFQS_TFQPI_Msk & ((value) << MCAN_TXFQS_TFQPI_Pos))
|
||
|
#define MCAN_TXFQS_TFQF_Pos 21 /**< (MCAN_TXFQS) Tx FIFO/Queue Full Position */
|
||
|
#define MCAN_TXFQS_TFQF_Msk (_U_(0x1) << MCAN_TXFQS_TFQF_Pos) /**< (MCAN_TXFQS) Tx FIFO/Queue Full Mask */
|
||
|
#define MCAN_TXFQS_TFQF MCAN_TXFQS_TFQF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXFQS_TFQF_Msk instead */
|
||
|
#define MCAN_TXFQS_MASK _U_(0x3F1F3F) /**< \deprecated (MCAN_TXFQS) Register MASK (Use MCAN_TXFQS_Msk instead) */
|
||
|
#define MCAN_TXFQS_Msk _U_(0x3F1F3F) /**< (MCAN_TXFQS) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXESC : (MCAN Offset: 0xc8) (R/W 32) Transmit Buffer Element Size Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TBDS:3; /**< bit: 0..2 Tx Buffer Data Field Size */
|
||
|
uint32_t :29; /**< bit: 3..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXESC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXESC_OFFSET (0xC8) /**< (MCAN_TXESC) Transmit Buffer Element Size Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_TXESC_TBDS_Pos 0 /**< (MCAN_TXESC) Tx Buffer Data Field Size Position */
|
||
|
#define MCAN_TXESC_TBDS_Msk (_U_(0x7) << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) Tx Buffer Data Field Size Mask */
|
||
|
#define MCAN_TXESC_TBDS(value) (MCAN_TXESC_TBDS_Msk & ((value) << MCAN_TXESC_TBDS_Pos))
|
||
|
#define MCAN_TXESC_TBDS_8_BYTE_Val _U_(0x0) /**< (MCAN_TXESC) 8-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_12_BYTE_Val _U_(0x1) /**< (MCAN_TXESC) 12-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_16_BYTE_Val _U_(0x2) /**< (MCAN_TXESC) 16-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_20_BYTE_Val _U_(0x3) /**< (MCAN_TXESC) 20-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_24_BYTE_Val _U_(0x4) /**< (MCAN_TXESC) 24-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_32_BYTE_Val _U_(0x5) /**< (MCAN_TXESC) 32-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_48_BYTE_Val _U_(0x6) /**< (MCAN_TXESC) 48-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_64_BYTE_Val _U_(0x7) /**< (MCAN_TXESC) 64-byte data field */
|
||
|
#define MCAN_TXESC_TBDS_8_BYTE (MCAN_TXESC_TBDS_8_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 8-byte data field Position */
|
||
|
#define MCAN_TXESC_TBDS_12_BYTE (MCAN_TXESC_TBDS_12_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 12-byte data field Position */
|
||
|
#define MCAN_TXESC_TBDS_16_BYTE (MCAN_TXESC_TBDS_16_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 16-byte data field Position */
|
||
|
#define MCAN_TXESC_TBDS_20_BYTE (MCAN_TXESC_TBDS_20_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 20-byte data field Position */
|
||
|
#define MCAN_TXESC_TBDS_24_BYTE (MCAN_TXESC_TBDS_24_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 24-byte data field Position */
|
||
|
#define MCAN_TXESC_TBDS_32_BYTE (MCAN_TXESC_TBDS_32_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 32-byte data field Position */
|
||
|
#define MCAN_TXESC_TBDS_48_BYTE (MCAN_TXESC_TBDS_48_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 48-byte data field Position */
|
||
|
#define MCAN_TXESC_TBDS_64_BYTE (MCAN_TXESC_TBDS_64_BYTE_Val << MCAN_TXESC_TBDS_Pos) /**< (MCAN_TXESC) 64-byte data field Position */
|
||
|
#define MCAN_TXESC_MASK _U_(0x07) /**< \deprecated (MCAN_TXESC) Register MASK (Use MCAN_TXESC_Msk instead) */
|
||
|
#define MCAN_TXESC_Msk _U_(0x07) /**< (MCAN_TXESC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXBRP : (MCAN Offset: 0xcc) (R/ 32) Transmit Buffer Request Pending Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TRP0:1; /**< bit: 0 Transmission Request Pending for Buffer 0 */
|
||
|
uint32_t TRP1:1; /**< bit: 1 Transmission Request Pending for Buffer 1 */
|
||
|
uint32_t TRP2:1; /**< bit: 2 Transmission Request Pending for Buffer 2 */
|
||
|
uint32_t TRP3:1; /**< bit: 3 Transmission Request Pending for Buffer 3 */
|
||
|
uint32_t TRP4:1; /**< bit: 4 Transmission Request Pending for Buffer 4 */
|
||
|
uint32_t TRP5:1; /**< bit: 5 Transmission Request Pending for Buffer 5 */
|
||
|
uint32_t TRP6:1; /**< bit: 6 Transmission Request Pending for Buffer 6 */
|
||
|
uint32_t TRP7:1; /**< bit: 7 Transmission Request Pending for Buffer 7 */
|
||
|
uint32_t TRP8:1; /**< bit: 8 Transmission Request Pending for Buffer 8 */
|
||
|
uint32_t TRP9:1; /**< bit: 9 Transmission Request Pending for Buffer 9 */
|
||
|
uint32_t TRP10:1; /**< bit: 10 Transmission Request Pending for Buffer 10 */
|
||
|
uint32_t TRP11:1; /**< bit: 11 Transmission Request Pending for Buffer 11 */
|
||
|
uint32_t TRP12:1; /**< bit: 12 Transmission Request Pending for Buffer 12 */
|
||
|
uint32_t TRP13:1; /**< bit: 13 Transmission Request Pending for Buffer 13 */
|
||
|
uint32_t TRP14:1; /**< bit: 14 Transmission Request Pending for Buffer 14 */
|
||
|
uint32_t TRP15:1; /**< bit: 15 Transmission Request Pending for Buffer 15 */
|
||
|
uint32_t TRP16:1; /**< bit: 16 Transmission Request Pending for Buffer 16 */
|
||
|
uint32_t TRP17:1; /**< bit: 17 Transmission Request Pending for Buffer 17 */
|
||
|
uint32_t TRP18:1; /**< bit: 18 Transmission Request Pending for Buffer 18 */
|
||
|
uint32_t TRP19:1; /**< bit: 19 Transmission Request Pending for Buffer 19 */
|
||
|
uint32_t TRP20:1; /**< bit: 20 Transmission Request Pending for Buffer 20 */
|
||
|
uint32_t TRP21:1; /**< bit: 21 Transmission Request Pending for Buffer 21 */
|
||
|
uint32_t TRP22:1; /**< bit: 22 Transmission Request Pending for Buffer 22 */
|
||
|
uint32_t TRP23:1; /**< bit: 23 Transmission Request Pending for Buffer 23 */
|
||
|
uint32_t TRP24:1; /**< bit: 24 Transmission Request Pending for Buffer 24 */
|
||
|
uint32_t TRP25:1; /**< bit: 25 Transmission Request Pending for Buffer 25 */
|
||
|
uint32_t TRP26:1; /**< bit: 26 Transmission Request Pending for Buffer 26 */
|
||
|
uint32_t TRP27:1; /**< bit: 27 Transmission Request Pending for Buffer 27 */
|
||
|
uint32_t TRP28:1; /**< bit: 28 Transmission Request Pending for Buffer 28 */
|
||
|
uint32_t TRP29:1; /**< bit: 29 Transmission Request Pending for Buffer 29 */
|
||
|
uint32_t TRP30:1; /**< bit: 30 Transmission Request Pending for Buffer 30 */
|
||
|
uint32_t TRP31:1; /**< bit: 31 Transmission Request Pending for Buffer 31 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t TRP:32; /**< bit: 0..31 Transmission Request Pending for Buffer 3x */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBRP_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBRP_OFFSET (0xCC) /**< (MCAN_TXBRP) Transmit Buffer Request Pending Register Offset */
|
||
|
|
||
|
#define MCAN_TXBRP_TRP0_Pos 0 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 0 Position */
|
||
|
#define MCAN_TXBRP_TRP0_Msk (_U_(0x1) << MCAN_TXBRP_TRP0_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 0 Mask */
|
||
|
#define MCAN_TXBRP_TRP0 MCAN_TXBRP_TRP0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP0_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP1_Pos 1 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 1 Position */
|
||
|
#define MCAN_TXBRP_TRP1_Msk (_U_(0x1) << MCAN_TXBRP_TRP1_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 1 Mask */
|
||
|
#define MCAN_TXBRP_TRP1 MCAN_TXBRP_TRP1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP1_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP2_Pos 2 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 2 Position */
|
||
|
#define MCAN_TXBRP_TRP2_Msk (_U_(0x1) << MCAN_TXBRP_TRP2_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 2 Mask */
|
||
|
#define MCAN_TXBRP_TRP2 MCAN_TXBRP_TRP2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP2_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP3_Pos 3 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 3 Position */
|
||
|
#define MCAN_TXBRP_TRP3_Msk (_U_(0x1) << MCAN_TXBRP_TRP3_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 3 Mask */
|
||
|
#define MCAN_TXBRP_TRP3 MCAN_TXBRP_TRP3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP3_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP4_Pos 4 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 4 Position */
|
||
|
#define MCAN_TXBRP_TRP4_Msk (_U_(0x1) << MCAN_TXBRP_TRP4_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 4 Mask */
|
||
|
#define MCAN_TXBRP_TRP4 MCAN_TXBRP_TRP4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP4_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP5_Pos 5 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 5 Position */
|
||
|
#define MCAN_TXBRP_TRP5_Msk (_U_(0x1) << MCAN_TXBRP_TRP5_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 5 Mask */
|
||
|
#define MCAN_TXBRP_TRP5 MCAN_TXBRP_TRP5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP5_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP6_Pos 6 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 6 Position */
|
||
|
#define MCAN_TXBRP_TRP6_Msk (_U_(0x1) << MCAN_TXBRP_TRP6_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 6 Mask */
|
||
|
#define MCAN_TXBRP_TRP6 MCAN_TXBRP_TRP6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP6_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP7_Pos 7 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 7 Position */
|
||
|
#define MCAN_TXBRP_TRP7_Msk (_U_(0x1) << MCAN_TXBRP_TRP7_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 7 Mask */
|
||
|
#define MCAN_TXBRP_TRP7 MCAN_TXBRP_TRP7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP7_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP8_Pos 8 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 8 Position */
|
||
|
#define MCAN_TXBRP_TRP8_Msk (_U_(0x1) << MCAN_TXBRP_TRP8_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 8 Mask */
|
||
|
#define MCAN_TXBRP_TRP8 MCAN_TXBRP_TRP8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP8_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP9_Pos 9 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 9 Position */
|
||
|
#define MCAN_TXBRP_TRP9_Msk (_U_(0x1) << MCAN_TXBRP_TRP9_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 9 Mask */
|
||
|
#define MCAN_TXBRP_TRP9 MCAN_TXBRP_TRP9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP9_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP10_Pos 10 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 10 Position */
|
||
|
#define MCAN_TXBRP_TRP10_Msk (_U_(0x1) << MCAN_TXBRP_TRP10_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 10 Mask */
|
||
|
#define MCAN_TXBRP_TRP10 MCAN_TXBRP_TRP10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP10_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP11_Pos 11 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 11 Position */
|
||
|
#define MCAN_TXBRP_TRP11_Msk (_U_(0x1) << MCAN_TXBRP_TRP11_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 11 Mask */
|
||
|
#define MCAN_TXBRP_TRP11 MCAN_TXBRP_TRP11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP11_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP12_Pos 12 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 12 Position */
|
||
|
#define MCAN_TXBRP_TRP12_Msk (_U_(0x1) << MCAN_TXBRP_TRP12_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 12 Mask */
|
||
|
#define MCAN_TXBRP_TRP12 MCAN_TXBRP_TRP12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP12_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP13_Pos 13 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 13 Position */
|
||
|
#define MCAN_TXBRP_TRP13_Msk (_U_(0x1) << MCAN_TXBRP_TRP13_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 13 Mask */
|
||
|
#define MCAN_TXBRP_TRP13 MCAN_TXBRP_TRP13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP13_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP14_Pos 14 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 14 Position */
|
||
|
#define MCAN_TXBRP_TRP14_Msk (_U_(0x1) << MCAN_TXBRP_TRP14_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 14 Mask */
|
||
|
#define MCAN_TXBRP_TRP14 MCAN_TXBRP_TRP14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP14_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP15_Pos 15 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 15 Position */
|
||
|
#define MCAN_TXBRP_TRP15_Msk (_U_(0x1) << MCAN_TXBRP_TRP15_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 15 Mask */
|
||
|
#define MCAN_TXBRP_TRP15 MCAN_TXBRP_TRP15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP15_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP16_Pos 16 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 16 Position */
|
||
|
#define MCAN_TXBRP_TRP16_Msk (_U_(0x1) << MCAN_TXBRP_TRP16_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 16 Mask */
|
||
|
#define MCAN_TXBRP_TRP16 MCAN_TXBRP_TRP16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP16_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP17_Pos 17 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 17 Position */
|
||
|
#define MCAN_TXBRP_TRP17_Msk (_U_(0x1) << MCAN_TXBRP_TRP17_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 17 Mask */
|
||
|
#define MCAN_TXBRP_TRP17 MCAN_TXBRP_TRP17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP17_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP18_Pos 18 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 18 Position */
|
||
|
#define MCAN_TXBRP_TRP18_Msk (_U_(0x1) << MCAN_TXBRP_TRP18_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 18 Mask */
|
||
|
#define MCAN_TXBRP_TRP18 MCAN_TXBRP_TRP18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP18_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP19_Pos 19 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 19 Position */
|
||
|
#define MCAN_TXBRP_TRP19_Msk (_U_(0x1) << MCAN_TXBRP_TRP19_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 19 Mask */
|
||
|
#define MCAN_TXBRP_TRP19 MCAN_TXBRP_TRP19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP19_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP20_Pos 20 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 20 Position */
|
||
|
#define MCAN_TXBRP_TRP20_Msk (_U_(0x1) << MCAN_TXBRP_TRP20_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 20 Mask */
|
||
|
#define MCAN_TXBRP_TRP20 MCAN_TXBRP_TRP20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP20_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP21_Pos 21 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 21 Position */
|
||
|
#define MCAN_TXBRP_TRP21_Msk (_U_(0x1) << MCAN_TXBRP_TRP21_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 21 Mask */
|
||
|
#define MCAN_TXBRP_TRP21 MCAN_TXBRP_TRP21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP21_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP22_Pos 22 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 22 Position */
|
||
|
#define MCAN_TXBRP_TRP22_Msk (_U_(0x1) << MCAN_TXBRP_TRP22_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 22 Mask */
|
||
|
#define MCAN_TXBRP_TRP22 MCAN_TXBRP_TRP22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP22_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP23_Pos 23 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 23 Position */
|
||
|
#define MCAN_TXBRP_TRP23_Msk (_U_(0x1) << MCAN_TXBRP_TRP23_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 23 Mask */
|
||
|
#define MCAN_TXBRP_TRP23 MCAN_TXBRP_TRP23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP23_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP24_Pos 24 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 24 Position */
|
||
|
#define MCAN_TXBRP_TRP24_Msk (_U_(0x1) << MCAN_TXBRP_TRP24_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 24 Mask */
|
||
|
#define MCAN_TXBRP_TRP24 MCAN_TXBRP_TRP24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP24_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP25_Pos 25 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 25 Position */
|
||
|
#define MCAN_TXBRP_TRP25_Msk (_U_(0x1) << MCAN_TXBRP_TRP25_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 25 Mask */
|
||
|
#define MCAN_TXBRP_TRP25 MCAN_TXBRP_TRP25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP25_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP26_Pos 26 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 26 Position */
|
||
|
#define MCAN_TXBRP_TRP26_Msk (_U_(0x1) << MCAN_TXBRP_TRP26_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 26 Mask */
|
||
|
#define MCAN_TXBRP_TRP26 MCAN_TXBRP_TRP26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP26_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP27_Pos 27 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 27 Position */
|
||
|
#define MCAN_TXBRP_TRP27_Msk (_U_(0x1) << MCAN_TXBRP_TRP27_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 27 Mask */
|
||
|
#define MCAN_TXBRP_TRP27 MCAN_TXBRP_TRP27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP27_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP28_Pos 28 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 28 Position */
|
||
|
#define MCAN_TXBRP_TRP28_Msk (_U_(0x1) << MCAN_TXBRP_TRP28_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 28 Mask */
|
||
|
#define MCAN_TXBRP_TRP28 MCAN_TXBRP_TRP28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP28_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP29_Pos 29 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 29 Position */
|
||
|
#define MCAN_TXBRP_TRP29_Msk (_U_(0x1) << MCAN_TXBRP_TRP29_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 29 Mask */
|
||
|
#define MCAN_TXBRP_TRP29 MCAN_TXBRP_TRP29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP29_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP30_Pos 30 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 30 Position */
|
||
|
#define MCAN_TXBRP_TRP30_Msk (_U_(0x1) << MCAN_TXBRP_TRP30_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 30 Mask */
|
||
|
#define MCAN_TXBRP_TRP30 MCAN_TXBRP_TRP30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP30_Msk instead */
|
||
|
#define MCAN_TXBRP_TRP31_Pos 31 /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 31 Position */
|
||
|
#define MCAN_TXBRP_TRP31_Msk (_U_(0x1) << MCAN_TXBRP_TRP31_Pos) /**< (MCAN_TXBRP) Transmission Request Pending for Buffer 31 Mask */
|
||
|
#define MCAN_TXBRP_TRP31 MCAN_TXBRP_TRP31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBRP_TRP31_Msk instead */
|
||
|
#define MCAN_TXBRP_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBRP) Register MASK (Use MCAN_TXBRP_Msk instead) */
|
||
|
#define MCAN_TXBRP_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBRP) Register Mask */
|
||
|
|
||
|
#define MCAN_TXBRP_TRP_Pos 0 /**< (MCAN_TXBRP Position) Transmission Request Pending for Buffer 3x */
|
||
|
#define MCAN_TXBRP_TRP_Msk (_U_(0xFFFFFFFF) << MCAN_TXBRP_TRP_Pos) /**< (MCAN_TXBRP Mask) TRP */
|
||
|
#define MCAN_TXBRP_TRP(value) (MCAN_TXBRP_TRP_Msk & ((value) << MCAN_TXBRP_TRP_Pos))
|
||
|
|
||
|
/* -------- MCAN_TXBAR : (MCAN Offset: 0xd0) (R/W 32) Transmit Buffer Add Request Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t AR0:1; /**< bit: 0 Add Request for Transmit Buffer 0 */
|
||
|
uint32_t AR1:1; /**< bit: 1 Add Request for Transmit Buffer 1 */
|
||
|
uint32_t AR2:1; /**< bit: 2 Add Request for Transmit Buffer 2 */
|
||
|
uint32_t AR3:1; /**< bit: 3 Add Request for Transmit Buffer 3 */
|
||
|
uint32_t AR4:1; /**< bit: 4 Add Request for Transmit Buffer 4 */
|
||
|
uint32_t AR5:1; /**< bit: 5 Add Request for Transmit Buffer 5 */
|
||
|
uint32_t AR6:1; /**< bit: 6 Add Request for Transmit Buffer 6 */
|
||
|
uint32_t AR7:1; /**< bit: 7 Add Request for Transmit Buffer 7 */
|
||
|
uint32_t AR8:1; /**< bit: 8 Add Request for Transmit Buffer 8 */
|
||
|
uint32_t AR9:1; /**< bit: 9 Add Request for Transmit Buffer 9 */
|
||
|
uint32_t AR10:1; /**< bit: 10 Add Request for Transmit Buffer 10 */
|
||
|
uint32_t AR11:1; /**< bit: 11 Add Request for Transmit Buffer 11 */
|
||
|
uint32_t AR12:1; /**< bit: 12 Add Request for Transmit Buffer 12 */
|
||
|
uint32_t AR13:1; /**< bit: 13 Add Request for Transmit Buffer 13 */
|
||
|
uint32_t AR14:1; /**< bit: 14 Add Request for Transmit Buffer 14 */
|
||
|
uint32_t AR15:1; /**< bit: 15 Add Request for Transmit Buffer 15 */
|
||
|
uint32_t AR16:1; /**< bit: 16 Add Request for Transmit Buffer 16 */
|
||
|
uint32_t AR17:1; /**< bit: 17 Add Request for Transmit Buffer 17 */
|
||
|
uint32_t AR18:1; /**< bit: 18 Add Request for Transmit Buffer 18 */
|
||
|
uint32_t AR19:1; /**< bit: 19 Add Request for Transmit Buffer 19 */
|
||
|
uint32_t AR20:1; /**< bit: 20 Add Request for Transmit Buffer 20 */
|
||
|
uint32_t AR21:1; /**< bit: 21 Add Request for Transmit Buffer 21 */
|
||
|
uint32_t AR22:1; /**< bit: 22 Add Request for Transmit Buffer 22 */
|
||
|
uint32_t AR23:1; /**< bit: 23 Add Request for Transmit Buffer 23 */
|
||
|
uint32_t AR24:1; /**< bit: 24 Add Request for Transmit Buffer 24 */
|
||
|
uint32_t AR25:1; /**< bit: 25 Add Request for Transmit Buffer 25 */
|
||
|
uint32_t AR26:1; /**< bit: 26 Add Request for Transmit Buffer 26 */
|
||
|
uint32_t AR27:1; /**< bit: 27 Add Request for Transmit Buffer 27 */
|
||
|
uint32_t AR28:1; /**< bit: 28 Add Request for Transmit Buffer 28 */
|
||
|
uint32_t AR29:1; /**< bit: 29 Add Request for Transmit Buffer 29 */
|
||
|
uint32_t AR30:1; /**< bit: 30 Add Request for Transmit Buffer 30 */
|
||
|
uint32_t AR31:1; /**< bit: 31 Add Request for Transmit Buffer 31 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t AR:32; /**< bit: 0..31 Add Request for Transmit Buffer 3x */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBAR_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBAR_OFFSET (0xD0) /**< (MCAN_TXBAR) Transmit Buffer Add Request Register Offset */
|
||
|
|
||
|
#define MCAN_TXBAR_AR0_Pos 0 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 0 Position */
|
||
|
#define MCAN_TXBAR_AR0_Msk (_U_(0x1) << MCAN_TXBAR_AR0_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 0 Mask */
|
||
|
#define MCAN_TXBAR_AR0 MCAN_TXBAR_AR0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR0_Msk instead */
|
||
|
#define MCAN_TXBAR_AR1_Pos 1 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 1 Position */
|
||
|
#define MCAN_TXBAR_AR1_Msk (_U_(0x1) << MCAN_TXBAR_AR1_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 1 Mask */
|
||
|
#define MCAN_TXBAR_AR1 MCAN_TXBAR_AR1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR1_Msk instead */
|
||
|
#define MCAN_TXBAR_AR2_Pos 2 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 2 Position */
|
||
|
#define MCAN_TXBAR_AR2_Msk (_U_(0x1) << MCAN_TXBAR_AR2_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 2 Mask */
|
||
|
#define MCAN_TXBAR_AR2 MCAN_TXBAR_AR2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR2_Msk instead */
|
||
|
#define MCAN_TXBAR_AR3_Pos 3 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 3 Position */
|
||
|
#define MCAN_TXBAR_AR3_Msk (_U_(0x1) << MCAN_TXBAR_AR3_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 3 Mask */
|
||
|
#define MCAN_TXBAR_AR3 MCAN_TXBAR_AR3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR3_Msk instead */
|
||
|
#define MCAN_TXBAR_AR4_Pos 4 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 4 Position */
|
||
|
#define MCAN_TXBAR_AR4_Msk (_U_(0x1) << MCAN_TXBAR_AR4_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 4 Mask */
|
||
|
#define MCAN_TXBAR_AR4 MCAN_TXBAR_AR4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR4_Msk instead */
|
||
|
#define MCAN_TXBAR_AR5_Pos 5 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 5 Position */
|
||
|
#define MCAN_TXBAR_AR5_Msk (_U_(0x1) << MCAN_TXBAR_AR5_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 5 Mask */
|
||
|
#define MCAN_TXBAR_AR5 MCAN_TXBAR_AR5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR5_Msk instead */
|
||
|
#define MCAN_TXBAR_AR6_Pos 6 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 6 Position */
|
||
|
#define MCAN_TXBAR_AR6_Msk (_U_(0x1) << MCAN_TXBAR_AR6_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 6 Mask */
|
||
|
#define MCAN_TXBAR_AR6 MCAN_TXBAR_AR6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR6_Msk instead */
|
||
|
#define MCAN_TXBAR_AR7_Pos 7 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 7 Position */
|
||
|
#define MCAN_TXBAR_AR7_Msk (_U_(0x1) << MCAN_TXBAR_AR7_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 7 Mask */
|
||
|
#define MCAN_TXBAR_AR7 MCAN_TXBAR_AR7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR7_Msk instead */
|
||
|
#define MCAN_TXBAR_AR8_Pos 8 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 8 Position */
|
||
|
#define MCAN_TXBAR_AR8_Msk (_U_(0x1) << MCAN_TXBAR_AR8_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 8 Mask */
|
||
|
#define MCAN_TXBAR_AR8 MCAN_TXBAR_AR8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR8_Msk instead */
|
||
|
#define MCAN_TXBAR_AR9_Pos 9 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 9 Position */
|
||
|
#define MCAN_TXBAR_AR9_Msk (_U_(0x1) << MCAN_TXBAR_AR9_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 9 Mask */
|
||
|
#define MCAN_TXBAR_AR9 MCAN_TXBAR_AR9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR9_Msk instead */
|
||
|
#define MCAN_TXBAR_AR10_Pos 10 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 10 Position */
|
||
|
#define MCAN_TXBAR_AR10_Msk (_U_(0x1) << MCAN_TXBAR_AR10_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 10 Mask */
|
||
|
#define MCAN_TXBAR_AR10 MCAN_TXBAR_AR10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR10_Msk instead */
|
||
|
#define MCAN_TXBAR_AR11_Pos 11 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 11 Position */
|
||
|
#define MCAN_TXBAR_AR11_Msk (_U_(0x1) << MCAN_TXBAR_AR11_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 11 Mask */
|
||
|
#define MCAN_TXBAR_AR11 MCAN_TXBAR_AR11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR11_Msk instead */
|
||
|
#define MCAN_TXBAR_AR12_Pos 12 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 12 Position */
|
||
|
#define MCAN_TXBAR_AR12_Msk (_U_(0x1) << MCAN_TXBAR_AR12_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 12 Mask */
|
||
|
#define MCAN_TXBAR_AR12 MCAN_TXBAR_AR12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR12_Msk instead */
|
||
|
#define MCAN_TXBAR_AR13_Pos 13 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 13 Position */
|
||
|
#define MCAN_TXBAR_AR13_Msk (_U_(0x1) << MCAN_TXBAR_AR13_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 13 Mask */
|
||
|
#define MCAN_TXBAR_AR13 MCAN_TXBAR_AR13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR13_Msk instead */
|
||
|
#define MCAN_TXBAR_AR14_Pos 14 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 14 Position */
|
||
|
#define MCAN_TXBAR_AR14_Msk (_U_(0x1) << MCAN_TXBAR_AR14_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 14 Mask */
|
||
|
#define MCAN_TXBAR_AR14 MCAN_TXBAR_AR14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR14_Msk instead */
|
||
|
#define MCAN_TXBAR_AR15_Pos 15 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 15 Position */
|
||
|
#define MCAN_TXBAR_AR15_Msk (_U_(0x1) << MCAN_TXBAR_AR15_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 15 Mask */
|
||
|
#define MCAN_TXBAR_AR15 MCAN_TXBAR_AR15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR15_Msk instead */
|
||
|
#define MCAN_TXBAR_AR16_Pos 16 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 16 Position */
|
||
|
#define MCAN_TXBAR_AR16_Msk (_U_(0x1) << MCAN_TXBAR_AR16_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 16 Mask */
|
||
|
#define MCAN_TXBAR_AR16 MCAN_TXBAR_AR16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR16_Msk instead */
|
||
|
#define MCAN_TXBAR_AR17_Pos 17 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 17 Position */
|
||
|
#define MCAN_TXBAR_AR17_Msk (_U_(0x1) << MCAN_TXBAR_AR17_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 17 Mask */
|
||
|
#define MCAN_TXBAR_AR17 MCAN_TXBAR_AR17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR17_Msk instead */
|
||
|
#define MCAN_TXBAR_AR18_Pos 18 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 18 Position */
|
||
|
#define MCAN_TXBAR_AR18_Msk (_U_(0x1) << MCAN_TXBAR_AR18_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 18 Mask */
|
||
|
#define MCAN_TXBAR_AR18 MCAN_TXBAR_AR18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR18_Msk instead */
|
||
|
#define MCAN_TXBAR_AR19_Pos 19 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 19 Position */
|
||
|
#define MCAN_TXBAR_AR19_Msk (_U_(0x1) << MCAN_TXBAR_AR19_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 19 Mask */
|
||
|
#define MCAN_TXBAR_AR19 MCAN_TXBAR_AR19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR19_Msk instead */
|
||
|
#define MCAN_TXBAR_AR20_Pos 20 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 20 Position */
|
||
|
#define MCAN_TXBAR_AR20_Msk (_U_(0x1) << MCAN_TXBAR_AR20_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 20 Mask */
|
||
|
#define MCAN_TXBAR_AR20 MCAN_TXBAR_AR20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR20_Msk instead */
|
||
|
#define MCAN_TXBAR_AR21_Pos 21 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 21 Position */
|
||
|
#define MCAN_TXBAR_AR21_Msk (_U_(0x1) << MCAN_TXBAR_AR21_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 21 Mask */
|
||
|
#define MCAN_TXBAR_AR21 MCAN_TXBAR_AR21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR21_Msk instead */
|
||
|
#define MCAN_TXBAR_AR22_Pos 22 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 22 Position */
|
||
|
#define MCAN_TXBAR_AR22_Msk (_U_(0x1) << MCAN_TXBAR_AR22_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 22 Mask */
|
||
|
#define MCAN_TXBAR_AR22 MCAN_TXBAR_AR22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR22_Msk instead */
|
||
|
#define MCAN_TXBAR_AR23_Pos 23 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 23 Position */
|
||
|
#define MCAN_TXBAR_AR23_Msk (_U_(0x1) << MCAN_TXBAR_AR23_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 23 Mask */
|
||
|
#define MCAN_TXBAR_AR23 MCAN_TXBAR_AR23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR23_Msk instead */
|
||
|
#define MCAN_TXBAR_AR24_Pos 24 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 24 Position */
|
||
|
#define MCAN_TXBAR_AR24_Msk (_U_(0x1) << MCAN_TXBAR_AR24_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 24 Mask */
|
||
|
#define MCAN_TXBAR_AR24 MCAN_TXBAR_AR24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR24_Msk instead */
|
||
|
#define MCAN_TXBAR_AR25_Pos 25 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 25 Position */
|
||
|
#define MCAN_TXBAR_AR25_Msk (_U_(0x1) << MCAN_TXBAR_AR25_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 25 Mask */
|
||
|
#define MCAN_TXBAR_AR25 MCAN_TXBAR_AR25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR25_Msk instead */
|
||
|
#define MCAN_TXBAR_AR26_Pos 26 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 26 Position */
|
||
|
#define MCAN_TXBAR_AR26_Msk (_U_(0x1) << MCAN_TXBAR_AR26_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 26 Mask */
|
||
|
#define MCAN_TXBAR_AR26 MCAN_TXBAR_AR26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR26_Msk instead */
|
||
|
#define MCAN_TXBAR_AR27_Pos 27 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 27 Position */
|
||
|
#define MCAN_TXBAR_AR27_Msk (_U_(0x1) << MCAN_TXBAR_AR27_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 27 Mask */
|
||
|
#define MCAN_TXBAR_AR27 MCAN_TXBAR_AR27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR27_Msk instead */
|
||
|
#define MCAN_TXBAR_AR28_Pos 28 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 28 Position */
|
||
|
#define MCAN_TXBAR_AR28_Msk (_U_(0x1) << MCAN_TXBAR_AR28_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 28 Mask */
|
||
|
#define MCAN_TXBAR_AR28 MCAN_TXBAR_AR28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR28_Msk instead */
|
||
|
#define MCAN_TXBAR_AR29_Pos 29 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 29 Position */
|
||
|
#define MCAN_TXBAR_AR29_Msk (_U_(0x1) << MCAN_TXBAR_AR29_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 29 Mask */
|
||
|
#define MCAN_TXBAR_AR29 MCAN_TXBAR_AR29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR29_Msk instead */
|
||
|
#define MCAN_TXBAR_AR30_Pos 30 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 30 Position */
|
||
|
#define MCAN_TXBAR_AR30_Msk (_U_(0x1) << MCAN_TXBAR_AR30_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 30 Mask */
|
||
|
#define MCAN_TXBAR_AR30 MCAN_TXBAR_AR30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR30_Msk instead */
|
||
|
#define MCAN_TXBAR_AR31_Pos 31 /**< (MCAN_TXBAR) Add Request for Transmit Buffer 31 Position */
|
||
|
#define MCAN_TXBAR_AR31_Msk (_U_(0x1) << MCAN_TXBAR_AR31_Pos) /**< (MCAN_TXBAR) Add Request for Transmit Buffer 31 Mask */
|
||
|
#define MCAN_TXBAR_AR31 MCAN_TXBAR_AR31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBAR_AR31_Msk instead */
|
||
|
#define MCAN_TXBAR_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBAR) Register MASK (Use MCAN_TXBAR_Msk instead) */
|
||
|
#define MCAN_TXBAR_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBAR) Register Mask */
|
||
|
|
||
|
#define MCAN_TXBAR_AR_Pos 0 /**< (MCAN_TXBAR Position) Add Request for Transmit Buffer 3x */
|
||
|
#define MCAN_TXBAR_AR_Msk (_U_(0xFFFFFFFF) << MCAN_TXBAR_AR_Pos) /**< (MCAN_TXBAR Mask) AR */
|
||
|
#define MCAN_TXBAR_AR(value) (MCAN_TXBAR_AR_Msk & ((value) << MCAN_TXBAR_AR_Pos))
|
||
|
|
||
|
/* -------- MCAN_TXBCR : (MCAN Offset: 0xd4) (R/W 32) Transmit Buffer Cancellation Request Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t CR0:1; /**< bit: 0 Cancellation Request for Transmit Buffer 0 */
|
||
|
uint32_t CR1:1; /**< bit: 1 Cancellation Request for Transmit Buffer 1 */
|
||
|
uint32_t CR2:1; /**< bit: 2 Cancellation Request for Transmit Buffer 2 */
|
||
|
uint32_t CR3:1; /**< bit: 3 Cancellation Request for Transmit Buffer 3 */
|
||
|
uint32_t CR4:1; /**< bit: 4 Cancellation Request for Transmit Buffer 4 */
|
||
|
uint32_t CR5:1; /**< bit: 5 Cancellation Request for Transmit Buffer 5 */
|
||
|
uint32_t CR6:1; /**< bit: 6 Cancellation Request for Transmit Buffer 6 */
|
||
|
uint32_t CR7:1; /**< bit: 7 Cancellation Request for Transmit Buffer 7 */
|
||
|
uint32_t CR8:1; /**< bit: 8 Cancellation Request for Transmit Buffer 8 */
|
||
|
uint32_t CR9:1; /**< bit: 9 Cancellation Request for Transmit Buffer 9 */
|
||
|
uint32_t CR10:1; /**< bit: 10 Cancellation Request for Transmit Buffer 10 */
|
||
|
uint32_t CR11:1; /**< bit: 11 Cancellation Request for Transmit Buffer 11 */
|
||
|
uint32_t CR12:1; /**< bit: 12 Cancellation Request for Transmit Buffer 12 */
|
||
|
uint32_t CR13:1; /**< bit: 13 Cancellation Request for Transmit Buffer 13 */
|
||
|
uint32_t CR14:1; /**< bit: 14 Cancellation Request for Transmit Buffer 14 */
|
||
|
uint32_t CR15:1; /**< bit: 15 Cancellation Request for Transmit Buffer 15 */
|
||
|
uint32_t CR16:1; /**< bit: 16 Cancellation Request for Transmit Buffer 16 */
|
||
|
uint32_t CR17:1; /**< bit: 17 Cancellation Request for Transmit Buffer 17 */
|
||
|
uint32_t CR18:1; /**< bit: 18 Cancellation Request for Transmit Buffer 18 */
|
||
|
uint32_t CR19:1; /**< bit: 19 Cancellation Request for Transmit Buffer 19 */
|
||
|
uint32_t CR20:1; /**< bit: 20 Cancellation Request for Transmit Buffer 20 */
|
||
|
uint32_t CR21:1; /**< bit: 21 Cancellation Request for Transmit Buffer 21 */
|
||
|
uint32_t CR22:1; /**< bit: 22 Cancellation Request for Transmit Buffer 22 */
|
||
|
uint32_t CR23:1; /**< bit: 23 Cancellation Request for Transmit Buffer 23 */
|
||
|
uint32_t CR24:1; /**< bit: 24 Cancellation Request for Transmit Buffer 24 */
|
||
|
uint32_t CR25:1; /**< bit: 25 Cancellation Request for Transmit Buffer 25 */
|
||
|
uint32_t CR26:1; /**< bit: 26 Cancellation Request for Transmit Buffer 26 */
|
||
|
uint32_t CR27:1; /**< bit: 27 Cancellation Request for Transmit Buffer 27 */
|
||
|
uint32_t CR28:1; /**< bit: 28 Cancellation Request for Transmit Buffer 28 */
|
||
|
uint32_t CR29:1; /**< bit: 29 Cancellation Request for Transmit Buffer 29 */
|
||
|
uint32_t CR30:1; /**< bit: 30 Cancellation Request for Transmit Buffer 30 */
|
||
|
uint32_t CR31:1; /**< bit: 31 Cancellation Request for Transmit Buffer 31 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t CR:32; /**< bit: 0..31 Cancellation Request for Transmit Buffer 3x */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBCR_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBCR_OFFSET (0xD4) /**< (MCAN_TXBCR) Transmit Buffer Cancellation Request Register Offset */
|
||
|
|
||
|
#define MCAN_TXBCR_CR0_Pos 0 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 0 Position */
|
||
|
#define MCAN_TXBCR_CR0_Msk (_U_(0x1) << MCAN_TXBCR_CR0_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 0 Mask */
|
||
|
#define MCAN_TXBCR_CR0 MCAN_TXBCR_CR0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR0_Msk instead */
|
||
|
#define MCAN_TXBCR_CR1_Pos 1 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 1 Position */
|
||
|
#define MCAN_TXBCR_CR1_Msk (_U_(0x1) << MCAN_TXBCR_CR1_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 1 Mask */
|
||
|
#define MCAN_TXBCR_CR1 MCAN_TXBCR_CR1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR1_Msk instead */
|
||
|
#define MCAN_TXBCR_CR2_Pos 2 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 2 Position */
|
||
|
#define MCAN_TXBCR_CR2_Msk (_U_(0x1) << MCAN_TXBCR_CR2_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 2 Mask */
|
||
|
#define MCAN_TXBCR_CR2 MCAN_TXBCR_CR2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR2_Msk instead */
|
||
|
#define MCAN_TXBCR_CR3_Pos 3 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 3 Position */
|
||
|
#define MCAN_TXBCR_CR3_Msk (_U_(0x1) << MCAN_TXBCR_CR3_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 3 Mask */
|
||
|
#define MCAN_TXBCR_CR3 MCAN_TXBCR_CR3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR3_Msk instead */
|
||
|
#define MCAN_TXBCR_CR4_Pos 4 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 4 Position */
|
||
|
#define MCAN_TXBCR_CR4_Msk (_U_(0x1) << MCAN_TXBCR_CR4_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 4 Mask */
|
||
|
#define MCAN_TXBCR_CR4 MCAN_TXBCR_CR4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR4_Msk instead */
|
||
|
#define MCAN_TXBCR_CR5_Pos 5 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 5 Position */
|
||
|
#define MCAN_TXBCR_CR5_Msk (_U_(0x1) << MCAN_TXBCR_CR5_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 5 Mask */
|
||
|
#define MCAN_TXBCR_CR5 MCAN_TXBCR_CR5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR5_Msk instead */
|
||
|
#define MCAN_TXBCR_CR6_Pos 6 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 6 Position */
|
||
|
#define MCAN_TXBCR_CR6_Msk (_U_(0x1) << MCAN_TXBCR_CR6_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 6 Mask */
|
||
|
#define MCAN_TXBCR_CR6 MCAN_TXBCR_CR6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR6_Msk instead */
|
||
|
#define MCAN_TXBCR_CR7_Pos 7 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 7 Position */
|
||
|
#define MCAN_TXBCR_CR7_Msk (_U_(0x1) << MCAN_TXBCR_CR7_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 7 Mask */
|
||
|
#define MCAN_TXBCR_CR7 MCAN_TXBCR_CR7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR7_Msk instead */
|
||
|
#define MCAN_TXBCR_CR8_Pos 8 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 8 Position */
|
||
|
#define MCAN_TXBCR_CR8_Msk (_U_(0x1) << MCAN_TXBCR_CR8_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 8 Mask */
|
||
|
#define MCAN_TXBCR_CR8 MCAN_TXBCR_CR8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR8_Msk instead */
|
||
|
#define MCAN_TXBCR_CR9_Pos 9 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 9 Position */
|
||
|
#define MCAN_TXBCR_CR9_Msk (_U_(0x1) << MCAN_TXBCR_CR9_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 9 Mask */
|
||
|
#define MCAN_TXBCR_CR9 MCAN_TXBCR_CR9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR9_Msk instead */
|
||
|
#define MCAN_TXBCR_CR10_Pos 10 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 10 Position */
|
||
|
#define MCAN_TXBCR_CR10_Msk (_U_(0x1) << MCAN_TXBCR_CR10_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 10 Mask */
|
||
|
#define MCAN_TXBCR_CR10 MCAN_TXBCR_CR10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR10_Msk instead */
|
||
|
#define MCAN_TXBCR_CR11_Pos 11 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 11 Position */
|
||
|
#define MCAN_TXBCR_CR11_Msk (_U_(0x1) << MCAN_TXBCR_CR11_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 11 Mask */
|
||
|
#define MCAN_TXBCR_CR11 MCAN_TXBCR_CR11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR11_Msk instead */
|
||
|
#define MCAN_TXBCR_CR12_Pos 12 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 12 Position */
|
||
|
#define MCAN_TXBCR_CR12_Msk (_U_(0x1) << MCAN_TXBCR_CR12_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 12 Mask */
|
||
|
#define MCAN_TXBCR_CR12 MCAN_TXBCR_CR12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR12_Msk instead */
|
||
|
#define MCAN_TXBCR_CR13_Pos 13 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 13 Position */
|
||
|
#define MCAN_TXBCR_CR13_Msk (_U_(0x1) << MCAN_TXBCR_CR13_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 13 Mask */
|
||
|
#define MCAN_TXBCR_CR13 MCAN_TXBCR_CR13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR13_Msk instead */
|
||
|
#define MCAN_TXBCR_CR14_Pos 14 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 14 Position */
|
||
|
#define MCAN_TXBCR_CR14_Msk (_U_(0x1) << MCAN_TXBCR_CR14_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 14 Mask */
|
||
|
#define MCAN_TXBCR_CR14 MCAN_TXBCR_CR14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR14_Msk instead */
|
||
|
#define MCAN_TXBCR_CR15_Pos 15 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 15 Position */
|
||
|
#define MCAN_TXBCR_CR15_Msk (_U_(0x1) << MCAN_TXBCR_CR15_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 15 Mask */
|
||
|
#define MCAN_TXBCR_CR15 MCAN_TXBCR_CR15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR15_Msk instead */
|
||
|
#define MCAN_TXBCR_CR16_Pos 16 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 16 Position */
|
||
|
#define MCAN_TXBCR_CR16_Msk (_U_(0x1) << MCAN_TXBCR_CR16_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 16 Mask */
|
||
|
#define MCAN_TXBCR_CR16 MCAN_TXBCR_CR16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR16_Msk instead */
|
||
|
#define MCAN_TXBCR_CR17_Pos 17 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 17 Position */
|
||
|
#define MCAN_TXBCR_CR17_Msk (_U_(0x1) << MCAN_TXBCR_CR17_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 17 Mask */
|
||
|
#define MCAN_TXBCR_CR17 MCAN_TXBCR_CR17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR17_Msk instead */
|
||
|
#define MCAN_TXBCR_CR18_Pos 18 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 18 Position */
|
||
|
#define MCAN_TXBCR_CR18_Msk (_U_(0x1) << MCAN_TXBCR_CR18_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 18 Mask */
|
||
|
#define MCAN_TXBCR_CR18 MCAN_TXBCR_CR18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR18_Msk instead */
|
||
|
#define MCAN_TXBCR_CR19_Pos 19 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 19 Position */
|
||
|
#define MCAN_TXBCR_CR19_Msk (_U_(0x1) << MCAN_TXBCR_CR19_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 19 Mask */
|
||
|
#define MCAN_TXBCR_CR19 MCAN_TXBCR_CR19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR19_Msk instead */
|
||
|
#define MCAN_TXBCR_CR20_Pos 20 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 20 Position */
|
||
|
#define MCAN_TXBCR_CR20_Msk (_U_(0x1) << MCAN_TXBCR_CR20_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 20 Mask */
|
||
|
#define MCAN_TXBCR_CR20 MCAN_TXBCR_CR20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR20_Msk instead */
|
||
|
#define MCAN_TXBCR_CR21_Pos 21 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 21 Position */
|
||
|
#define MCAN_TXBCR_CR21_Msk (_U_(0x1) << MCAN_TXBCR_CR21_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 21 Mask */
|
||
|
#define MCAN_TXBCR_CR21 MCAN_TXBCR_CR21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR21_Msk instead */
|
||
|
#define MCAN_TXBCR_CR22_Pos 22 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 22 Position */
|
||
|
#define MCAN_TXBCR_CR22_Msk (_U_(0x1) << MCAN_TXBCR_CR22_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 22 Mask */
|
||
|
#define MCAN_TXBCR_CR22 MCAN_TXBCR_CR22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR22_Msk instead */
|
||
|
#define MCAN_TXBCR_CR23_Pos 23 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 23 Position */
|
||
|
#define MCAN_TXBCR_CR23_Msk (_U_(0x1) << MCAN_TXBCR_CR23_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 23 Mask */
|
||
|
#define MCAN_TXBCR_CR23 MCAN_TXBCR_CR23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR23_Msk instead */
|
||
|
#define MCAN_TXBCR_CR24_Pos 24 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 24 Position */
|
||
|
#define MCAN_TXBCR_CR24_Msk (_U_(0x1) << MCAN_TXBCR_CR24_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 24 Mask */
|
||
|
#define MCAN_TXBCR_CR24 MCAN_TXBCR_CR24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR24_Msk instead */
|
||
|
#define MCAN_TXBCR_CR25_Pos 25 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 25 Position */
|
||
|
#define MCAN_TXBCR_CR25_Msk (_U_(0x1) << MCAN_TXBCR_CR25_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 25 Mask */
|
||
|
#define MCAN_TXBCR_CR25 MCAN_TXBCR_CR25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR25_Msk instead */
|
||
|
#define MCAN_TXBCR_CR26_Pos 26 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 26 Position */
|
||
|
#define MCAN_TXBCR_CR26_Msk (_U_(0x1) << MCAN_TXBCR_CR26_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 26 Mask */
|
||
|
#define MCAN_TXBCR_CR26 MCAN_TXBCR_CR26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR26_Msk instead */
|
||
|
#define MCAN_TXBCR_CR27_Pos 27 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 27 Position */
|
||
|
#define MCAN_TXBCR_CR27_Msk (_U_(0x1) << MCAN_TXBCR_CR27_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 27 Mask */
|
||
|
#define MCAN_TXBCR_CR27 MCAN_TXBCR_CR27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR27_Msk instead */
|
||
|
#define MCAN_TXBCR_CR28_Pos 28 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 28 Position */
|
||
|
#define MCAN_TXBCR_CR28_Msk (_U_(0x1) << MCAN_TXBCR_CR28_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 28 Mask */
|
||
|
#define MCAN_TXBCR_CR28 MCAN_TXBCR_CR28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR28_Msk instead */
|
||
|
#define MCAN_TXBCR_CR29_Pos 29 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 29 Position */
|
||
|
#define MCAN_TXBCR_CR29_Msk (_U_(0x1) << MCAN_TXBCR_CR29_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 29 Mask */
|
||
|
#define MCAN_TXBCR_CR29 MCAN_TXBCR_CR29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR29_Msk instead */
|
||
|
#define MCAN_TXBCR_CR30_Pos 30 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 30 Position */
|
||
|
#define MCAN_TXBCR_CR30_Msk (_U_(0x1) << MCAN_TXBCR_CR30_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 30 Mask */
|
||
|
#define MCAN_TXBCR_CR30 MCAN_TXBCR_CR30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR30_Msk instead */
|
||
|
#define MCAN_TXBCR_CR31_Pos 31 /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 31 Position */
|
||
|
#define MCAN_TXBCR_CR31_Msk (_U_(0x1) << MCAN_TXBCR_CR31_Pos) /**< (MCAN_TXBCR) Cancellation Request for Transmit Buffer 31 Mask */
|
||
|
#define MCAN_TXBCR_CR31 MCAN_TXBCR_CR31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCR_CR31_Msk instead */
|
||
|
#define MCAN_TXBCR_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBCR) Register MASK (Use MCAN_TXBCR_Msk instead) */
|
||
|
#define MCAN_TXBCR_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBCR) Register Mask */
|
||
|
|
||
|
#define MCAN_TXBCR_CR_Pos 0 /**< (MCAN_TXBCR Position) Cancellation Request for Transmit Buffer 3x */
|
||
|
#define MCAN_TXBCR_CR_Msk (_U_(0xFFFFFFFF) << MCAN_TXBCR_CR_Pos) /**< (MCAN_TXBCR Mask) CR */
|
||
|
#define MCAN_TXBCR_CR(value) (MCAN_TXBCR_CR_Msk & ((value) << MCAN_TXBCR_CR_Pos))
|
||
|
|
||
|
/* -------- MCAN_TXBTO : (MCAN Offset: 0xd8) (R/ 32) Transmit Buffer Transmission Occurred Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TO0:1; /**< bit: 0 Transmission Occurred for Buffer 0 */
|
||
|
uint32_t TO1:1; /**< bit: 1 Transmission Occurred for Buffer 1 */
|
||
|
uint32_t TO2:1; /**< bit: 2 Transmission Occurred for Buffer 2 */
|
||
|
uint32_t TO3:1; /**< bit: 3 Transmission Occurred for Buffer 3 */
|
||
|
uint32_t TO4:1; /**< bit: 4 Transmission Occurred for Buffer 4 */
|
||
|
uint32_t TO5:1; /**< bit: 5 Transmission Occurred for Buffer 5 */
|
||
|
uint32_t TO6:1; /**< bit: 6 Transmission Occurred for Buffer 6 */
|
||
|
uint32_t TO7:1; /**< bit: 7 Transmission Occurred for Buffer 7 */
|
||
|
uint32_t TO8:1; /**< bit: 8 Transmission Occurred for Buffer 8 */
|
||
|
uint32_t TO9:1; /**< bit: 9 Transmission Occurred for Buffer 9 */
|
||
|
uint32_t TO10:1; /**< bit: 10 Transmission Occurred for Buffer 10 */
|
||
|
uint32_t TO11:1; /**< bit: 11 Transmission Occurred for Buffer 11 */
|
||
|
uint32_t TO12:1; /**< bit: 12 Transmission Occurred for Buffer 12 */
|
||
|
uint32_t TO13:1; /**< bit: 13 Transmission Occurred for Buffer 13 */
|
||
|
uint32_t TO14:1; /**< bit: 14 Transmission Occurred for Buffer 14 */
|
||
|
uint32_t TO15:1; /**< bit: 15 Transmission Occurred for Buffer 15 */
|
||
|
uint32_t TO16:1; /**< bit: 16 Transmission Occurred for Buffer 16 */
|
||
|
uint32_t TO17:1; /**< bit: 17 Transmission Occurred for Buffer 17 */
|
||
|
uint32_t TO18:1; /**< bit: 18 Transmission Occurred for Buffer 18 */
|
||
|
uint32_t TO19:1; /**< bit: 19 Transmission Occurred for Buffer 19 */
|
||
|
uint32_t TO20:1; /**< bit: 20 Transmission Occurred for Buffer 20 */
|
||
|
uint32_t TO21:1; /**< bit: 21 Transmission Occurred for Buffer 21 */
|
||
|
uint32_t TO22:1; /**< bit: 22 Transmission Occurred for Buffer 22 */
|
||
|
uint32_t TO23:1; /**< bit: 23 Transmission Occurred for Buffer 23 */
|
||
|
uint32_t TO24:1; /**< bit: 24 Transmission Occurred for Buffer 24 */
|
||
|
uint32_t TO25:1; /**< bit: 25 Transmission Occurred for Buffer 25 */
|
||
|
uint32_t TO26:1; /**< bit: 26 Transmission Occurred for Buffer 26 */
|
||
|
uint32_t TO27:1; /**< bit: 27 Transmission Occurred for Buffer 27 */
|
||
|
uint32_t TO28:1; /**< bit: 28 Transmission Occurred for Buffer 28 */
|
||
|
uint32_t TO29:1; /**< bit: 29 Transmission Occurred for Buffer 29 */
|
||
|
uint32_t TO30:1; /**< bit: 30 Transmission Occurred for Buffer 30 */
|
||
|
uint32_t TO31:1; /**< bit: 31 Transmission Occurred for Buffer 31 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t TO:32; /**< bit: 0..31 Transmission Occurred for Buffer 3x */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBTO_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBTO_OFFSET (0xD8) /**< (MCAN_TXBTO) Transmit Buffer Transmission Occurred Register Offset */
|
||
|
|
||
|
#define MCAN_TXBTO_TO0_Pos 0 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 0 Position */
|
||
|
#define MCAN_TXBTO_TO0_Msk (_U_(0x1) << MCAN_TXBTO_TO0_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 0 Mask */
|
||
|
#define MCAN_TXBTO_TO0 MCAN_TXBTO_TO0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO0_Msk instead */
|
||
|
#define MCAN_TXBTO_TO1_Pos 1 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 1 Position */
|
||
|
#define MCAN_TXBTO_TO1_Msk (_U_(0x1) << MCAN_TXBTO_TO1_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 1 Mask */
|
||
|
#define MCAN_TXBTO_TO1 MCAN_TXBTO_TO1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO1_Msk instead */
|
||
|
#define MCAN_TXBTO_TO2_Pos 2 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 2 Position */
|
||
|
#define MCAN_TXBTO_TO2_Msk (_U_(0x1) << MCAN_TXBTO_TO2_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 2 Mask */
|
||
|
#define MCAN_TXBTO_TO2 MCAN_TXBTO_TO2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO2_Msk instead */
|
||
|
#define MCAN_TXBTO_TO3_Pos 3 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 3 Position */
|
||
|
#define MCAN_TXBTO_TO3_Msk (_U_(0x1) << MCAN_TXBTO_TO3_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 3 Mask */
|
||
|
#define MCAN_TXBTO_TO3 MCAN_TXBTO_TO3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO3_Msk instead */
|
||
|
#define MCAN_TXBTO_TO4_Pos 4 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 4 Position */
|
||
|
#define MCAN_TXBTO_TO4_Msk (_U_(0x1) << MCAN_TXBTO_TO4_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 4 Mask */
|
||
|
#define MCAN_TXBTO_TO4 MCAN_TXBTO_TO4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO4_Msk instead */
|
||
|
#define MCAN_TXBTO_TO5_Pos 5 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 5 Position */
|
||
|
#define MCAN_TXBTO_TO5_Msk (_U_(0x1) << MCAN_TXBTO_TO5_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 5 Mask */
|
||
|
#define MCAN_TXBTO_TO5 MCAN_TXBTO_TO5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO5_Msk instead */
|
||
|
#define MCAN_TXBTO_TO6_Pos 6 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 6 Position */
|
||
|
#define MCAN_TXBTO_TO6_Msk (_U_(0x1) << MCAN_TXBTO_TO6_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 6 Mask */
|
||
|
#define MCAN_TXBTO_TO6 MCAN_TXBTO_TO6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO6_Msk instead */
|
||
|
#define MCAN_TXBTO_TO7_Pos 7 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 7 Position */
|
||
|
#define MCAN_TXBTO_TO7_Msk (_U_(0x1) << MCAN_TXBTO_TO7_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 7 Mask */
|
||
|
#define MCAN_TXBTO_TO7 MCAN_TXBTO_TO7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO7_Msk instead */
|
||
|
#define MCAN_TXBTO_TO8_Pos 8 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 8 Position */
|
||
|
#define MCAN_TXBTO_TO8_Msk (_U_(0x1) << MCAN_TXBTO_TO8_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 8 Mask */
|
||
|
#define MCAN_TXBTO_TO8 MCAN_TXBTO_TO8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO8_Msk instead */
|
||
|
#define MCAN_TXBTO_TO9_Pos 9 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 9 Position */
|
||
|
#define MCAN_TXBTO_TO9_Msk (_U_(0x1) << MCAN_TXBTO_TO9_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 9 Mask */
|
||
|
#define MCAN_TXBTO_TO9 MCAN_TXBTO_TO9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO9_Msk instead */
|
||
|
#define MCAN_TXBTO_TO10_Pos 10 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 10 Position */
|
||
|
#define MCAN_TXBTO_TO10_Msk (_U_(0x1) << MCAN_TXBTO_TO10_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 10 Mask */
|
||
|
#define MCAN_TXBTO_TO10 MCAN_TXBTO_TO10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO10_Msk instead */
|
||
|
#define MCAN_TXBTO_TO11_Pos 11 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 11 Position */
|
||
|
#define MCAN_TXBTO_TO11_Msk (_U_(0x1) << MCAN_TXBTO_TO11_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 11 Mask */
|
||
|
#define MCAN_TXBTO_TO11 MCAN_TXBTO_TO11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO11_Msk instead */
|
||
|
#define MCAN_TXBTO_TO12_Pos 12 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 12 Position */
|
||
|
#define MCAN_TXBTO_TO12_Msk (_U_(0x1) << MCAN_TXBTO_TO12_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 12 Mask */
|
||
|
#define MCAN_TXBTO_TO12 MCAN_TXBTO_TO12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO12_Msk instead */
|
||
|
#define MCAN_TXBTO_TO13_Pos 13 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 13 Position */
|
||
|
#define MCAN_TXBTO_TO13_Msk (_U_(0x1) << MCAN_TXBTO_TO13_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 13 Mask */
|
||
|
#define MCAN_TXBTO_TO13 MCAN_TXBTO_TO13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO13_Msk instead */
|
||
|
#define MCAN_TXBTO_TO14_Pos 14 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 14 Position */
|
||
|
#define MCAN_TXBTO_TO14_Msk (_U_(0x1) << MCAN_TXBTO_TO14_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 14 Mask */
|
||
|
#define MCAN_TXBTO_TO14 MCAN_TXBTO_TO14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO14_Msk instead */
|
||
|
#define MCAN_TXBTO_TO15_Pos 15 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 15 Position */
|
||
|
#define MCAN_TXBTO_TO15_Msk (_U_(0x1) << MCAN_TXBTO_TO15_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 15 Mask */
|
||
|
#define MCAN_TXBTO_TO15 MCAN_TXBTO_TO15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO15_Msk instead */
|
||
|
#define MCAN_TXBTO_TO16_Pos 16 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 16 Position */
|
||
|
#define MCAN_TXBTO_TO16_Msk (_U_(0x1) << MCAN_TXBTO_TO16_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 16 Mask */
|
||
|
#define MCAN_TXBTO_TO16 MCAN_TXBTO_TO16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO16_Msk instead */
|
||
|
#define MCAN_TXBTO_TO17_Pos 17 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 17 Position */
|
||
|
#define MCAN_TXBTO_TO17_Msk (_U_(0x1) << MCAN_TXBTO_TO17_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 17 Mask */
|
||
|
#define MCAN_TXBTO_TO17 MCAN_TXBTO_TO17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO17_Msk instead */
|
||
|
#define MCAN_TXBTO_TO18_Pos 18 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 18 Position */
|
||
|
#define MCAN_TXBTO_TO18_Msk (_U_(0x1) << MCAN_TXBTO_TO18_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 18 Mask */
|
||
|
#define MCAN_TXBTO_TO18 MCAN_TXBTO_TO18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO18_Msk instead */
|
||
|
#define MCAN_TXBTO_TO19_Pos 19 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 19 Position */
|
||
|
#define MCAN_TXBTO_TO19_Msk (_U_(0x1) << MCAN_TXBTO_TO19_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 19 Mask */
|
||
|
#define MCAN_TXBTO_TO19 MCAN_TXBTO_TO19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO19_Msk instead */
|
||
|
#define MCAN_TXBTO_TO20_Pos 20 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 20 Position */
|
||
|
#define MCAN_TXBTO_TO20_Msk (_U_(0x1) << MCAN_TXBTO_TO20_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 20 Mask */
|
||
|
#define MCAN_TXBTO_TO20 MCAN_TXBTO_TO20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO20_Msk instead */
|
||
|
#define MCAN_TXBTO_TO21_Pos 21 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 21 Position */
|
||
|
#define MCAN_TXBTO_TO21_Msk (_U_(0x1) << MCAN_TXBTO_TO21_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 21 Mask */
|
||
|
#define MCAN_TXBTO_TO21 MCAN_TXBTO_TO21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO21_Msk instead */
|
||
|
#define MCAN_TXBTO_TO22_Pos 22 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 22 Position */
|
||
|
#define MCAN_TXBTO_TO22_Msk (_U_(0x1) << MCAN_TXBTO_TO22_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 22 Mask */
|
||
|
#define MCAN_TXBTO_TO22 MCAN_TXBTO_TO22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO22_Msk instead */
|
||
|
#define MCAN_TXBTO_TO23_Pos 23 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 23 Position */
|
||
|
#define MCAN_TXBTO_TO23_Msk (_U_(0x1) << MCAN_TXBTO_TO23_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 23 Mask */
|
||
|
#define MCAN_TXBTO_TO23 MCAN_TXBTO_TO23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO23_Msk instead */
|
||
|
#define MCAN_TXBTO_TO24_Pos 24 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 24 Position */
|
||
|
#define MCAN_TXBTO_TO24_Msk (_U_(0x1) << MCAN_TXBTO_TO24_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 24 Mask */
|
||
|
#define MCAN_TXBTO_TO24 MCAN_TXBTO_TO24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO24_Msk instead */
|
||
|
#define MCAN_TXBTO_TO25_Pos 25 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 25 Position */
|
||
|
#define MCAN_TXBTO_TO25_Msk (_U_(0x1) << MCAN_TXBTO_TO25_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 25 Mask */
|
||
|
#define MCAN_TXBTO_TO25 MCAN_TXBTO_TO25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO25_Msk instead */
|
||
|
#define MCAN_TXBTO_TO26_Pos 26 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 26 Position */
|
||
|
#define MCAN_TXBTO_TO26_Msk (_U_(0x1) << MCAN_TXBTO_TO26_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 26 Mask */
|
||
|
#define MCAN_TXBTO_TO26 MCAN_TXBTO_TO26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO26_Msk instead */
|
||
|
#define MCAN_TXBTO_TO27_Pos 27 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 27 Position */
|
||
|
#define MCAN_TXBTO_TO27_Msk (_U_(0x1) << MCAN_TXBTO_TO27_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 27 Mask */
|
||
|
#define MCAN_TXBTO_TO27 MCAN_TXBTO_TO27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO27_Msk instead */
|
||
|
#define MCAN_TXBTO_TO28_Pos 28 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 28 Position */
|
||
|
#define MCAN_TXBTO_TO28_Msk (_U_(0x1) << MCAN_TXBTO_TO28_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 28 Mask */
|
||
|
#define MCAN_TXBTO_TO28 MCAN_TXBTO_TO28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO28_Msk instead */
|
||
|
#define MCAN_TXBTO_TO29_Pos 29 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 29 Position */
|
||
|
#define MCAN_TXBTO_TO29_Msk (_U_(0x1) << MCAN_TXBTO_TO29_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 29 Mask */
|
||
|
#define MCAN_TXBTO_TO29 MCAN_TXBTO_TO29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO29_Msk instead */
|
||
|
#define MCAN_TXBTO_TO30_Pos 30 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 30 Position */
|
||
|
#define MCAN_TXBTO_TO30_Msk (_U_(0x1) << MCAN_TXBTO_TO30_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 30 Mask */
|
||
|
#define MCAN_TXBTO_TO30 MCAN_TXBTO_TO30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO30_Msk instead */
|
||
|
#define MCAN_TXBTO_TO31_Pos 31 /**< (MCAN_TXBTO) Transmission Occurred for Buffer 31 Position */
|
||
|
#define MCAN_TXBTO_TO31_Msk (_U_(0x1) << MCAN_TXBTO_TO31_Pos) /**< (MCAN_TXBTO) Transmission Occurred for Buffer 31 Mask */
|
||
|
#define MCAN_TXBTO_TO31 MCAN_TXBTO_TO31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTO_TO31_Msk instead */
|
||
|
#define MCAN_TXBTO_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBTO) Register MASK (Use MCAN_TXBTO_Msk instead) */
|
||
|
#define MCAN_TXBTO_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBTO) Register Mask */
|
||
|
|
||
|
#define MCAN_TXBTO_TO_Pos 0 /**< (MCAN_TXBTO Position) Transmission Occurred for Buffer 3x */
|
||
|
#define MCAN_TXBTO_TO_Msk (_U_(0xFFFFFFFF) << MCAN_TXBTO_TO_Pos) /**< (MCAN_TXBTO Mask) TO */
|
||
|
#define MCAN_TXBTO_TO(value) (MCAN_TXBTO_TO_Msk & ((value) << MCAN_TXBTO_TO_Pos))
|
||
|
|
||
|
/* -------- MCAN_TXBCF : (MCAN Offset: 0xdc) (R/ 32) Transmit Buffer Cancellation Finished Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t CF0:1; /**< bit: 0 Cancellation Finished for Transmit Buffer 0 */
|
||
|
uint32_t CF1:1; /**< bit: 1 Cancellation Finished for Transmit Buffer 1 */
|
||
|
uint32_t CF2:1; /**< bit: 2 Cancellation Finished for Transmit Buffer 2 */
|
||
|
uint32_t CF3:1; /**< bit: 3 Cancellation Finished for Transmit Buffer 3 */
|
||
|
uint32_t CF4:1; /**< bit: 4 Cancellation Finished for Transmit Buffer 4 */
|
||
|
uint32_t CF5:1; /**< bit: 5 Cancellation Finished for Transmit Buffer 5 */
|
||
|
uint32_t CF6:1; /**< bit: 6 Cancellation Finished for Transmit Buffer 6 */
|
||
|
uint32_t CF7:1; /**< bit: 7 Cancellation Finished for Transmit Buffer 7 */
|
||
|
uint32_t CF8:1; /**< bit: 8 Cancellation Finished for Transmit Buffer 8 */
|
||
|
uint32_t CF9:1; /**< bit: 9 Cancellation Finished for Transmit Buffer 9 */
|
||
|
uint32_t CF10:1; /**< bit: 10 Cancellation Finished for Transmit Buffer 10 */
|
||
|
uint32_t CF11:1; /**< bit: 11 Cancellation Finished for Transmit Buffer 11 */
|
||
|
uint32_t CF12:1; /**< bit: 12 Cancellation Finished for Transmit Buffer 12 */
|
||
|
uint32_t CF13:1; /**< bit: 13 Cancellation Finished for Transmit Buffer 13 */
|
||
|
uint32_t CF14:1; /**< bit: 14 Cancellation Finished for Transmit Buffer 14 */
|
||
|
uint32_t CF15:1; /**< bit: 15 Cancellation Finished for Transmit Buffer 15 */
|
||
|
uint32_t CF16:1; /**< bit: 16 Cancellation Finished for Transmit Buffer 16 */
|
||
|
uint32_t CF17:1; /**< bit: 17 Cancellation Finished for Transmit Buffer 17 */
|
||
|
uint32_t CF18:1; /**< bit: 18 Cancellation Finished for Transmit Buffer 18 */
|
||
|
uint32_t CF19:1; /**< bit: 19 Cancellation Finished for Transmit Buffer 19 */
|
||
|
uint32_t CF20:1; /**< bit: 20 Cancellation Finished for Transmit Buffer 20 */
|
||
|
uint32_t CF21:1; /**< bit: 21 Cancellation Finished for Transmit Buffer 21 */
|
||
|
uint32_t CF22:1; /**< bit: 22 Cancellation Finished for Transmit Buffer 22 */
|
||
|
uint32_t CF23:1; /**< bit: 23 Cancellation Finished for Transmit Buffer 23 */
|
||
|
uint32_t CF24:1; /**< bit: 24 Cancellation Finished for Transmit Buffer 24 */
|
||
|
uint32_t CF25:1; /**< bit: 25 Cancellation Finished for Transmit Buffer 25 */
|
||
|
uint32_t CF26:1; /**< bit: 26 Cancellation Finished for Transmit Buffer 26 */
|
||
|
uint32_t CF27:1; /**< bit: 27 Cancellation Finished for Transmit Buffer 27 */
|
||
|
uint32_t CF28:1; /**< bit: 28 Cancellation Finished for Transmit Buffer 28 */
|
||
|
uint32_t CF29:1; /**< bit: 29 Cancellation Finished for Transmit Buffer 29 */
|
||
|
uint32_t CF30:1; /**< bit: 30 Cancellation Finished for Transmit Buffer 30 */
|
||
|
uint32_t CF31:1; /**< bit: 31 Cancellation Finished for Transmit Buffer 31 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t CF:32; /**< bit: 0..31 Cancellation Finished for Transmit Buffer 3x */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBCF_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBCF_OFFSET (0xDC) /**< (MCAN_TXBCF) Transmit Buffer Cancellation Finished Register Offset */
|
||
|
|
||
|
#define MCAN_TXBCF_CF0_Pos 0 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 0 Position */
|
||
|
#define MCAN_TXBCF_CF0_Msk (_U_(0x1) << MCAN_TXBCF_CF0_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 0 Mask */
|
||
|
#define MCAN_TXBCF_CF0 MCAN_TXBCF_CF0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF0_Msk instead */
|
||
|
#define MCAN_TXBCF_CF1_Pos 1 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 1 Position */
|
||
|
#define MCAN_TXBCF_CF1_Msk (_U_(0x1) << MCAN_TXBCF_CF1_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 1 Mask */
|
||
|
#define MCAN_TXBCF_CF1 MCAN_TXBCF_CF1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF1_Msk instead */
|
||
|
#define MCAN_TXBCF_CF2_Pos 2 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 2 Position */
|
||
|
#define MCAN_TXBCF_CF2_Msk (_U_(0x1) << MCAN_TXBCF_CF2_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 2 Mask */
|
||
|
#define MCAN_TXBCF_CF2 MCAN_TXBCF_CF2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF2_Msk instead */
|
||
|
#define MCAN_TXBCF_CF3_Pos 3 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 3 Position */
|
||
|
#define MCAN_TXBCF_CF3_Msk (_U_(0x1) << MCAN_TXBCF_CF3_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 3 Mask */
|
||
|
#define MCAN_TXBCF_CF3 MCAN_TXBCF_CF3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF3_Msk instead */
|
||
|
#define MCAN_TXBCF_CF4_Pos 4 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 4 Position */
|
||
|
#define MCAN_TXBCF_CF4_Msk (_U_(0x1) << MCAN_TXBCF_CF4_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 4 Mask */
|
||
|
#define MCAN_TXBCF_CF4 MCAN_TXBCF_CF4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF4_Msk instead */
|
||
|
#define MCAN_TXBCF_CF5_Pos 5 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 5 Position */
|
||
|
#define MCAN_TXBCF_CF5_Msk (_U_(0x1) << MCAN_TXBCF_CF5_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 5 Mask */
|
||
|
#define MCAN_TXBCF_CF5 MCAN_TXBCF_CF5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF5_Msk instead */
|
||
|
#define MCAN_TXBCF_CF6_Pos 6 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 6 Position */
|
||
|
#define MCAN_TXBCF_CF6_Msk (_U_(0x1) << MCAN_TXBCF_CF6_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 6 Mask */
|
||
|
#define MCAN_TXBCF_CF6 MCAN_TXBCF_CF6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF6_Msk instead */
|
||
|
#define MCAN_TXBCF_CF7_Pos 7 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 7 Position */
|
||
|
#define MCAN_TXBCF_CF7_Msk (_U_(0x1) << MCAN_TXBCF_CF7_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 7 Mask */
|
||
|
#define MCAN_TXBCF_CF7 MCAN_TXBCF_CF7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF7_Msk instead */
|
||
|
#define MCAN_TXBCF_CF8_Pos 8 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 8 Position */
|
||
|
#define MCAN_TXBCF_CF8_Msk (_U_(0x1) << MCAN_TXBCF_CF8_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 8 Mask */
|
||
|
#define MCAN_TXBCF_CF8 MCAN_TXBCF_CF8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF8_Msk instead */
|
||
|
#define MCAN_TXBCF_CF9_Pos 9 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 9 Position */
|
||
|
#define MCAN_TXBCF_CF9_Msk (_U_(0x1) << MCAN_TXBCF_CF9_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 9 Mask */
|
||
|
#define MCAN_TXBCF_CF9 MCAN_TXBCF_CF9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF9_Msk instead */
|
||
|
#define MCAN_TXBCF_CF10_Pos 10 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 10 Position */
|
||
|
#define MCAN_TXBCF_CF10_Msk (_U_(0x1) << MCAN_TXBCF_CF10_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 10 Mask */
|
||
|
#define MCAN_TXBCF_CF10 MCAN_TXBCF_CF10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF10_Msk instead */
|
||
|
#define MCAN_TXBCF_CF11_Pos 11 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 11 Position */
|
||
|
#define MCAN_TXBCF_CF11_Msk (_U_(0x1) << MCAN_TXBCF_CF11_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 11 Mask */
|
||
|
#define MCAN_TXBCF_CF11 MCAN_TXBCF_CF11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF11_Msk instead */
|
||
|
#define MCAN_TXBCF_CF12_Pos 12 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 12 Position */
|
||
|
#define MCAN_TXBCF_CF12_Msk (_U_(0x1) << MCAN_TXBCF_CF12_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 12 Mask */
|
||
|
#define MCAN_TXBCF_CF12 MCAN_TXBCF_CF12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF12_Msk instead */
|
||
|
#define MCAN_TXBCF_CF13_Pos 13 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 13 Position */
|
||
|
#define MCAN_TXBCF_CF13_Msk (_U_(0x1) << MCAN_TXBCF_CF13_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 13 Mask */
|
||
|
#define MCAN_TXBCF_CF13 MCAN_TXBCF_CF13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF13_Msk instead */
|
||
|
#define MCAN_TXBCF_CF14_Pos 14 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 14 Position */
|
||
|
#define MCAN_TXBCF_CF14_Msk (_U_(0x1) << MCAN_TXBCF_CF14_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 14 Mask */
|
||
|
#define MCAN_TXBCF_CF14 MCAN_TXBCF_CF14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF14_Msk instead */
|
||
|
#define MCAN_TXBCF_CF15_Pos 15 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 15 Position */
|
||
|
#define MCAN_TXBCF_CF15_Msk (_U_(0x1) << MCAN_TXBCF_CF15_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 15 Mask */
|
||
|
#define MCAN_TXBCF_CF15 MCAN_TXBCF_CF15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF15_Msk instead */
|
||
|
#define MCAN_TXBCF_CF16_Pos 16 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 16 Position */
|
||
|
#define MCAN_TXBCF_CF16_Msk (_U_(0x1) << MCAN_TXBCF_CF16_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 16 Mask */
|
||
|
#define MCAN_TXBCF_CF16 MCAN_TXBCF_CF16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF16_Msk instead */
|
||
|
#define MCAN_TXBCF_CF17_Pos 17 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 17 Position */
|
||
|
#define MCAN_TXBCF_CF17_Msk (_U_(0x1) << MCAN_TXBCF_CF17_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 17 Mask */
|
||
|
#define MCAN_TXBCF_CF17 MCAN_TXBCF_CF17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF17_Msk instead */
|
||
|
#define MCAN_TXBCF_CF18_Pos 18 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 18 Position */
|
||
|
#define MCAN_TXBCF_CF18_Msk (_U_(0x1) << MCAN_TXBCF_CF18_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 18 Mask */
|
||
|
#define MCAN_TXBCF_CF18 MCAN_TXBCF_CF18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF18_Msk instead */
|
||
|
#define MCAN_TXBCF_CF19_Pos 19 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 19 Position */
|
||
|
#define MCAN_TXBCF_CF19_Msk (_U_(0x1) << MCAN_TXBCF_CF19_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 19 Mask */
|
||
|
#define MCAN_TXBCF_CF19 MCAN_TXBCF_CF19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF19_Msk instead */
|
||
|
#define MCAN_TXBCF_CF20_Pos 20 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 20 Position */
|
||
|
#define MCAN_TXBCF_CF20_Msk (_U_(0x1) << MCAN_TXBCF_CF20_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 20 Mask */
|
||
|
#define MCAN_TXBCF_CF20 MCAN_TXBCF_CF20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF20_Msk instead */
|
||
|
#define MCAN_TXBCF_CF21_Pos 21 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 21 Position */
|
||
|
#define MCAN_TXBCF_CF21_Msk (_U_(0x1) << MCAN_TXBCF_CF21_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 21 Mask */
|
||
|
#define MCAN_TXBCF_CF21 MCAN_TXBCF_CF21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF21_Msk instead */
|
||
|
#define MCAN_TXBCF_CF22_Pos 22 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 22 Position */
|
||
|
#define MCAN_TXBCF_CF22_Msk (_U_(0x1) << MCAN_TXBCF_CF22_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 22 Mask */
|
||
|
#define MCAN_TXBCF_CF22 MCAN_TXBCF_CF22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF22_Msk instead */
|
||
|
#define MCAN_TXBCF_CF23_Pos 23 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 23 Position */
|
||
|
#define MCAN_TXBCF_CF23_Msk (_U_(0x1) << MCAN_TXBCF_CF23_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 23 Mask */
|
||
|
#define MCAN_TXBCF_CF23 MCAN_TXBCF_CF23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF23_Msk instead */
|
||
|
#define MCAN_TXBCF_CF24_Pos 24 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 24 Position */
|
||
|
#define MCAN_TXBCF_CF24_Msk (_U_(0x1) << MCAN_TXBCF_CF24_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 24 Mask */
|
||
|
#define MCAN_TXBCF_CF24 MCAN_TXBCF_CF24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF24_Msk instead */
|
||
|
#define MCAN_TXBCF_CF25_Pos 25 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 25 Position */
|
||
|
#define MCAN_TXBCF_CF25_Msk (_U_(0x1) << MCAN_TXBCF_CF25_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 25 Mask */
|
||
|
#define MCAN_TXBCF_CF25 MCAN_TXBCF_CF25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF25_Msk instead */
|
||
|
#define MCAN_TXBCF_CF26_Pos 26 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 26 Position */
|
||
|
#define MCAN_TXBCF_CF26_Msk (_U_(0x1) << MCAN_TXBCF_CF26_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 26 Mask */
|
||
|
#define MCAN_TXBCF_CF26 MCAN_TXBCF_CF26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF26_Msk instead */
|
||
|
#define MCAN_TXBCF_CF27_Pos 27 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 27 Position */
|
||
|
#define MCAN_TXBCF_CF27_Msk (_U_(0x1) << MCAN_TXBCF_CF27_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 27 Mask */
|
||
|
#define MCAN_TXBCF_CF27 MCAN_TXBCF_CF27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF27_Msk instead */
|
||
|
#define MCAN_TXBCF_CF28_Pos 28 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 28 Position */
|
||
|
#define MCAN_TXBCF_CF28_Msk (_U_(0x1) << MCAN_TXBCF_CF28_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 28 Mask */
|
||
|
#define MCAN_TXBCF_CF28 MCAN_TXBCF_CF28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF28_Msk instead */
|
||
|
#define MCAN_TXBCF_CF29_Pos 29 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 29 Position */
|
||
|
#define MCAN_TXBCF_CF29_Msk (_U_(0x1) << MCAN_TXBCF_CF29_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 29 Mask */
|
||
|
#define MCAN_TXBCF_CF29 MCAN_TXBCF_CF29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF29_Msk instead */
|
||
|
#define MCAN_TXBCF_CF30_Pos 30 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 30 Position */
|
||
|
#define MCAN_TXBCF_CF30_Msk (_U_(0x1) << MCAN_TXBCF_CF30_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 30 Mask */
|
||
|
#define MCAN_TXBCF_CF30 MCAN_TXBCF_CF30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF30_Msk instead */
|
||
|
#define MCAN_TXBCF_CF31_Pos 31 /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 31 Position */
|
||
|
#define MCAN_TXBCF_CF31_Msk (_U_(0x1) << MCAN_TXBCF_CF31_Pos) /**< (MCAN_TXBCF) Cancellation Finished for Transmit Buffer 31 Mask */
|
||
|
#define MCAN_TXBCF_CF31 MCAN_TXBCF_CF31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCF_CF31_Msk instead */
|
||
|
#define MCAN_TXBCF_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBCF) Register MASK (Use MCAN_TXBCF_Msk instead) */
|
||
|
#define MCAN_TXBCF_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBCF) Register Mask */
|
||
|
|
||
|
#define MCAN_TXBCF_CF_Pos 0 /**< (MCAN_TXBCF Position) Cancellation Finished for Transmit Buffer 3x */
|
||
|
#define MCAN_TXBCF_CF_Msk (_U_(0xFFFFFFFF) << MCAN_TXBCF_CF_Pos) /**< (MCAN_TXBCF Mask) CF */
|
||
|
#define MCAN_TXBCF_CF(value) (MCAN_TXBCF_CF_Msk & ((value) << MCAN_TXBCF_CF_Pos))
|
||
|
|
||
|
/* -------- MCAN_TXBTIE : (MCAN Offset: 0xe0) (R/W 32) Transmit Buffer Transmission Interrupt Enable Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t TIE0:1; /**< bit: 0 Transmission Interrupt Enable for Buffer 0 */
|
||
|
uint32_t TIE1:1; /**< bit: 1 Transmission Interrupt Enable for Buffer 1 */
|
||
|
uint32_t TIE2:1; /**< bit: 2 Transmission Interrupt Enable for Buffer 2 */
|
||
|
uint32_t TIE3:1; /**< bit: 3 Transmission Interrupt Enable for Buffer 3 */
|
||
|
uint32_t TIE4:1; /**< bit: 4 Transmission Interrupt Enable for Buffer 4 */
|
||
|
uint32_t TIE5:1; /**< bit: 5 Transmission Interrupt Enable for Buffer 5 */
|
||
|
uint32_t TIE6:1; /**< bit: 6 Transmission Interrupt Enable for Buffer 6 */
|
||
|
uint32_t TIE7:1; /**< bit: 7 Transmission Interrupt Enable for Buffer 7 */
|
||
|
uint32_t TIE8:1; /**< bit: 8 Transmission Interrupt Enable for Buffer 8 */
|
||
|
uint32_t TIE9:1; /**< bit: 9 Transmission Interrupt Enable for Buffer 9 */
|
||
|
uint32_t TIE10:1; /**< bit: 10 Transmission Interrupt Enable for Buffer 10 */
|
||
|
uint32_t TIE11:1; /**< bit: 11 Transmission Interrupt Enable for Buffer 11 */
|
||
|
uint32_t TIE12:1; /**< bit: 12 Transmission Interrupt Enable for Buffer 12 */
|
||
|
uint32_t TIE13:1; /**< bit: 13 Transmission Interrupt Enable for Buffer 13 */
|
||
|
uint32_t TIE14:1; /**< bit: 14 Transmission Interrupt Enable for Buffer 14 */
|
||
|
uint32_t TIE15:1; /**< bit: 15 Transmission Interrupt Enable for Buffer 15 */
|
||
|
uint32_t TIE16:1; /**< bit: 16 Transmission Interrupt Enable for Buffer 16 */
|
||
|
uint32_t TIE17:1; /**< bit: 17 Transmission Interrupt Enable for Buffer 17 */
|
||
|
uint32_t TIE18:1; /**< bit: 18 Transmission Interrupt Enable for Buffer 18 */
|
||
|
uint32_t TIE19:1; /**< bit: 19 Transmission Interrupt Enable for Buffer 19 */
|
||
|
uint32_t TIE20:1; /**< bit: 20 Transmission Interrupt Enable for Buffer 20 */
|
||
|
uint32_t TIE21:1; /**< bit: 21 Transmission Interrupt Enable for Buffer 21 */
|
||
|
uint32_t TIE22:1; /**< bit: 22 Transmission Interrupt Enable for Buffer 22 */
|
||
|
uint32_t TIE23:1; /**< bit: 23 Transmission Interrupt Enable for Buffer 23 */
|
||
|
uint32_t TIE24:1; /**< bit: 24 Transmission Interrupt Enable for Buffer 24 */
|
||
|
uint32_t TIE25:1; /**< bit: 25 Transmission Interrupt Enable for Buffer 25 */
|
||
|
uint32_t TIE26:1; /**< bit: 26 Transmission Interrupt Enable for Buffer 26 */
|
||
|
uint32_t TIE27:1; /**< bit: 27 Transmission Interrupt Enable for Buffer 27 */
|
||
|
uint32_t TIE28:1; /**< bit: 28 Transmission Interrupt Enable for Buffer 28 */
|
||
|
uint32_t TIE29:1; /**< bit: 29 Transmission Interrupt Enable for Buffer 29 */
|
||
|
uint32_t TIE30:1; /**< bit: 30 Transmission Interrupt Enable for Buffer 30 */
|
||
|
uint32_t TIE31:1; /**< bit: 31 Transmission Interrupt Enable for Buffer 31 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t TIE:32; /**< bit: 0..31 Transmission Interrupt Enable for Buffer 3x */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBTIE_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBTIE_OFFSET (0xE0) /**< (MCAN_TXBTIE) Transmit Buffer Transmission Interrupt Enable Register Offset */
|
||
|
|
||
|
#define MCAN_TXBTIE_TIE0_Pos 0 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 0 Position */
|
||
|
#define MCAN_TXBTIE_TIE0_Msk (_U_(0x1) << MCAN_TXBTIE_TIE0_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 0 Mask */
|
||
|
#define MCAN_TXBTIE_TIE0 MCAN_TXBTIE_TIE0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE0_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE1_Pos 1 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 1 Position */
|
||
|
#define MCAN_TXBTIE_TIE1_Msk (_U_(0x1) << MCAN_TXBTIE_TIE1_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 1 Mask */
|
||
|
#define MCAN_TXBTIE_TIE1 MCAN_TXBTIE_TIE1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE1_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE2_Pos 2 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 2 Position */
|
||
|
#define MCAN_TXBTIE_TIE2_Msk (_U_(0x1) << MCAN_TXBTIE_TIE2_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 2 Mask */
|
||
|
#define MCAN_TXBTIE_TIE2 MCAN_TXBTIE_TIE2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE2_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE3_Pos 3 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 3 Position */
|
||
|
#define MCAN_TXBTIE_TIE3_Msk (_U_(0x1) << MCAN_TXBTIE_TIE3_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 3 Mask */
|
||
|
#define MCAN_TXBTIE_TIE3 MCAN_TXBTIE_TIE3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE3_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE4_Pos 4 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 4 Position */
|
||
|
#define MCAN_TXBTIE_TIE4_Msk (_U_(0x1) << MCAN_TXBTIE_TIE4_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 4 Mask */
|
||
|
#define MCAN_TXBTIE_TIE4 MCAN_TXBTIE_TIE4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE4_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE5_Pos 5 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 5 Position */
|
||
|
#define MCAN_TXBTIE_TIE5_Msk (_U_(0x1) << MCAN_TXBTIE_TIE5_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 5 Mask */
|
||
|
#define MCAN_TXBTIE_TIE5 MCAN_TXBTIE_TIE5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE5_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE6_Pos 6 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 6 Position */
|
||
|
#define MCAN_TXBTIE_TIE6_Msk (_U_(0x1) << MCAN_TXBTIE_TIE6_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 6 Mask */
|
||
|
#define MCAN_TXBTIE_TIE6 MCAN_TXBTIE_TIE6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE6_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE7_Pos 7 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 7 Position */
|
||
|
#define MCAN_TXBTIE_TIE7_Msk (_U_(0x1) << MCAN_TXBTIE_TIE7_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 7 Mask */
|
||
|
#define MCAN_TXBTIE_TIE7 MCAN_TXBTIE_TIE7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE7_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE8_Pos 8 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 8 Position */
|
||
|
#define MCAN_TXBTIE_TIE8_Msk (_U_(0x1) << MCAN_TXBTIE_TIE8_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 8 Mask */
|
||
|
#define MCAN_TXBTIE_TIE8 MCAN_TXBTIE_TIE8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE8_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE9_Pos 9 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 9 Position */
|
||
|
#define MCAN_TXBTIE_TIE9_Msk (_U_(0x1) << MCAN_TXBTIE_TIE9_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 9 Mask */
|
||
|
#define MCAN_TXBTIE_TIE9 MCAN_TXBTIE_TIE9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE9_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE10_Pos 10 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 10 Position */
|
||
|
#define MCAN_TXBTIE_TIE10_Msk (_U_(0x1) << MCAN_TXBTIE_TIE10_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 10 Mask */
|
||
|
#define MCAN_TXBTIE_TIE10 MCAN_TXBTIE_TIE10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE10_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE11_Pos 11 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 11 Position */
|
||
|
#define MCAN_TXBTIE_TIE11_Msk (_U_(0x1) << MCAN_TXBTIE_TIE11_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 11 Mask */
|
||
|
#define MCAN_TXBTIE_TIE11 MCAN_TXBTIE_TIE11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE11_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE12_Pos 12 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 12 Position */
|
||
|
#define MCAN_TXBTIE_TIE12_Msk (_U_(0x1) << MCAN_TXBTIE_TIE12_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 12 Mask */
|
||
|
#define MCAN_TXBTIE_TIE12 MCAN_TXBTIE_TIE12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE12_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE13_Pos 13 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 13 Position */
|
||
|
#define MCAN_TXBTIE_TIE13_Msk (_U_(0x1) << MCAN_TXBTIE_TIE13_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 13 Mask */
|
||
|
#define MCAN_TXBTIE_TIE13 MCAN_TXBTIE_TIE13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE13_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE14_Pos 14 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 14 Position */
|
||
|
#define MCAN_TXBTIE_TIE14_Msk (_U_(0x1) << MCAN_TXBTIE_TIE14_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 14 Mask */
|
||
|
#define MCAN_TXBTIE_TIE14 MCAN_TXBTIE_TIE14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE14_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE15_Pos 15 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 15 Position */
|
||
|
#define MCAN_TXBTIE_TIE15_Msk (_U_(0x1) << MCAN_TXBTIE_TIE15_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 15 Mask */
|
||
|
#define MCAN_TXBTIE_TIE15 MCAN_TXBTIE_TIE15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE15_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE16_Pos 16 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 16 Position */
|
||
|
#define MCAN_TXBTIE_TIE16_Msk (_U_(0x1) << MCAN_TXBTIE_TIE16_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 16 Mask */
|
||
|
#define MCAN_TXBTIE_TIE16 MCAN_TXBTIE_TIE16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE16_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE17_Pos 17 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 17 Position */
|
||
|
#define MCAN_TXBTIE_TIE17_Msk (_U_(0x1) << MCAN_TXBTIE_TIE17_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 17 Mask */
|
||
|
#define MCAN_TXBTIE_TIE17 MCAN_TXBTIE_TIE17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE17_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE18_Pos 18 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 18 Position */
|
||
|
#define MCAN_TXBTIE_TIE18_Msk (_U_(0x1) << MCAN_TXBTIE_TIE18_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 18 Mask */
|
||
|
#define MCAN_TXBTIE_TIE18 MCAN_TXBTIE_TIE18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE18_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE19_Pos 19 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 19 Position */
|
||
|
#define MCAN_TXBTIE_TIE19_Msk (_U_(0x1) << MCAN_TXBTIE_TIE19_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 19 Mask */
|
||
|
#define MCAN_TXBTIE_TIE19 MCAN_TXBTIE_TIE19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE19_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE20_Pos 20 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 20 Position */
|
||
|
#define MCAN_TXBTIE_TIE20_Msk (_U_(0x1) << MCAN_TXBTIE_TIE20_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 20 Mask */
|
||
|
#define MCAN_TXBTIE_TIE20 MCAN_TXBTIE_TIE20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE20_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE21_Pos 21 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 21 Position */
|
||
|
#define MCAN_TXBTIE_TIE21_Msk (_U_(0x1) << MCAN_TXBTIE_TIE21_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 21 Mask */
|
||
|
#define MCAN_TXBTIE_TIE21 MCAN_TXBTIE_TIE21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE21_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE22_Pos 22 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 22 Position */
|
||
|
#define MCAN_TXBTIE_TIE22_Msk (_U_(0x1) << MCAN_TXBTIE_TIE22_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 22 Mask */
|
||
|
#define MCAN_TXBTIE_TIE22 MCAN_TXBTIE_TIE22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE22_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE23_Pos 23 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 23 Position */
|
||
|
#define MCAN_TXBTIE_TIE23_Msk (_U_(0x1) << MCAN_TXBTIE_TIE23_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 23 Mask */
|
||
|
#define MCAN_TXBTIE_TIE23 MCAN_TXBTIE_TIE23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE23_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE24_Pos 24 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 24 Position */
|
||
|
#define MCAN_TXBTIE_TIE24_Msk (_U_(0x1) << MCAN_TXBTIE_TIE24_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 24 Mask */
|
||
|
#define MCAN_TXBTIE_TIE24 MCAN_TXBTIE_TIE24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE24_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE25_Pos 25 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 25 Position */
|
||
|
#define MCAN_TXBTIE_TIE25_Msk (_U_(0x1) << MCAN_TXBTIE_TIE25_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 25 Mask */
|
||
|
#define MCAN_TXBTIE_TIE25 MCAN_TXBTIE_TIE25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE25_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE26_Pos 26 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 26 Position */
|
||
|
#define MCAN_TXBTIE_TIE26_Msk (_U_(0x1) << MCAN_TXBTIE_TIE26_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 26 Mask */
|
||
|
#define MCAN_TXBTIE_TIE26 MCAN_TXBTIE_TIE26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE26_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE27_Pos 27 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 27 Position */
|
||
|
#define MCAN_TXBTIE_TIE27_Msk (_U_(0x1) << MCAN_TXBTIE_TIE27_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 27 Mask */
|
||
|
#define MCAN_TXBTIE_TIE27 MCAN_TXBTIE_TIE27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE27_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE28_Pos 28 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 28 Position */
|
||
|
#define MCAN_TXBTIE_TIE28_Msk (_U_(0x1) << MCAN_TXBTIE_TIE28_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 28 Mask */
|
||
|
#define MCAN_TXBTIE_TIE28 MCAN_TXBTIE_TIE28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE28_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE29_Pos 29 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 29 Position */
|
||
|
#define MCAN_TXBTIE_TIE29_Msk (_U_(0x1) << MCAN_TXBTIE_TIE29_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 29 Mask */
|
||
|
#define MCAN_TXBTIE_TIE29 MCAN_TXBTIE_TIE29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE29_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE30_Pos 30 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 30 Position */
|
||
|
#define MCAN_TXBTIE_TIE30_Msk (_U_(0x1) << MCAN_TXBTIE_TIE30_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 30 Mask */
|
||
|
#define MCAN_TXBTIE_TIE30 MCAN_TXBTIE_TIE30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE30_Msk instead */
|
||
|
#define MCAN_TXBTIE_TIE31_Pos 31 /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 31 Position */
|
||
|
#define MCAN_TXBTIE_TIE31_Msk (_U_(0x1) << MCAN_TXBTIE_TIE31_Pos) /**< (MCAN_TXBTIE) Transmission Interrupt Enable for Buffer 31 Mask */
|
||
|
#define MCAN_TXBTIE_TIE31 MCAN_TXBTIE_TIE31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBTIE_TIE31_Msk instead */
|
||
|
#define MCAN_TXBTIE_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBTIE) Register MASK (Use MCAN_TXBTIE_Msk instead) */
|
||
|
#define MCAN_TXBTIE_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBTIE) Register Mask */
|
||
|
|
||
|
#define MCAN_TXBTIE_TIE_Pos 0 /**< (MCAN_TXBTIE Position) Transmission Interrupt Enable for Buffer 3x */
|
||
|
#define MCAN_TXBTIE_TIE_Msk (_U_(0xFFFFFFFF) << MCAN_TXBTIE_TIE_Pos) /**< (MCAN_TXBTIE Mask) TIE */
|
||
|
#define MCAN_TXBTIE_TIE(value) (MCAN_TXBTIE_TIE_Msk & ((value) << MCAN_TXBTIE_TIE_Pos))
|
||
|
|
||
|
/* -------- MCAN_TXBCIE : (MCAN Offset: 0xe4) (R/W 32) Transmit Buffer Cancellation Finished Interrupt Enable Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t CFIE0:1; /**< bit: 0 Cancellation Finished Interrupt Enable for Transmit Buffer 0 */
|
||
|
uint32_t CFIE1:1; /**< bit: 1 Cancellation Finished Interrupt Enable for Transmit Buffer 1 */
|
||
|
uint32_t CFIE2:1; /**< bit: 2 Cancellation Finished Interrupt Enable for Transmit Buffer 2 */
|
||
|
uint32_t CFIE3:1; /**< bit: 3 Cancellation Finished Interrupt Enable for Transmit Buffer 3 */
|
||
|
uint32_t CFIE4:1; /**< bit: 4 Cancellation Finished Interrupt Enable for Transmit Buffer 4 */
|
||
|
uint32_t CFIE5:1; /**< bit: 5 Cancellation Finished Interrupt Enable for Transmit Buffer 5 */
|
||
|
uint32_t CFIE6:1; /**< bit: 6 Cancellation Finished Interrupt Enable for Transmit Buffer 6 */
|
||
|
uint32_t CFIE7:1; /**< bit: 7 Cancellation Finished Interrupt Enable for Transmit Buffer 7 */
|
||
|
uint32_t CFIE8:1; /**< bit: 8 Cancellation Finished Interrupt Enable for Transmit Buffer 8 */
|
||
|
uint32_t CFIE9:1; /**< bit: 9 Cancellation Finished Interrupt Enable for Transmit Buffer 9 */
|
||
|
uint32_t CFIE10:1; /**< bit: 10 Cancellation Finished Interrupt Enable for Transmit Buffer 10 */
|
||
|
uint32_t CFIE11:1; /**< bit: 11 Cancellation Finished Interrupt Enable for Transmit Buffer 11 */
|
||
|
uint32_t CFIE12:1; /**< bit: 12 Cancellation Finished Interrupt Enable for Transmit Buffer 12 */
|
||
|
uint32_t CFIE13:1; /**< bit: 13 Cancellation Finished Interrupt Enable for Transmit Buffer 13 */
|
||
|
uint32_t CFIE14:1; /**< bit: 14 Cancellation Finished Interrupt Enable for Transmit Buffer 14 */
|
||
|
uint32_t CFIE15:1; /**< bit: 15 Cancellation Finished Interrupt Enable for Transmit Buffer 15 */
|
||
|
uint32_t CFIE16:1; /**< bit: 16 Cancellation Finished Interrupt Enable for Transmit Buffer 16 */
|
||
|
uint32_t CFIE17:1; /**< bit: 17 Cancellation Finished Interrupt Enable for Transmit Buffer 17 */
|
||
|
uint32_t CFIE18:1; /**< bit: 18 Cancellation Finished Interrupt Enable for Transmit Buffer 18 */
|
||
|
uint32_t CFIE19:1; /**< bit: 19 Cancellation Finished Interrupt Enable for Transmit Buffer 19 */
|
||
|
uint32_t CFIE20:1; /**< bit: 20 Cancellation Finished Interrupt Enable for Transmit Buffer 20 */
|
||
|
uint32_t CFIE21:1; /**< bit: 21 Cancellation Finished Interrupt Enable for Transmit Buffer 21 */
|
||
|
uint32_t CFIE22:1; /**< bit: 22 Cancellation Finished Interrupt Enable for Transmit Buffer 22 */
|
||
|
uint32_t CFIE23:1; /**< bit: 23 Cancellation Finished Interrupt Enable for Transmit Buffer 23 */
|
||
|
uint32_t CFIE24:1; /**< bit: 24 Cancellation Finished Interrupt Enable for Transmit Buffer 24 */
|
||
|
uint32_t CFIE25:1; /**< bit: 25 Cancellation Finished Interrupt Enable for Transmit Buffer 25 */
|
||
|
uint32_t CFIE26:1; /**< bit: 26 Cancellation Finished Interrupt Enable for Transmit Buffer 26 */
|
||
|
uint32_t CFIE27:1; /**< bit: 27 Cancellation Finished Interrupt Enable for Transmit Buffer 27 */
|
||
|
uint32_t CFIE28:1; /**< bit: 28 Cancellation Finished Interrupt Enable for Transmit Buffer 28 */
|
||
|
uint32_t CFIE29:1; /**< bit: 29 Cancellation Finished Interrupt Enable for Transmit Buffer 29 */
|
||
|
uint32_t CFIE30:1; /**< bit: 30 Cancellation Finished Interrupt Enable for Transmit Buffer 30 */
|
||
|
uint32_t CFIE31:1; /**< bit: 31 Cancellation Finished Interrupt Enable for Transmit Buffer 31 */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
struct {
|
||
|
uint32_t CFIE:32; /**< bit: 0..31 Cancellation Finished Interrupt Enable for Transmit Buffer 3x */
|
||
|
} vec; /**< Structure used for vec access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXBCIE_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXBCIE_OFFSET (0xE4) /**< (MCAN_TXBCIE) Transmit Buffer Cancellation Finished Interrupt Enable Register Offset */
|
||
|
|
||
|
#define MCAN_TXBCIE_CFIE0_Pos 0 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 0 Position */
|
||
|
#define MCAN_TXBCIE_CFIE0_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE0_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 0 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE0 MCAN_TXBCIE_CFIE0_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE0_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE1_Pos 1 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 1 Position */
|
||
|
#define MCAN_TXBCIE_CFIE1_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE1_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 1 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE1 MCAN_TXBCIE_CFIE1_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE1_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE2_Pos 2 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 2 Position */
|
||
|
#define MCAN_TXBCIE_CFIE2_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE2_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 2 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE2 MCAN_TXBCIE_CFIE2_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE2_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE3_Pos 3 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 3 Position */
|
||
|
#define MCAN_TXBCIE_CFIE3_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE3_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 3 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE3 MCAN_TXBCIE_CFIE3_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE3_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE4_Pos 4 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 4 Position */
|
||
|
#define MCAN_TXBCIE_CFIE4_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE4_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 4 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE4 MCAN_TXBCIE_CFIE4_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE4_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE5_Pos 5 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 5 Position */
|
||
|
#define MCAN_TXBCIE_CFIE5_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE5_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 5 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE5 MCAN_TXBCIE_CFIE5_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE5_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE6_Pos 6 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 6 Position */
|
||
|
#define MCAN_TXBCIE_CFIE6_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE6_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 6 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE6 MCAN_TXBCIE_CFIE6_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE6_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE7_Pos 7 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 7 Position */
|
||
|
#define MCAN_TXBCIE_CFIE7_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE7_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 7 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE7 MCAN_TXBCIE_CFIE7_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE7_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE8_Pos 8 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 8 Position */
|
||
|
#define MCAN_TXBCIE_CFIE8_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE8_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 8 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE8 MCAN_TXBCIE_CFIE8_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE8_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE9_Pos 9 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 9 Position */
|
||
|
#define MCAN_TXBCIE_CFIE9_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE9_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 9 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE9 MCAN_TXBCIE_CFIE9_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE9_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE10_Pos 10 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 10 Position */
|
||
|
#define MCAN_TXBCIE_CFIE10_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE10_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 10 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE10 MCAN_TXBCIE_CFIE10_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE10_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE11_Pos 11 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 11 Position */
|
||
|
#define MCAN_TXBCIE_CFIE11_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE11_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 11 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE11 MCAN_TXBCIE_CFIE11_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE11_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE12_Pos 12 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 12 Position */
|
||
|
#define MCAN_TXBCIE_CFIE12_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE12_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 12 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE12 MCAN_TXBCIE_CFIE12_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE12_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE13_Pos 13 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 13 Position */
|
||
|
#define MCAN_TXBCIE_CFIE13_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE13_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 13 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE13 MCAN_TXBCIE_CFIE13_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE13_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE14_Pos 14 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 14 Position */
|
||
|
#define MCAN_TXBCIE_CFIE14_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE14_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 14 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE14 MCAN_TXBCIE_CFIE14_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE14_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE15_Pos 15 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 15 Position */
|
||
|
#define MCAN_TXBCIE_CFIE15_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE15_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 15 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE15 MCAN_TXBCIE_CFIE15_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE15_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE16_Pos 16 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 16 Position */
|
||
|
#define MCAN_TXBCIE_CFIE16_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE16_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 16 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE16 MCAN_TXBCIE_CFIE16_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE16_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE17_Pos 17 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 17 Position */
|
||
|
#define MCAN_TXBCIE_CFIE17_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE17_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 17 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE17 MCAN_TXBCIE_CFIE17_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE17_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE18_Pos 18 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 18 Position */
|
||
|
#define MCAN_TXBCIE_CFIE18_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE18_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 18 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE18 MCAN_TXBCIE_CFIE18_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE18_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE19_Pos 19 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 19 Position */
|
||
|
#define MCAN_TXBCIE_CFIE19_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE19_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 19 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE19 MCAN_TXBCIE_CFIE19_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE19_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE20_Pos 20 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 20 Position */
|
||
|
#define MCAN_TXBCIE_CFIE20_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE20_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 20 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE20 MCAN_TXBCIE_CFIE20_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE20_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE21_Pos 21 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 21 Position */
|
||
|
#define MCAN_TXBCIE_CFIE21_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE21_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 21 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE21 MCAN_TXBCIE_CFIE21_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE21_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE22_Pos 22 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 22 Position */
|
||
|
#define MCAN_TXBCIE_CFIE22_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE22_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 22 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE22 MCAN_TXBCIE_CFIE22_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE22_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE23_Pos 23 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 23 Position */
|
||
|
#define MCAN_TXBCIE_CFIE23_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE23_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 23 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE23 MCAN_TXBCIE_CFIE23_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE23_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE24_Pos 24 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 24 Position */
|
||
|
#define MCAN_TXBCIE_CFIE24_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE24_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 24 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE24 MCAN_TXBCIE_CFIE24_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE24_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE25_Pos 25 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 25 Position */
|
||
|
#define MCAN_TXBCIE_CFIE25_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE25_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 25 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE25 MCAN_TXBCIE_CFIE25_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE25_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE26_Pos 26 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 26 Position */
|
||
|
#define MCAN_TXBCIE_CFIE26_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE26_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 26 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE26 MCAN_TXBCIE_CFIE26_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE26_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE27_Pos 27 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 27 Position */
|
||
|
#define MCAN_TXBCIE_CFIE27_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE27_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 27 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE27 MCAN_TXBCIE_CFIE27_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE27_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE28_Pos 28 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 28 Position */
|
||
|
#define MCAN_TXBCIE_CFIE28_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE28_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 28 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE28 MCAN_TXBCIE_CFIE28_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE28_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE29_Pos 29 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 29 Position */
|
||
|
#define MCAN_TXBCIE_CFIE29_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE29_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 29 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE29 MCAN_TXBCIE_CFIE29_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE29_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE30_Pos 30 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 30 Position */
|
||
|
#define MCAN_TXBCIE_CFIE30_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE30_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 30 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE30 MCAN_TXBCIE_CFIE30_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE30_Msk instead */
|
||
|
#define MCAN_TXBCIE_CFIE31_Pos 31 /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 31 Position */
|
||
|
#define MCAN_TXBCIE_CFIE31_Msk (_U_(0x1) << MCAN_TXBCIE_CFIE31_Pos) /**< (MCAN_TXBCIE) Cancellation Finished Interrupt Enable for Transmit Buffer 31 Mask */
|
||
|
#define MCAN_TXBCIE_CFIE31 MCAN_TXBCIE_CFIE31_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXBCIE_CFIE31_Msk instead */
|
||
|
#define MCAN_TXBCIE_MASK _U_(0xFFFFFFFF) /**< \deprecated (MCAN_TXBCIE) Register MASK (Use MCAN_TXBCIE_Msk instead) */
|
||
|
#define MCAN_TXBCIE_Msk _U_(0xFFFFFFFF) /**< (MCAN_TXBCIE) Register Mask */
|
||
|
|
||
|
#define MCAN_TXBCIE_CFIE_Pos 0 /**< (MCAN_TXBCIE Position) Cancellation Finished Interrupt Enable for Transmit Buffer 3x */
|
||
|
#define MCAN_TXBCIE_CFIE_Msk (_U_(0xFFFFFFFF) << MCAN_TXBCIE_CFIE_Pos) /**< (MCAN_TXBCIE Mask) CFIE */
|
||
|
#define MCAN_TXBCIE_CFIE(value) (MCAN_TXBCIE_CFIE_Msk & ((value) << MCAN_TXBCIE_CFIE_Pos))
|
||
|
|
||
|
/* -------- MCAN_TXEFC : (MCAN Offset: 0xf0) (R/W 32) Transmit Event FIFO Configuration Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t :2; /**< bit: 0..1 Reserved */
|
||
|
uint32_t EFSA:14; /**< bit: 2..15 Event FIFO Start Address */
|
||
|
uint32_t EFS:6; /**< bit: 16..21 Event FIFO Size */
|
||
|
uint32_t :2; /**< bit: 22..23 Reserved */
|
||
|
uint32_t EFWM:6; /**< bit: 24..29 Event FIFO Watermark */
|
||
|
uint32_t :2; /**< bit: 30..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXEFC_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXEFC_OFFSET (0xF0) /**< (MCAN_TXEFC) Transmit Event FIFO Configuration Register Offset */
|
||
|
|
||
|
#define MCAN_TXEFC_EFSA_Pos 2 /**< (MCAN_TXEFC) Event FIFO Start Address Position */
|
||
|
#define MCAN_TXEFC_EFSA_Msk (_U_(0x3FFF) << MCAN_TXEFC_EFSA_Pos) /**< (MCAN_TXEFC) Event FIFO Start Address Mask */
|
||
|
#define MCAN_TXEFC_EFSA(value) (MCAN_TXEFC_EFSA_Msk & ((value) << MCAN_TXEFC_EFSA_Pos))
|
||
|
#define MCAN_TXEFC_EFS_Pos 16 /**< (MCAN_TXEFC) Event FIFO Size Position */
|
||
|
#define MCAN_TXEFC_EFS_Msk (_U_(0x3F) << MCAN_TXEFC_EFS_Pos) /**< (MCAN_TXEFC) Event FIFO Size Mask */
|
||
|
#define MCAN_TXEFC_EFS(value) (MCAN_TXEFC_EFS_Msk & ((value) << MCAN_TXEFC_EFS_Pos))
|
||
|
#define MCAN_TXEFC_EFWM_Pos 24 /**< (MCAN_TXEFC) Event FIFO Watermark Position */
|
||
|
#define MCAN_TXEFC_EFWM_Msk (_U_(0x3F) << MCAN_TXEFC_EFWM_Pos) /**< (MCAN_TXEFC) Event FIFO Watermark Mask */
|
||
|
#define MCAN_TXEFC_EFWM(value) (MCAN_TXEFC_EFWM_Msk & ((value) << MCAN_TXEFC_EFWM_Pos))
|
||
|
#define MCAN_TXEFC_MASK _U_(0x3F3FFFFC) /**< \deprecated (MCAN_TXEFC) Register MASK (Use MCAN_TXEFC_Msk instead) */
|
||
|
#define MCAN_TXEFC_Msk _U_(0x3F3FFFFC) /**< (MCAN_TXEFC) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXEFS : (MCAN Offset: 0xf4) (R/ 32) Transmit Event FIFO Status Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t EFFL:6; /**< bit: 0..5 Event FIFO Fill Level */
|
||
|
uint32_t :2; /**< bit: 6..7 Reserved */
|
||
|
uint32_t EFGI:5; /**< bit: 8..12 Event FIFO Get Index */
|
||
|
uint32_t :3; /**< bit: 13..15 Reserved */
|
||
|
uint32_t EFPI:5; /**< bit: 16..20 Event FIFO Put Index */
|
||
|
uint32_t :3; /**< bit: 21..23 Reserved */
|
||
|
uint32_t EFF:1; /**< bit: 24 Event FIFO Full */
|
||
|
uint32_t TEFL:1; /**< bit: 25 Tx Event FIFO Element Lost */
|
||
|
uint32_t :6; /**< bit: 26..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXEFS_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXEFS_OFFSET (0xF4) /**< (MCAN_TXEFS) Transmit Event FIFO Status Register Offset */
|
||
|
|
||
|
#define MCAN_TXEFS_EFFL_Pos 0 /**< (MCAN_TXEFS) Event FIFO Fill Level Position */
|
||
|
#define MCAN_TXEFS_EFFL_Msk (_U_(0x3F) << MCAN_TXEFS_EFFL_Pos) /**< (MCAN_TXEFS) Event FIFO Fill Level Mask */
|
||
|
#define MCAN_TXEFS_EFFL(value) (MCAN_TXEFS_EFFL_Msk & ((value) << MCAN_TXEFS_EFFL_Pos))
|
||
|
#define MCAN_TXEFS_EFGI_Pos 8 /**< (MCAN_TXEFS) Event FIFO Get Index Position */
|
||
|
#define MCAN_TXEFS_EFGI_Msk (_U_(0x1F) << MCAN_TXEFS_EFGI_Pos) /**< (MCAN_TXEFS) Event FIFO Get Index Mask */
|
||
|
#define MCAN_TXEFS_EFGI(value) (MCAN_TXEFS_EFGI_Msk & ((value) << MCAN_TXEFS_EFGI_Pos))
|
||
|
#define MCAN_TXEFS_EFPI_Pos 16 /**< (MCAN_TXEFS) Event FIFO Put Index Position */
|
||
|
#define MCAN_TXEFS_EFPI_Msk (_U_(0x1F) << MCAN_TXEFS_EFPI_Pos) /**< (MCAN_TXEFS) Event FIFO Put Index Mask */
|
||
|
#define MCAN_TXEFS_EFPI(value) (MCAN_TXEFS_EFPI_Msk & ((value) << MCAN_TXEFS_EFPI_Pos))
|
||
|
#define MCAN_TXEFS_EFF_Pos 24 /**< (MCAN_TXEFS) Event FIFO Full Position */
|
||
|
#define MCAN_TXEFS_EFF_Msk (_U_(0x1) << MCAN_TXEFS_EFF_Pos) /**< (MCAN_TXEFS) Event FIFO Full Mask */
|
||
|
#define MCAN_TXEFS_EFF MCAN_TXEFS_EFF_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXEFS_EFF_Msk instead */
|
||
|
#define MCAN_TXEFS_TEFL_Pos 25 /**< (MCAN_TXEFS) Tx Event FIFO Element Lost Position */
|
||
|
#define MCAN_TXEFS_TEFL_Msk (_U_(0x1) << MCAN_TXEFS_TEFL_Pos) /**< (MCAN_TXEFS) Tx Event FIFO Element Lost Mask */
|
||
|
#define MCAN_TXEFS_TEFL MCAN_TXEFS_TEFL_Msk /**< \deprecated Old style mask definition for 1 bit bitfield. Use MCAN_TXEFS_TEFL_Msk instead */
|
||
|
#define MCAN_TXEFS_MASK _U_(0x31F1F3F) /**< \deprecated (MCAN_TXEFS) Register MASK (Use MCAN_TXEFS_Msk instead) */
|
||
|
#define MCAN_TXEFS_Msk _U_(0x31F1F3F) /**< (MCAN_TXEFS) Register Mask */
|
||
|
|
||
|
|
||
|
/* -------- MCAN_TXEFA : (MCAN Offset: 0xf8) (R/W 32) Transmit Event FIFO Acknowledge Register -------- */
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
typedef union {
|
||
|
struct {
|
||
|
uint32_t EFAI:5; /**< bit: 0..4 Event FIFO Acknowledge Index */
|
||
|
uint32_t :27; /**< bit: 5..31 Reserved */
|
||
|
} bit; /**< Structure used for bit access */
|
||
|
uint32_t reg; /**< Type used for register access */
|
||
|
} MCAN_TXEFA_Type;
|
||
|
#endif
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
|
||
|
#define MCAN_TXEFA_OFFSET (0xF8) /**< (MCAN_TXEFA) Transmit Event FIFO Acknowledge Register Offset */
|
||
|
|
||
|
#define MCAN_TXEFA_EFAI_Pos 0 /**< (MCAN_TXEFA) Event FIFO Acknowledge Index Position */
|
||
|
#define MCAN_TXEFA_EFAI_Msk (_U_(0x1F) << MCAN_TXEFA_EFAI_Pos) /**< (MCAN_TXEFA) Event FIFO Acknowledge Index Mask */
|
||
|
#define MCAN_TXEFA_EFAI(value) (MCAN_TXEFA_EFAI_Msk & ((value) << MCAN_TXEFA_EFAI_Pos))
|
||
|
#define MCAN_TXEFA_MASK _U_(0x1F) /**< \deprecated (MCAN_TXEFA) Register MASK (Use MCAN_TXEFA_Msk instead) */
|
||
|
#define MCAN_TXEFA_Msk _U_(0x1F) /**< (MCAN_TXEFA) Register Mask */
|
||
|
|
||
|
|
||
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
||
|
#if COMPONENT_TYPEDEF_STYLE == 'R'
|
||
|
/** \brief MCAN_RXBE hardware registers */
|
||
|
typedef struct { /* Rx Buffer Element */
|
||
|
__IO uint32_t MCAN_RXBE_0; /**< (MCAN_RXBE Offset: 0x00) Rx Buffer Element 0 */
|
||
|
__IO uint32_t MCAN_RXBE_1; /**< (MCAN_RXBE Offset: 0x04) Rx Buffer Element 1 */
|
||
|
__IO uint32_t MCAN_RXBE_DATA; /**< (MCAN_RXBE Offset: 0x08) Rx Buffer Element Data */
|
||
|
} McanRxbe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_RXF0E hardware registers */
|
||
|
typedef struct { /* Rx FIFO 0 Element */
|
||
|
__IO uint32_t MCAN_RXF0E_0; /**< (MCAN_RXF0E Offset: 0x00) Rx FIFO 0 Element 0 */
|
||
|
__IO uint32_t MCAN_RXF0E_1; /**< (MCAN_RXF0E Offset: 0x04) Rx FIFO 0 Element 1 */
|
||
|
__IO uint32_t MCAN_RXF0E_DATA; /**< (MCAN_RXF0E Offset: 0x08) Rx FIFO 0 Element Data */
|
||
|
} McanRxf0e
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_RXF1E hardware registers */
|
||
|
typedef struct { /* Rx FIFO 1 Element */
|
||
|
__IO uint32_t MCAN_RXF1E_0; /**< (MCAN_RXF1E Offset: 0x00) Rx FIFO 1 Element 0 */
|
||
|
__IO uint32_t MCAN_RXF1E_1; /**< (MCAN_RXF1E Offset: 0x04) Rx FIFO 1 Element 1 */
|
||
|
__IO uint32_t MCAN_RXF1E_DATA; /**< (MCAN_RXF1E Offset: 0x08) Rx FIFO 1 Element Data */
|
||
|
} McanRxf1e
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_TXBE hardware registers */
|
||
|
typedef struct { /* Tx Buffer Element */
|
||
|
__IO uint32_t MCAN_TXBE_0; /**< (MCAN_TXBE Offset: 0x00) Tx Buffer Element 0 */
|
||
|
__IO uint32_t MCAN_TXBE_1; /**< (MCAN_TXBE Offset: 0x04) Tx Buffer Element 1 */
|
||
|
__IO uint32_t MCAN_TXBE_DATA; /**< (MCAN_TXBE Offset: 0x08) Tx Buffer Element Data */
|
||
|
} McanTxbe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_TXEFE hardware registers */
|
||
|
typedef struct { /* Tx Event FIFO Element */
|
||
|
__IO uint32_t MCAN_TXEFE_0; /**< (MCAN_TXEFE Offset: 0x00) Tx Event FIFO Element 0 */
|
||
|
__IO uint32_t MCAN_TXEFE_1; /**< (MCAN_TXEFE Offset: 0x04) Tx Event FIFO Element 1 */
|
||
|
} McanTxefe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_SIDFE hardware registers */
|
||
|
typedef struct { /* Standard Message ID Filter Element */
|
||
|
__IO uint32_t MCAN_SIDFE_0; /**< (MCAN_SIDFE Offset: 0x00) Standard Message ID Filter Element 0 */
|
||
|
} McanSidfe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_XIDFE hardware registers */
|
||
|
typedef struct { /* Extended Message ID Filter Element */
|
||
|
__IO uint32_t MCAN_XIDFE_0; /**< (MCAN_XIDFE Offset: 0x00) Extended Message ID Filter Element 0 */
|
||
|
__IO uint32_t MCAN_XIDFE_1; /**< (MCAN_XIDFE Offset: 0x04) Extended Message ID Filter Element 1 */
|
||
|
} McanXidfe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN hardware registers */
|
||
|
typedef struct {
|
||
|
__I uint32_t MCAN_CREL; /**< (MCAN Offset: 0x00) Core Release Register */
|
||
|
__I uint32_t MCAN_ENDN; /**< (MCAN Offset: 0x04) Endian Register */
|
||
|
__IO uint32_t MCAN_CUST; /**< (MCAN Offset: 0x08) Customer Register */
|
||
|
__IO uint32_t MCAN_DBTP; /**< (MCAN Offset: 0x0C) Data Bit Timing and Prescaler Register */
|
||
|
__IO uint32_t MCAN_TEST; /**< (MCAN Offset: 0x10) Test Register */
|
||
|
__IO uint32_t MCAN_RWD; /**< (MCAN Offset: 0x14) RAM Watchdog Register */
|
||
|
__IO uint32_t MCAN_CCCR; /**< (MCAN Offset: 0x18) CC Control Register */
|
||
|
__IO uint32_t MCAN_NBTP; /**< (MCAN Offset: 0x1C) Nominal Bit Timing and Prescaler Register */
|
||
|
__IO uint32_t MCAN_TSCC; /**< (MCAN Offset: 0x20) Timestamp Counter Configuration Register */
|
||
|
__IO uint32_t MCAN_TSCV; /**< (MCAN Offset: 0x24) Timestamp Counter Value Register */
|
||
|
__IO uint32_t MCAN_TOCC; /**< (MCAN Offset: 0x28) Timeout Counter Configuration Register */
|
||
|
__IO uint32_t MCAN_TOCV; /**< (MCAN Offset: 0x2C) Timeout Counter Value Register */
|
||
|
__I uint8_t Reserved1[16];
|
||
|
__I uint32_t MCAN_ECR; /**< (MCAN Offset: 0x40) Error Counter Register */
|
||
|
__I uint32_t MCAN_PSR; /**< (MCAN Offset: 0x44) Protocol Status Register */
|
||
|
__IO uint32_t MCAN_TDCR; /**< (MCAN Offset: 0x48) Transmit Delay Compensation Register */
|
||
|
__I uint8_t Reserved2[4];
|
||
|
__IO uint32_t MCAN_IR; /**< (MCAN Offset: 0x50) Interrupt Register */
|
||
|
__IO uint32_t MCAN_IE; /**< (MCAN Offset: 0x54) Interrupt Enable Register */
|
||
|
__IO uint32_t MCAN_ILS; /**< (MCAN Offset: 0x58) Interrupt Line Select Register */
|
||
|
__IO uint32_t MCAN_ILE; /**< (MCAN Offset: 0x5C) Interrupt Line Enable Register */
|
||
|
__I uint8_t Reserved3[32];
|
||
|
__IO uint32_t MCAN_GFC; /**< (MCAN Offset: 0x80) Global Filter Configuration Register */
|
||
|
__IO uint32_t MCAN_SIDFC; /**< (MCAN Offset: 0x84) Standard ID Filter Configuration Register */
|
||
|
__IO uint32_t MCAN_XIDFC; /**< (MCAN Offset: 0x88) Extended ID Filter Configuration Register */
|
||
|
__I uint8_t Reserved4[4];
|
||
|
__IO uint32_t MCAN_XIDAM; /**< (MCAN Offset: 0x90) Extended ID AND Mask Register */
|
||
|
__I uint32_t MCAN_HPMS; /**< (MCAN Offset: 0x94) High Priority Message Status Register */
|
||
|
__IO uint32_t MCAN_NDAT1; /**< (MCAN Offset: 0x98) New Data 1 Register */
|
||
|
__IO uint32_t MCAN_NDAT2; /**< (MCAN Offset: 0x9C) New Data 2 Register */
|
||
|
__IO uint32_t MCAN_RXF0C; /**< (MCAN Offset: 0xA0) Receive FIFO 0 Configuration Register */
|
||
|
__I uint32_t MCAN_RXF0S; /**< (MCAN Offset: 0xA4) Receive FIFO 0 Status Register */
|
||
|
__IO uint32_t MCAN_RXF0A; /**< (MCAN Offset: 0xA8) Receive FIFO 0 Acknowledge Register */
|
||
|
__IO uint32_t MCAN_RXBC; /**< (MCAN Offset: 0xAC) Receive Rx Buffer Configuration Register */
|
||
|
__IO uint32_t MCAN_RXF1C; /**< (MCAN Offset: 0xB0) Receive FIFO 1 Configuration Register */
|
||
|
__I uint32_t MCAN_RXF1S; /**< (MCAN Offset: 0xB4) Receive FIFO 1 Status Register */
|
||
|
__IO uint32_t MCAN_RXF1A; /**< (MCAN Offset: 0xB8) Receive FIFO 1 Acknowledge Register */
|
||
|
__IO uint32_t MCAN_RXESC; /**< (MCAN Offset: 0xBC) Receive Buffer / FIFO Element Size Configuration Register */
|
||
|
__IO uint32_t MCAN_TXBC; /**< (MCAN Offset: 0xC0) Transmit Buffer Configuration Register */
|
||
|
__I uint32_t MCAN_TXFQS; /**< (MCAN Offset: 0xC4) Transmit FIFO/Queue Status Register */
|
||
|
__IO uint32_t MCAN_TXESC; /**< (MCAN Offset: 0xC8) Transmit Buffer Element Size Configuration Register */
|
||
|
__I uint32_t MCAN_TXBRP; /**< (MCAN Offset: 0xCC) Transmit Buffer Request Pending Register */
|
||
|
__IO uint32_t MCAN_TXBAR; /**< (MCAN Offset: 0xD0) Transmit Buffer Add Request Register */
|
||
|
__IO uint32_t MCAN_TXBCR; /**< (MCAN Offset: 0xD4) Transmit Buffer Cancellation Request Register */
|
||
|
__I uint32_t MCAN_TXBTO; /**< (MCAN Offset: 0xD8) Transmit Buffer Transmission Occurred Register */
|
||
|
__I uint32_t MCAN_TXBCF; /**< (MCAN Offset: 0xDC) Transmit Buffer Cancellation Finished Register */
|
||
|
__IO uint32_t MCAN_TXBTIE; /**< (MCAN Offset: 0xE0) Transmit Buffer Transmission Interrupt Enable Register */
|
||
|
__IO uint32_t MCAN_TXBCIE; /**< (MCAN Offset: 0xE4) Transmit Buffer Cancellation Finished Interrupt Enable Register */
|
||
|
__I uint8_t Reserved5[8];
|
||
|
__IO uint32_t MCAN_TXEFC; /**< (MCAN Offset: 0xF0) Transmit Event FIFO Configuration Register */
|
||
|
__I uint32_t MCAN_TXEFS; /**< (MCAN Offset: 0xF4) Transmit Event FIFO Status Register */
|
||
|
__IO uint32_t MCAN_TXEFA; /**< (MCAN Offset: 0xF8) Transmit Event FIFO Acknowledge Register */
|
||
|
} Mcan;
|
||
|
|
||
|
#elif COMPONENT_TYPEDEF_STYLE == 'N'
|
||
|
/** \brief MCAN_RXBE hardware registers */
|
||
|
typedef struct { /* Rx Buffer Element */
|
||
|
__IO MCAN_RXBE_0_Type MCAN_RXBE_0; /**< Offset: 0x00 (R/W 32) Rx Buffer Element 0 */
|
||
|
__IO MCAN_RXBE_1_Type MCAN_RXBE_1; /**< Offset: 0x04 (R/W 32) Rx Buffer Element 1 */
|
||
|
__IO MCAN_RXBE_DATA_Type MCAN_RXBE_DATA; /**< Offset: 0x08 (R/W 32) Rx Buffer Element Data */
|
||
|
} McanRxbe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_RXF0E hardware registers */
|
||
|
typedef struct { /* Rx FIFO 0 Element */
|
||
|
__IO MCAN_RXF0E_0_Type MCAN_RXF0E_0; /**< Offset: 0x00 (R/W 32) Rx FIFO 0 Element 0 */
|
||
|
__IO MCAN_RXF0E_1_Type MCAN_RXF0E_1; /**< Offset: 0x04 (R/W 32) Rx FIFO 0 Element 1 */
|
||
|
__IO MCAN_RXF0E_DATA_Type MCAN_RXF0E_DATA; /**< Offset: 0x08 (R/W 32) Rx FIFO 0 Element Data */
|
||
|
} McanRxf0e
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_RXF1E hardware registers */
|
||
|
typedef struct { /* Rx FIFO 1 Element */
|
||
|
__IO MCAN_RXF1E_0_Type MCAN_RXF1E_0; /**< Offset: 0x00 (R/W 32) Rx FIFO 1 Element 0 */
|
||
|
__IO MCAN_RXF1E_1_Type MCAN_RXF1E_1; /**< Offset: 0x04 (R/W 32) Rx FIFO 1 Element 1 */
|
||
|
__IO MCAN_RXF1E_DATA_Type MCAN_RXF1E_DATA; /**< Offset: 0x08 (R/W 32) Rx FIFO 1 Element Data */
|
||
|
} McanRxf1e
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_TXBE hardware registers */
|
||
|
typedef struct { /* Tx Buffer Element */
|
||
|
__IO MCAN_TXBE_0_Type MCAN_TXBE_0; /**< Offset: 0x00 (R/W 32) Tx Buffer Element 0 */
|
||
|
__IO MCAN_TXBE_1_Type MCAN_TXBE_1; /**< Offset: 0x04 (R/W 32) Tx Buffer Element 1 */
|
||
|
__IO MCAN_TXBE_DATA_Type MCAN_TXBE_DATA; /**< Offset: 0x08 (R/W 32) Tx Buffer Element Data */
|
||
|
} McanTxbe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_TXEFE hardware registers */
|
||
|
typedef struct { /* Tx Event FIFO Element */
|
||
|
__IO MCAN_TXEFE_0_Type MCAN_TXEFE_0; /**< Offset: 0x00 (R/W 32) Tx Event FIFO Element 0 */
|
||
|
__IO MCAN_TXEFE_1_Type MCAN_TXEFE_1; /**< Offset: 0x04 (R/W 32) Tx Event FIFO Element 1 */
|
||
|
} McanTxefe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_SIDFE hardware registers */
|
||
|
typedef struct { /* Standard Message ID Filter Element */
|
||
|
__IO MCAN_SIDFE_0_Type MCAN_SIDFE_0; /**< Offset: 0x00 (R/W 32) Standard Message ID Filter Element 0 */
|
||
|
} McanSidfe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN_XIDFE hardware registers */
|
||
|
typedef struct { /* Extended Message ID Filter Element */
|
||
|
__IO MCAN_XIDFE_0_Type MCAN_XIDFE_0; /**< Offset: 0x00 (R/W 32) Extended Message ID Filter Element 0 */
|
||
|
__IO MCAN_XIDFE_1_Type MCAN_XIDFE_1; /**< Offset: 0x04 (R/W 32) Extended Message ID Filter Element 1 */
|
||
|
} McanXidfe
|
||
|
#ifdef __GNUC__
|
||
|
__attribute__ ((aligned (4)))
|
||
|
#endif
|
||
|
;
|
||
|
|
||
|
/** \brief MCAN hardware registers */
|
||
|
typedef struct {
|
||
|
__I MCAN_CREL_Type MCAN_CREL; /**< Offset: 0x00 (R/ 32) Core Release Register */
|
||
|
__I MCAN_ENDN_Type MCAN_ENDN; /**< Offset: 0x04 (R/ 32) Endian Register */
|
||
|
__IO MCAN_CUST_Type MCAN_CUST; /**< Offset: 0x08 (R/W 32) Customer Register */
|
||
|
__IO MCAN_DBTP_Type MCAN_DBTP; /**< Offset: 0x0C (R/W 32) Data Bit Timing and Prescaler Register */
|
||
|
__IO MCAN_TEST_Type MCAN_TEST; /**< Offset: 0x10 (R/W 32) Test Register */
|
||
|
__IO MCAN_RWD_Type MCAN_RWD; /**< Offset: 0x14 (R/W 32) RAM Watchdog Register */
|
||
|
__IO MCAN_CCCR_Type MCAN_CCCR; /**< Offset: 0x18 (R/W 32) CC Control Register */
|
||
|
__IO MCAN_NBTP_Type MCAN_NBTP; /**< Offset: 0x1C (R/W 32) Nominal Bit Timing and Prescaler Register */
|
||
|
__IO MCAN_TSCC_Type MCAN_TSCC; /**< Offset: 0x20 (R/W 32) Timestamp Counter Configuration Register */
|
||
|
__IO MCAN_TSCV_Type MCAN_TSCV; /**< Offset: 0x24 (R/W 32) Timestamp Counter Value Register */
|
||
|
__IO MCAN_TOCC_Type MCAN_TOCC; /**< Offset: 0x28 (R/W 32) Timeout Counter Configuration Register */
|
||
|
__IO MCAN_TOCV_Type MCAN_TOCV; /**< Offset: 0x2C (R/W 32) Timeout Counter Value Register */
|
||
|
__I uint8_t Reserved1[16];
|
||
|
__I MCAN_ECR_Type MCAN_ECR; /**< Offset: 0x40 (R/ 32) Error Counter Register */
|
||
|
__I MCAN_PSR_Type MCAN_PSR; /**< Offset: 0x44 (R/ 32) Protocol Status Register */
|
||
|
__IO MCAN_TDCR_Type MCAN_TDCR; /**< Offset: 0x48 (R/W 32) Transmit Delay Compensation Register */
|
||
|
__I uint8_t Reserved2[4];
|
||
|
__IO MCAN_IR_Type MCAN_IR; /**< Offset: 0x50 (R/W 32) Interrupt Register */
|
||
|
__IO MCAN_IE_Type MCAN_IE; /**< Offset: 0x54 (R/W 32) Interrupt Enable Register */
|
||
|
__IO MCAN_ILS_Type MCAN_ILS; /**< Offset: 0x58 (R/W 32) Interrupt Line Select Register */
|
||
|
__IO MCAN_ILE_Type MCAN_ILE; /**< Offset: 0x5C (R/W 32) Interrupt Line Enable Register */
|
||
|
__I uint8_t Reserved3[32];
|
||
|
__IO MCAN_GFC_Type MCAN_GFC; /**< Offset: 0x80 (R/W 32) Global Filter Configuration Register */
|
||
|
__IO MCAN_SIDFC_Type MCAN_SIDFC; /**< Offset: 0x84 (R/W 32) Standard ID Filter Configuration Register */
|
||
|
__IO MCAN_XIDFC_Type MCAN_XIDFC; /**< Offset: 0x88 (R/W 32) Extended ID Filter Configuration Register */
|
||
|
__I uint8_t Reserved4[4];
|
||
|
__IO MCAN_XIDAM_Type MCAN_XIDAM; /**< Offset: 0x90 (R/W 32) Extended ID AND Mask Register */
|
||
|
__I MCAN_HPMS_Type MCAN_HPMS; /**< Offset: 0x94 (R/ 32) High Priority Message Status Register */
|
||
|
__IO MCAN_NDAT1_Type MCAN_NDAT1; /**< Offset: 0x98 (R/W 32) New Data 1 Register */
|
||
|
__IO MCAN_NDAT2_Type MCAN_NDAT2; /**< Offset: 0x9C (R/W 32) New Data 2 Register */
|
||
|
__IO MCAN_RXF0C_Type MCAN_RXF0C; /**< Offset: 0xA0 (R/W 32) Receive FIFO 0 Configuration Register */
|
||
|
__I MCAN_RXF0S_Type MCAN_RXF0S; /**< Offset: 0xA4 (R/ 32) Receive FIFO 0 Status Register */
|
||
|
__IO MCAN_RXF0A_Type MCAN_RXF0A; /**< Offset: 0xA8 (R/W 32) Receive FIFO 0 Acknowledge Register */
|
||
|
__IO MCAN_RXBC_Type MCAN_RXBC; /**< Offset: 0xAC (R/W 32) Receive Rx Buffer Configuration Register */
|
||
|
__IO MCAN_RXF1C_Type MCAN_RXF1C; /**< Offset: 0xB0 (R/W 32) Receive FIFO 1 Configuration Register */
|
||
|
__I MCAN_RXF1S_Type MCAN_RXF1S; /**< Offset: 0xB4 (R/ 32) Receive FIFO 1 Status Register */
|
||
|
__IO MCAN_RXF1A_Type MCAN_RXF1A; /**< Offset: 0xB8 (R/W 32) Receive FIFO 1 Acknowledge Register */
|
||
|
__IO MCAN_RXESC_Type MCAN_RXESC; /**< Offset: 0xBC (R/W 32) Receive Buffer / FIFO Element Size Configuration Register */
|
||
|
__IO MCAN_TXBC_Type MCAN_TXBC; /**< Offset: 0xC0 (R/W 32) Transmit Buffer Configuration Register */
|
||
|
__I MCAN_TXFQS_Type MCAN_TXFQS; /**< Offset: 0xC4 (R/ 32) Transmit FIFO/Queue Status Register */
|
||
|
__IO MCAN_TXESC_Type MCAN_TXESC; /**< Offset: 0xC8 (R/W 32) Transmit Buffer Element Size Configuration Register */
|
||
|
__I MCAN_TXBRP_Type MCAN_TXBRP; /**< Offset: 0xCC (R/ 32) Transmit Buffer Request Pending Register */
|
||
|
__IO MCAN_TXBAR_Type MCAN_TXBAR; /**< Offset: 0xD0 (R/W 32) Transmit Buffer Add Request Register */
|
||
|
__IO MCAN_TXBCR_Type MCAN_TXBCR; /**< Offset: 0xD4 (R/W 32) Transmit Buffer Cancellation Request Register */
|
||
|
__I MCAN_TXBTO_Type MCAN_TXBTO; /**< Offset: 0xD8 (R/ 32) Transmit Buffer Transmission Occurred Register */
|
||
|
__I MCAN_TXBCF_Type MCAN_TXBCF; /**< Offset: 0xDC (R/ 32) Transmit Buffer Cancellation Finished Register */
|
||
|
__IO MCAN_TXBTIE_Type MCAN_TXBTIE; /**< Offset: 0xE0 (R/W 32) Transmit Buffer Transmission Interrupt Enable Register */
|
||
|
__IO MCAN_TXBCIE_Type MCAN_TXBCIE; /**< Offset: 0xE4 (R/W 32) Transmit Buffer Cancellation Finished Interrupt Enable Register */
|
||
|
__I uint8_t Reserved5[8];
|
||
|
__IO MCAN_TXEFC_Type MCAN_TXEFC; /**< Offset: 0xF0 (R/W 32) Transmit Event FIFO Configuration Register */
|
||
|
__I MCAN_TXEFS_Type MCAN_TXEFS; /**< Offset: 0xF4 (R/ 32) Transmit Event FIFO Status Register */
|
||
|
__IO MCAN_TXEFA_Type MCAN_TXEFA; /**< Offset: 0xF8 (R/W 32) Transmit Event FIFO Acknowledge Register */
|
||
|
} Mcan;
|
||
|
|
||
|
#else /* COMPONENT_TYPEDEF_STYLE */
|
||
|
#error Unknown component typedef style
|
||
|
#endif /* COMPONENT_TYPEDEF_STYLE */
|
||
|
|
||
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
||
|
/** @} end of Controller Area Network */
|
||
|
|
||
|
#endif /* _SAME70_MCAN_COMPONENT_H_ */
|