W523AXXX
- 6 -
EN Register (W523A008, W523A010)
BIT 7 6 5 4 3 2 1 0
EN0 TG4R TG3R TG2R TG1R TG4F TG3F TG2F TG1F
EN0 or EN1 is an 8-bit register that stores the rising/falling edge enable or disable status information
for all trigger pins, which determines whether each trigger pin is retriggerable, non-retriggerable,
overwrite, or non-overwrite. The 8-bit structure of this register and the rising or falling edge of the
triggers corresponding to each bit are shown above. “X” indicates a “don’t care” bit.
The TG1, 2, 5, 6 represents triggers 1, 2, 5 and 6 respectively; the “R” represents the rising edge; and
“F” represents the falling edge. When any one of the eight bits is set to “1”, the rising or falling edge of
the corresponding trigger pin can be enabled, interrupting the current state.
5. STOP Register
BIT 7 6 5 4 3 2 1 0
STOP X X X STE STD STC STB STA
The STOP register stores stop output status information to determine the voltage level of each stop
output pin. The 8-bit structure of this register and the stop output pin corresponding to each bit are
show as above table. The “X” indicates a “don’t care” bit. When a particular STOP bit is set to “1”, the
corresponding stop signal will be an active high output.
6. R0-R3 Registers
These four registers are 8-bit register that stores the entry values of from 0 to 255 voice groups. R0 is
a special register that can be incremented by "INC" instruction.
Option Control Function
There are four types of option control in W523Axxx. They can be determined by a declaration in the
user′s program file, but cannot be controlled by register.
FUNCTION MASK OPTION
DECLARATION
DEFINITION
DEFPAGE 1 256 interrupt vector/label for 1 page, 1 page in total (1-page mode)
DEFPAGE 8 256 interrupt vector/label for 1 page, 8 pages in total (8-page mode)
DEFPAGE 16 128 interrupt vector/label for 1 page, 16 pages in total (16-page mode)
Page mode
configuration
DEFPAGE 32 64 interrupt vector/label for 1 page, 32 pages in total (32-page mode)
NORMAL Normal mode operation Operation
mode CPU CPU mode operation
OSC_3MHz 3 MHz oscillator Oscillator
frequency OSC_1.5MHz 1.5 MHz oscillator
VOUT_DAC DAC (AUD) output Voice
output type VOUT_PWM PWM output
"DEFPAGE" determines the page operation mode in W523Axxx. The default setting of the page mode
is 1-page mode. The 8-page, 16-page or 32-page mode can be declared to extend the voice group
entry from 256 to 2047 in PowerSpeech program.
The W523Axxx can communicate with an external microprocessor through the simple serial CPU