![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
The Arbitration Registers ID28-0, Xtd, and Dir are used to define the identifier and type of outgoing messages and are used (together with the mask registers Msk28-0, MXtd, and MDir) for acceptance filtering of incoming messages. A received message is stored into the valid Message Object with matching identifier and Direction=receive (Data Frame) or Direction=transmit (Remote Frame). Extended frames can be stored only in Message Objects with Xtd = one, standard frames in Message Objects with Xtd = zero. If a received message (Data Frame or Remote Frame) matches with more than one valid Message Object, it is stored into that with the lowest message number.
Register Layout
Bits | Access | Reset | Description |
---|---|---|---|
[3:0] | RW | 0x0 | Data Length Code |
[6:4] | ??? | 0x0 | UNDEFINED |
[7] | RW | 0x0 | End Of Block |
[8] | RW | 0x0 | Transmit Request |
[9] | RW | 0x0 | Remote Enable |
[10] | RW | 0x0 | Receive Interrupt Enable |
[11] | RW | 0x0 | Transmit Interrupt Enable |
[12] | RW | 0x0 | Use Acceptance Mask |
[13] | RW | 0x0 | Interrupt Pending |
[14] | RW | 0x0 | Message Lost |
[15] | RW | 0x0 | New Data |
[31:16] | ??? | 0x0 | UNDEFINED |
Field : Data Length Code - DLC | |
0-8 Data Frame has 0-8 data bytes. 9-15 Data Frame has 8 data bytes. Note: The Data Length Code of a Message Object must be defined the same as in all the corresponding objects with the same identifier at other nodes. When the Message Handler stores a data frame, it will write the DLC to the value given by the received message. Field Access Macros: | |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_LSB 0 |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_MSB 3 |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_WIDTH 4 |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_SET_MSK 0x0000000f |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_CLR_MSK 0xfffffff0 |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_RESET 0x0 |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_GET(value) (((value) & 0x0000000f) >> 0) |
#define | ALT_CAN_MSGIF_IF1MCTR_DLC_SET(value) (((value) << 0) & 0x0000000f) |
Field : End Of Block - EoB | |||||||||||||||||||
Note: This bit is used to concatenate two or more Message Objects (up to 128) to build a FIFO Buffer. For single Message Objects (not belonging to a FIFO Buffer) this bit must always be set to one. Field Enumeration Values:
Field Access Macros: | |||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_E_NOTLAST 0x0 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_E_SINGLEORLAST 0x1 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_LSB 7 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_MSB 7 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_WIDTH 1 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_SET_MSK 0x00000080 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_CLR_MSK 0xffffff7f | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_RESET 0x0 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_GET(value) (((value) & 0x00000080) >> 7) | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_EOB_SET(value) (((value) << 7) & 0x00000080) | ||||||||||||||||||
Field : Transmit Request - TxRqst | ||||||||||||||||
Transmit Request Field Enumeration Values:
Field Access Macros: | ||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_E_NOTWAITING 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_E_PENDING 0x1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_LSB 8 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_MSB 8 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_WIDTH 1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_SET_MSK 0x00000100 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_CLR_MSK 0xfffffeff | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_RESET 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_GET(value) (((value) & 0x00000100) >> 8) | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXRQST_SET(value) (((value) << 8) & 0x00000100) | |||||||||||||||
Field : Remote Enable - RmtEn | ||||||||||||||||
Remote Enable Field Enumeration Values:
Field Access Macros: | ||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_E_UNCHANGED 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_E_SET 0x1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_LSB 9 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_MSB 9 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_WIDTH 1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_SET_MSK 0x00000200 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_CLR_MSK 0xfffffdff | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_RESET 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_GET(value) (((value) & 0x00000200) >> 9) | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RMTEN_SET(value) (((value) << 9) & 0x00000200) | |||||||||||||||
Field : Receive Interrupt Enable - RxIE | ||||||||||||||||
Receive Interrupt Enable Field Enumeration Values:
Field Access Macros: | ||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_E_UNCHANGED 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_E_SET 0x1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_LSB 10 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_MSB 10 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_WIDTH 1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_SET_MSK 0x00000400 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_CLR_MSK 0xfffffbff | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_RESET 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_GET(value) (((value) & 0x00000400) >> 10) | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_RXIE_SET(value) (((value) << 10) & 0x00000400) | |||||||||||||||
Field : Transmit Interrupt Enable - TxIE | ||||||||||||||||
Transmit Interrupt Enable Field Enumeration Values:
Field Access Macros: | ||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_E_UNCHANGED 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_E_SET 0x1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_LSB 11 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_MSB 11 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_WIDTH 1 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_SET_MSK 0x00000800 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_CLR_MSK 0xfffff7ff | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_RESET 0x0 | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_GET(value) (((value) & 0x00000800) >> 11) | |||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_TXIE_SET(value) (((value) << 11) & 0x00000800) | |||||||||||||||
Field : Use Acceptance Mask - UMask | ||||||||||||||||||||||||||||||||||
Use Acceptance Mask Field Enumeration Values:
Field Access Macros: | ||||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_E_IGNORE 0x0 | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_E_USE 0x1 | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_LSB 12 | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_MSB 12 | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_WIDTH 1 | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_SET_MSK 0x00001000 | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_CLR_MSK 0xffffefff | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_RESET 0x0 | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_GET(value) (((value) & 0x00001000) >> 12) | |||||||||||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_UMSK_SET(value) (((value) << 12) & 0x00001000) | |||||||||||||||||||||||||||||||||
Field : Interrupt Pending - IntPnd | |||||||||||||||||||||||||
Interrupt Pending Field Enumeration Values:
Field Access Macros: | |||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_E_NOTSRC 0x0 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_E_SRC 0x1 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_LSB 13 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_MSB 13 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_WIDTH 1 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_SET_MSK 0x00002000 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_CLR_MSK 0xffffdfff | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_RESET 0x0 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_GET(value) (((value) & 0x00002000) >> 13) | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_INTPND_SET(value) (((value) << 13) & 0x00002000) | ||||||||||||||||||||||||
Field : Message Lost - MsgLst | |||||||||||||||||||
Message Lost Field Enumeration Values:
Field Access Macros: | |||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_E_NOTLOST 0x0 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_E_LOST 0x1 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_LSB 14 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_MSB 14 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_WIDTH 1 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_SET_MSK 0x00004000 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_CLR_MSK 0xffffbfff | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_RESET 0x0 | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_GET(value) (((value) & 0x00004000) >> 14) | ||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_MSGLST_SET(value) (((value) << 14) & 0x00004000) | ||||||||||||||||||
Field : New Data - NewDat | |||||||||||||||||||||||||
New Data Field Enumeration Values:
Field Access Macros: | |||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_E_NOTWRITTEN 0x0 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_E_WRITTEN 0x1 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_LSB 15 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_MSB 15 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_WIDTH 1 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_SET_MSK 0x00008000 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_CLR_MSK 0xffff7fff | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_RESET 0x0 | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_GET(value) (((value) & 0x00008000) >> 15) | ||||||||||||||||||||||||
#define | ALT_CAN_MSGIF_IF1MCTR_NEWDAT_SET(value) (((value) << 15) & 0x00008000) | ||||||||||||||||||||||||
Data Structures | |
struct | ALT_CAN_MSGIF_IF1MCTR_s |
Macros | |
#define | ALT_CAN_MSGIF_IF1MCTR_OFST 0xc |
#define | ALT_CAN_MSGIF_IF1MCTR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_CAN_MSGIF_IF1MCTR_OFST)) |
Typedefs | |
typedef struct ALT_CAN_MSGIF_IF1MCTR_s | ALT_CAN_MSGIF_IF1MCTR_t |
struct ALT_CAN_MSGIF_IF1MCTR_s |
WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.
The struct declaration for register ALT_CAN_MSGIF_IF1MCTR.
Data Fields | ||
---|---|---|
uint32_t | DLC: 4 | Data Length Code |
uint32_t | __pad0__: 3 | UNDEFINED |
uint32_t | EoB: 1 | End Of Block |
uint32_t | TxRqst: 1 | Transmit Request |
uint32_t | RmtEn: 1 | Remote Enable |
uint32_t | RxIE: 1 | Receive Interrupt Enable |
uint32_t | TxIE: 1 | Transmit Interrupt Enable |
uint32_t | UMask: 1 | Use Acceptance Mask |
uint32_t | IntPnd: 1 | Interrupt Pending |
uint32_t | MsgLst: 1 | Message Lost |
uint32_t | NewDat: 1 | New Data |
uint32_t | __pad1__: 16 | UNDEFINED |
#define ALT_CAN_MSGIF_IF1MCTR_DLC_LSB 0 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_DLC register field.
#define ALT_CAN_MSGIF_IF1MCTR_DLC_MSB 3 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_DLC register field.
#define ALT_CAN_MSGIF_IF1MCTR_DLC_WIDTH 4 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_DLC register field.
#define ALT_CAN_MSGIF_IF1MCTR_DLC_SET_MSK 0x0000000f |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_DLC register field value.
#define ALT_CAN_MSGIF_IF1MCTR_DLC_CLR_MSK 0xfffffff0 |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_DLC register field value.
#define ALT_CAN_MSGIF_IF1MCTR_DLC_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_DLC register field.
#define ALT_CAN_MSGIF_IF1MCTR_DLC_GET | ( | value | ) | (((value) & 0x0000000f) >> 0) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_DLC field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_DLC_SET | ( | value | ) | (((value) << 0) & 0x0000000f) |
Produces a ALT_CAN_MSGIF_IF1MCTR_DLC register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_E_NOTLAST 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_EOB
Message Object belongs to a FIFO Buffer Block and is not the last Message Object of that FIFO Buffer Block.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_E_SINGLEORLAST 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_EOB
Single Message Object or last Message Object of a FIFO Buffer Block.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_LSB 7 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_EOB register field.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_MSB 7 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_EOB register field.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_EOB register field.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_SET_MSK 0x00000080 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_EOB register field value.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_CLR_MSK 0xffffff7f |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_EOB register field value.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_EOB register field.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_GET | ( | value | ) | (((value) & 0x00000080) >> 7) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_EOB field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_EOB_SET | ( | value | ) | (((value) << 7) & 0x00000080) |
Produces a ALT_CAN_MSGIF_IF1MCTR_EOB register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_E_NOTWAITING 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_TXRQST
This Message Object is not waiting for transmission.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_E_PENDING 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_TXRQST
The transmission of this Message Object is requested and is not yet done.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_LSB 8 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_TXRQST register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_MSB 8 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_TXRQST register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_TXRQST register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_SET_MSK 0x00000100 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_TXRQST register field value.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_CLR_MSK 0xfffffeff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_TXRQST register field value.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_TXRQST register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_GET | ( | value | ) | (((value) & 0x00000100) >> 8) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_TXRQST field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_TXRQST_SET | ( | value | ) | (((value) << 8) & 0x00000100) |
Produces a ALT_CAN_MSGIF_IF1MCTR_TXRQST register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_E_UNCHANGED 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_RMTEN
At the reception of a Remote Frame, TxRqst is left unchanged.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_E_SET 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_RMTEN
At the reception of a Remote Frame, TxRqst is set.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_LSB 9 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_RMTEN register field.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_MSB 9 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_RMTEN register field.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_RMTEN register field.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_SET_MSK 0x00000200 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_RMTEN register field value.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_CLR_MSK 0xfffffdff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_RMTEN register field value.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_RMTEN register field.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_GET | ( | value | ) | (((value) & 0x00000200) >> 9) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_RMTEN field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_RMTEN_SET | ( | value | ) | (((value) << 9) & 0x00000200) |
Produces a ALT_CAN_MSGIF_IF1MCTR_RMTEN register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_E_UNCHANGED 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_RXIE
IntPnd will be left unchanged after the successful reception of a frame.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_E_SET 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_RXIE
IntPnd will be set after a successful reception of a frame.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_LSB 10 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_RXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_MSB 10 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_RXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_RXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_SET_MSK 0x00000400 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_RXIE register field value.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_CLR_MSK 0xfffffbff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_RXIE register field value.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_RXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_GET | ( | value | ) | (((value) & 0x00000400) >> 10) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_RXIE field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_RXIE_SET | ( | value | ) | (((value) << 10) & 0x00000400) |
Produces a ALT_CAN_MSGIF_IF1MCTR_RXIE register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_E_UNCHANGED 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_TXIE
IntPnd will be left unchanged after the successful transmission of a frame.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_E_SET 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_TXIE
IntPnd will be set after a successful transmission of a frame.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_LSB 11 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_TXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_MSB 11 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_TXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_TXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_SET_MSK 0x00000800 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_TXIE register field value.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_CLR_MSK 0xfffff7ff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_TXIE register field value.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_TXIE register field.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_GET | ( | value | ) | (((value) & 0x00000800) >> 11) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_TXIE field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_TXIE_SET | ( | value | ) | (((value) << 11) & 0x00000800) |
Produces a ALT_CAN_MSGIF_IF1MCTR_TXIE register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_E_IGNORE 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_UMSK
Acceptance formula1:
(RTRRx == ~DIR) && (IDERx == IDE) && (IDRx == ID)
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_E_USE 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_UMSK
(Msk28-0, MXtd, and MDir) for acceptance filtering, formula:
((RTRRx & MDIR) == (~DIR & MDIR)) &&
((IDERx & MXtd) == (IDE & MXtd)) &&
((IDRx & Msk) == (ID & Msk))
Note: If the UMask bit is set to one, the Message Object's mask bits have to be programmed during initialization of the Message Object before MsgVal is set to one.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_LSB 12 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_UMSK register field.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_MSB 12 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_UMSK register field.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_UMSK register field.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_SET_MSK 0x00001000 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_UMSK register field value.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_CLR_MSK 0xffffefff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_UMSK register field value.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_UMSK register field.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_GET | ( | value | ) | (((value) & 0x00001000) >> 12) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_UMSK field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_UMSK_SET | ( | value | ) | (((value) << 12) & 0x00001000) |
Produces a ALT_CAN_MSGIF_IF1MCTR_UMSK register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_E_NOTSRC 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_INTPND
This message object is not the source of an interrupt.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_E_SRC 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_INTPND
This message object is the source of an interrupt. The Interrupt Identifier in the Interrupt Register will point to this message object if there is no other interrupt source with higher priority.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_LSB 13 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_INTPND register field.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_MSB 13 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_INTPND register field.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_INTPND register field.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_SET_MSK 0x00002000 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_INTPND register field value.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_CLR_MSK 0xffffdfff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_INTPND register field value.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_INTPND register field.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_GET | ( | value | ) | (((value) & 0x00002000) >> 13) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_INTPND field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_INTPND_SET | ( | value | ) | (((value) << 13) & 0x00002000) |
Produces a ALT_CAN_MSGIF_IF1MCTR_INTPND register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_E_NOTLOST 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_MSGLST
No message lost since last time this bit was reset by the CPU.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_E_LOST 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_MSGLST
The Message Handler stored a new message into this object when NewDat was still set, the CPU has lost a message.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_LSB 14 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_MSGLST register field.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_MSB 14 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_MSGLST register field.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_MSGLST register field.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_SET_MSK 0x00004000 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_MSGLST register field value.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_CLR_MSK 0xffffbfff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_MSGLST register field value.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_MSGLST register field.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_GET | ( | value | ) | (((value) & 0x00004000) >> 14) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_MSGLST field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_MSGLST_SET | ( | value | ) | (((value) << 14) & 0x00004000) |
Produces a ALT_CAN_MSGIF_IF1MCTR_MSGLST register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_E_NOTWRITTEN 0x0 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_NEWDAT
No new data has been written into the data portion of this Message Object by the Message Handler since last time this flag was cleared by the CPU.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_E_WRITTEN 0x1 |
Enumerated value for register field ALT_CAN_MSGIF_IF1MCTR_NEWDAT
The Message Handler or the CPU has written new data into the data portion of this Message Object.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_LSB 15 |
The Least Significant Bit (LSB) position of the ALT_CAN_MSGIF_IF1MCTR_NEWDAT register field.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_MSB 15 |
The Most Significant Bit (MSB) position of the ALT_CAN_MSGIF_IF1MCTR_NEWDAT register field.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_WIDTH 1 |
The width in bits of the ALT_CAN_MSGIF_IF1MCTR_NEWDAT register field.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_SET_MSK 0x00008000 |
The mask used to set the ALT_CAN_MSGIF_IF1MCTR_NEWDAT register field value.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_CLR_MSK 0xffff7fff |
The mask used to clear the ALT_CAN_MSGIF_IF1MCTR_NEWDAT register field value.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_RESET 0x0 |
The reset value of the ALT_CAN_MSGIF_IF1MCTR_NEWDAT register field.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_GET | ( | value | ) | (((value) & 0x00008000) >> 15) |
Extracts the ALT_CAN_MSGIF_IF1MCTR_NEWDAT field value from a register.
#define ALT_CAN_MSGIF_IF1MCTR_NEWDAT_SET | ( | value | ) | (((value) << 15) & 0x00008000) |
Produces a ALT_CAN_MSGIF_IF1MCTR_NEWDAT register field value suitable for setting the register.
#define ALT_CAN_MSGIF_IF1MCTR_OFST 0xc |
The byte offset of the ALT_CAN_MSGIF_IF1MCTR register from the beginning of the component.
#define ALT_CAN_MSGIF_IF1MCTR_ADDR | ( | base | ) | ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_CAN_MSGIF_IF1MCTR_OFST)) |
The address of the ALT_CAN_MSGIF_IF1MCTR register.
typedef struct ALT_CAN_MSGIF_IF1MCTR_s ALT_CAN_MSGIF_IF1MCTR_t |
The typedef declaration for register ALT_CAN_MSGIF_IF1MCTR.