
W528XXX
DESIGN GUIDE
5 -
b. When the falling edge of TG1 goes active, the EN register will cause TG1 to interrupt the current
playing state and jump immediately to voice group 0, the voice group that corresponds to 1F.
c. No action will be taken when the other trigger pins are pressed, because the corresponding bits are
set to "0."
LD STOP, operand:
This instruction loads the operand message into the STOP register to set the output levels of the stop
signals. When a particular STOP bit is set to "1," the corresponding stop signal will be an active low
output.
Example:
LD STOP, 0x43
STPC STPB STPA
0
0
0
1
0
0
1
1
X
X
X
X
X
STOP:
a. The STPA and STPB output signals will be high outputs.
b. The STPC output signal will be a low output.
c. The second bit "1" is a "don't care" bit and so has no effect on the stop signal output setting.
LD MODE, operand:
This instruction is used to select among various operating modes. It loads an operand message into
the MODE register to select one mode from each of several pairs of modes.
A "1" for one of these bits selects the first of the pair of modes indicated; a "0" selects the second of
the pair. The following example describes the MODE setting of the W528xxx product.
Example:
LD MODE, 0xD0
1
1
0
1
0
0
0
0
MODE:
Flash
LED2
LED2-STPC
Long
don't care
a. The LED is set as a flash type, with the flash frequency 3 Hz.
b. Pin 4 (TG4/LED2-STPC) is configured as either the LED2 or STPC output (determined by bit 6,
LED2/STPC).
c. Pin 4 is configured as the LED2 output pin.
d. The debounce time of the trigger inputs is set to long (around 45 mS).
JUMP (JP) Command:
JP value: