hit counter script

Figure 13-53: Elisa Command Format - NEC V850E/CA1 ATOMIC Preliminary User's Manual

32-/16-bit single-chip microcontroller
Table of Contents

Advertisement

(2)
Command format
Each action command consists of a 32-bit word of the following format.
31
30
29
END EHDL COND CMD4 CMD3 CMD2 CMD1 CMD0 DEST7 DEST6 DEST5 DEST4 DEST3 DEST2 DEST1 DEST0
15
14
13
PAR15 PAR14 PAR13 PAR12 PAR11 PAR10 PAR9 PAR8 PAR7 PAR6 PAR5 PAR4 PAR3 PAR2 PAR1 PAR0
Bit Position
Bit Name
31
END
30
EHDL
29
COND
28 to 24
CMD4 to
CMD0
23 to16
DEST7 to
DEST0
15 to 0
PAR15 to
PAR0
Chapter 13 FCAN Interface Function

Figure 13-53: ELISA Command Format

28
27
26
25
12
11
10
9
End of action command list
0: Actual command is not the last command of action command list
1: Actual command is the last command of the action command list
Remarks:
1. The END flag indicates that the actual command is the last one of the
command list. Please notice that each command is executed before
the END flag is tested. Thus the command where the END flag is set
is the last command which is executed.
2. The END flag has no influence on the execution of the command,
meaning that the command is executed in any case. It is used to indi-
cate that no further commands need to be executed after finishing the
execution of the actual command
3. After executing 8 consecutive commands without any END flag set,
the execution module automatically stops the execution. (First imple-
mentations only)
Error Handling
0: On error store source message and command number back to message buffer
1: On error do not store anything back to message buffer
Remark:
If an error occurs during the event processing of ELISA the EHDL bit
defines how ELISA stops its execution.
If EHDL bit is cleared (0) ELISA writes the actual status of the source
message buffer and the number of the command (as offset to the start
pointer) to the source message buffer, but it does not clear the ERQ bit of
the source message buffer.
If EHDL bit is set (1) no writing to the source message buffer is done.
Conditional execution
0: Always execute command and clear CFLG
1: Execute command only if CFLG is set
Remark:
If commands should only be executed if a special condition occurs (e.g. if
a counter is decremented to zero or if a special bit is set) then the COND
flag can be used.
Command
Available commands depending on the implementation.
Destination message buffer
Number of message buffer the command uses as target (0 to 255).
Command parameter
Additional parameter(s) for the corresponding command. Format depends on imple-
mentation of command handler.
Preliminary User's Manual U14913EE1V0UM00
24
23
22
21
20
8
7
6
5
Function
19
18
17
16
4
3
2
1
0
465

Advertisement

Table of Contents
loading

Table of Contents