HT36A1
·
Envelope type definition
Mask Option
The HT36A1 provides a function to easily program the
envelope by setting the data of ENV1~0 and A_R. It
forms a vibrato effect by a change of the volume to at-
tach and release alternately.
No.
Mask Option
Function
On-chip RC/Instruction
clock/disable WDT
1
WDT source
The A_R signal is used to define the volume change in
attach mode or release mode and ENV1~0 is used to
define which volume control bit will be changeable. On
the attach mode, the control bits will be sequentially
signaled down to 0. On the release mode, the control
bits will be sequentially signaled up to 1. The relation-
ship is shown in the following table.
One time, two times
(CLR WDT1/WDT2)
2
CLRWDT times
3
4
5
Wake-up
Pull-High
OSC mode
PA only
PA, PB, PC input
Crystal or Resistor type
·
The PCM code definition
The HT36A1 can only solve the voice format of the
signed 8-bit raw PCM. And the MCU will take the voice
code 80H as the end code.
So each PCM code section must be ended with the
end code 80H.
A_R
ENV1
ENV0
Volume Control Bit
VR2~0
Control Bit Final Value
Mode
Release mode
No change mode
Attach mode
0
0
0
x
1
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
111b
11b
VR1~0
VR0
1b
No Bit
unchanged
000b
00b
VR2~0
VR1~0
VR0
0b
Envelope Type Definition
Rev. 1.00
17
August 15, 2005