English
Language : 

HE84G761B Datasheet, PDF (41/60 Pages) King blillion Electronics Co.,Ltd. – 8-BIT MICRO-CONTROLLER
KING BILLION ELECTRONICS CO., LTD
駿億電子股份有限公司
HE84G761B
HE80004 Series
Bit
VOC[3]
VOC[2]
VOC[1]
VOC[0]
Name
PWME
PWM
DAC
OP
Value
1
0
1
0
1
0
1
0
Function description
PWM Output Driver Enable
PWM Output Driver Disable
PWM Module Enable
PWM Module Disable
Digital-to-Analog Converter Enable
Digital-to-Analog Converter Disable
DAC output to DAO pin
DAC output to VO pin
The pulse-width modulator (PWM) converts 8-bit unsigned speech data which is written into PWMC data
register to proportional duty cycle of PWM output. PWM module shares the same digital input register
PWMC with Digit-to-Analog Converter. So PWM and DA output can exist at the same time. When PWM
circuit is enabled, it generates signal with duty ratio in proportion to the value of PWMC register.
DA = 0x20
DA = 0x80
DA = 0xE0
1 subframe
PWMC
Field
VOC
VOC
Field
Reset
address
0x0E
address
0x13
bit 7
DA7
Bit 7
-
bit 6 bit 5 bit 4 bit 3 bit 2 bit 1
DA6 DA5 DA4 DA3 DA2 DA1
Bit 6 Bit 5 Bit 4
PWM O/P driver
0
0
0
Bit 3
PWME
0
Bit 2
PWM
0
Bit 1
DAC
0
bit 0
DA0
Bit 0
OP
0
The PWM bit of VOC controls the enable/disable of the PWM circuit and output driver. When PWM bit
of VOC is ‘0’, PWME bit and output drivers are both cleared. To use PWM as voice output, PWM bit has
to be set to ‘1’ first, then set PWME bit and enable output driver by setting the driver number. If PWM bit
is disabled and enabled again, the setting for driver and PWME bit will be clear.
The Fast Clock is gated through PWME bit of VOC register to provide the clock source of PWM circuit
when it is enabled. As PWM needs higher frequency to operate, it cannot generate correct PWM signal in
Slow clock only mode.
When the program enters into sleep mode or idle mode, it will automatically turn off all voice outputs by
April 25, 2005
41
V0.92
This specification is subject to change without notice. Please contact sales person for the latest version before use.