
W528XXX
DESIGN GUIDE
- 4 -
MODE:
Bit:
7
6
5
4
3
2
1
0
MODE:
Flash/DC
LED2/STPC
TG4/LED2-STPC
Long / Short
X
X
X
X
Bit 7 is used to determine the output status of LED1 and/or LED2: Flash alternate or synchronous
output (by mask option), or DC (LED will be lit constantly without flash).
Bit 6 and bit 5 together determine whether the I/O pin (i.e., pin 4) acts as a trigger input pin, LED
output pin, or STOP output pin.
Bit 4 is used to determine whether the debounce time for all trigger inputs is long ( around 45 mS ) or
short ( around 350
μ
S).
Commands
A. Unconditional Instructions
Load (LD) command:
This command can load value or operand data into the R0, EN, STOP, or MODE register.
LD R0, value:
This instruction is used to load a voice group entry value into register R0, as shown in the following
example.
Example:
LD R0, 167
0xA7
1
0
1
0
0
1
1
1
B
(hexadecimal)
(decimal)
Value: 0 to 255
LD EN, operand:
This instruction is used to define the trigger interrupt settings by loading the operand message into
register EN. The following example illustrates how the settings are defined.
Example:
LD EN, 0x41
0
1
0
0
0
0
0
1
0100 0001
(binary)
(hexadecimal)
TG:
4r
7
3r
6
2r
5
1r
4
4f
3
3f
2
2f
1
1f
0
Group:
a. When the rising edge of TG3 (3R) is activated, the EN register will cause TG3 to interrupt the
current playing state and jump immediately to voice group 6, the voice group that corresponds to
3R.