XC886/888CLM
Controller Area Network (MultiCAN) Controller
User’s Manual
15-17
V1.3, 2010-02
MultiCAN, V1.0
1. The message number of the message object taken from the list of unallocated
elements is written to PANAR1.
2. If ERR (bit 7 of PANAR2) is set to 1, the list of unallocated elements was empty and
the command is aborted. If ERR is 0, the list was not empty and the command will be
performed successfully.
The results of a dynamic allocation command are written before the list controller starts
the actual allocation process. As soon as the results are available, RBUSY becomes
inactive (RBUSY = 0) again, while BUSY still remains active until completion of the
command. This allows the user to set up the new message object while it is still in the
process of list allocation. The access to message objects is not limited during ongoing
list operations. However, any access to a register resource located inside the RAM
delays the ongoing allocation process by one access cycle.
As soon as the command is finished, the BUSY flag becomes inactive (BUSY = 0) and
write accesses to the Panel Control Register are enabled again. Additionally, the “No
Operation” command code is automatically written to the bit field PANCTR.PANCMD. A
new command may be started any time when BUSY = 0.
All fields of the register PANCTR except BUSY and RBUSY may be written by the user.
This allows the register PANCTR to be saved and restored if the Command Panel is
used within independent (mutually interruptible) interrupt routines. If this is the case, then
any task that uses the Command Panel (and that may interrupt another task also using
the Command Panel) should poll the BUSY flag until it becomes inactive and save the
whole PANCTR register to a memory location before issuing a command. At the end of
the interrupt service routine, it should restore PANCTR from the memory location.
Before a message object that is allocated to the list of an active CAN node is moved to
another list or to another position within the same list, bit MOCTRn.MSGVAL (“Message
Valid”) of message object n must be cleared.
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...