![Infineon Technologies TC1796 Скачать руководство пользователя страница 1327](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_20554371327.webp)
TC1796
Peripheral Units (Vol. 2 of 2)
Controller Area Network (MultiCAN) Controller
User’s Manual
22-32
V2.0, 2007-07
MultiCAN, V2.0
gives an overview on the available panel commands while
describes the panel commands in more detail.
A panel command is started by writing the respective command code into the Panel
Control Register bit field PANCTR.PANCMD (see
). The corresponding
command arguments must be written into bit fields PANCTR.PANAR1 and
PANCTR.PANAR2 before writing the command code, or latest along with the command
code in a single 32-bit write access to the Panel Control Register.
With the write operation of a valid command code, the PANCTR.BUSY flag is set and
further write accesses to the Panel Control Register are ignored. The BUSY flag remains
active and the control panel remains locked until the execution of the requested
command has been completed. After a reset, the list controller builds up list 0. During
this operation, BUSY is set and other accesses to the CAN RAM are forbidden. The CAN
RAM can be accessed again when BUSY becomes inactive.
Note: The CAN RAM is automatically initialized after reset by the list controller in order
to ensure correct list pointers in each message object. The end of this CAN RAM
initialization is indicated by bit PANCTR.BUSY becoming inactive.
In case of a dynamic allocation command that takes an element from the list of
unallocated objects, the PANCTR.RBUSY bit is also set along with the BUSY bit
Table 22-2
Panel Commands Overview
Command Name
Description
No Operation
No new command is started.
Initialize Lists
Run the initialization sequence to reset the CTRL and LIST
field of all message objects.
Static Allocate
Allocate message object to a list.
Dynamic Allocate
Allocate the first message object of the list of unallocated
objects to the selected list.
Static Insert Before
Remove a message object (source object) from the list that it
currently belongs to, and insert it before a given destination
object into the list structure of the destination object.
Dynamic Insert Before
Insert a new message object before a given destination
object.
Static Insert Behind
Remove a message object (source object) from the list that it
currently belongs to, and insert it behind a given destination
object into the list structure of the destination object.
Dynamic Insert Behind
Insert a new message object behind a given destination
object.