Infineon Technologies TC1728 User Manual page 1356

32-bit single-chip microcontroller
Table of Contents

Advertisement

Panel Commands
A panel operation consists of a command code (PANCMD) and up to two panel
arguments (PANAR1, PANAR2). Commands that have a return value deliver it to the
PANAR1 bit field. Commands that return an error flag deliver it to bit 31 of the Panel
Control Register, this means bit 7 of PANAR2.
Table 20-8
Panel Commands
PANCMD PANAR2
00
H
01
Result:
H
Bit 7: ERR
Bit 6-0: undefined
02
Argument:
H
List Index
User's Manual
MultiCAN, V2.24
Controller Area Network Controller (MultiCAN)
PANAR1
Command Description
No Operation
Writing 00
No new command is started.
Initialize Lists
Run the initialization sequence to reset
the CTRL and LIST fields of all message
objects. List registers LIST[7:0] are set to
their reset values. This results in the de-
allocation of all message objects.
The initialization command requires that
bits NCRx.INIT and NCRx.CCE are set
for all CAN nodes.
Bit 7 of PANAR2 (ERR) reports the
success of the operation:
0
B
1
B
The initialize lists command is
automatically performed with each reset
of the MultiCAN module, but with the
exception that all message object
registers are reset, too.
Argument:
Static Allocate
Message
Allocate message object to a list. The
Object
message object is removed from the list
Number
that it currently belongs to, and
appended to the end of the list, given by
PANAR2.
This command is also used to deallocate
a message object. In this case, the target
list is the list of unallocated elements
(PANAR2 = 0).
20-63
to PANCMD has no effect.
H
Initialization was successful
Not all NCRx.INIT and NCRx.CCE
bits are set. Therefore, no
initialization is performed.
TC1728
V1.0, 2011-12

Advertisement

Table of Contents
loading

Table of Contents