English
Language : 

XC164-16 Datasheet, PDF (378/417 Pages) Infineon Technologies AG – 16-Bit Single-Chip Microcontroller with C166SV2 Core Volume 2 (of 2): Peripheral Units
XC164-16 Derivatives
Peripheral Units (Vol. 2 of 2)
TwinCAN Module
Field
CANPTR
Bits
[4:0]
High
Type
rwh
Description
CAN Pointer for FIFO/Gateway Functions
Message object is configured in standard mode
(MMC = ‘000’):
No impact, CANPTR should be initialized with the
respective message object number.
Message object is configured as FIFO base object
(MMC = ‘010’):
CANPTR contains the number of the message object
addressed by the associated CAN controller for the next
transmit or receive operation.
For initialization, CANPTR should be written with the
message number of the respective FIFO base object.
Message object is configured as FIFO slave object
(MMC = ‘011’):
CANPTR has to be initialized with the respective
message object number of the FIFO base object.
Message object is configured for normal gateway
mode (MMC = ‘100’):
CANPTR contains the number of the message object
used as gateway destination object.
Message object is configured as gateway
destination object without FIFO functionality
(MMC = ‘000’):
If SRREN is set to ‘1’, CANPTR has to be initialized with
the number of the message object used as gateway
source. The backward pointer is required to transfer
remote frames from the destination to the source side.
If SRREN is cleared, CANPTR is not evaluated and must
be initialized with the respective message object
number.
Message object is configured for shared gateway
mode (MMC = ‘101’):
No impact, CANPTR has to be initialized with the
respective message object number.
For FIFO functionality (or gateway functionality with a
FIFO as destination), CANPTRn should not be written by
software while FIFO mode is activated and data transfer
is in progress. This bitfield can be used to reset the FIFO
by software.
User’s Manual
TwinCAN_X41, V2.1
21-78
V2.1, 2004-03