
W5280
Publication Release Date: March 1996
- 7 -
Revision A2
EXAMPLE 1:
The four bits are programmed as "1111," so that the eight bits of the register are as follows (an "X"
indicates a "Don't Care" bit):
Bit:
1
1
1
1
X
X
X
X
MODE:
Flash/DC
LED2/STPC
TG4/LED2_STPC
20 mS/160
μ
S
X
X
X
X
RESULT:
The mode settings are as follows:
a. Pin 4 (TG4/LED2_STPC) is configured as a trigger pin (TG4), and the LED2/STPC option will be
ignored.
b. The LED is set as a flash type, with a flash frequency of 3 Hz.
c. The debounce time of the trigger inputs is set to 20 mS.
EXAMPLE 2:
The four bits are programmed as "0000," so that the eight bits of the register are as follows (an "X"
indicates a "Don't Care" bit):
Bit:
0
0
0
0
X
X
X
X
MODE:
Flash/DC
LED2/STPC
TG4/LED2_STPC
20 mS/160
μ
S
X
X
X
X
RESULT:
The mode settings are as follows:
a. Pin 4 (TG4/LED2_STPC) is configured as either the LED2 or STPC output (determined by bit 6,
LED2/STPC; see next item).
b. Pin 4 is configured as the STPC output pin.
c. LED will be lit constantly during operation.
d. The debounce time of the trigger inputs is set as 160
μ
S.
2. JUMP (JP) Command:
JP value: Instructs device to jump directly to the voice group corresponding to the value indicated. The
voice group value may range from 0 to 127 (direct jump).
JP R0: Instructs device to jump to whatever voice group is indicated by the value currently stored in
register R0, from 0 to 255 (indirect jump).
Conditional Instructions:
Conditional instructions are executed only when the conditions specified in the instructions hold. The
conditional instructions are listed below. An explanation of the notation used in the instructions follows.
(Note: There are no conditional instructions for LD MODE.)
LD R0, VALUE @LAST: VALUE can be set from 0 to 255.