| Electronic Components Datasheet Search |
|
HT36B2 Datasheet(PDF) 18 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT36B2 Datasheet(HTML) 18 Page - Holtek Semiconductor Inc |
|
18 / 39 page ![]() HT36B2 Rev. 1.10 18 March 10, 2005 A_R ENV1 ENV0 Volume Control Bit Control Bit Final Value Mode 0 0 0 VL2~0, VR2~0 111b Release mode 0 0 1 VL1~0, VR1~0 11b 0 1 0 VL0, VR0 1b x 1 1 No Bit unchanged No change mode 1 0 0 VL2~0, VR2~0 000b Attach mode 1 0 1 VL1~0, VR1~0 00b 1 1 0 VL0, VR0 0b Envelope Type Definition · The PCM code definition The HT36B2 can provide 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. Digital to Analog Converter (DAC) The HT36B2 provides two 16-bit current type DAC de- vice controlled by the MCU or wavetable synthesizer for driving the external speaker through an external NPN transistor. It is in fact an optional object used for the wavetable synthesizer DAC or general DAC, this is cho- sen by mask option and DAC control register. If general DAC is chosen for application, then the wavetable synthesizer is disabled because the DAC is taken up and controlled by the MCU. If general DAC is selected, the programmer must write the voice data to register the DAL and DAH to get the corresponding analog data. For mask option enable DAC register and enable SELWL and SELWR, then the table becomes useful. Bit No. Label Function 0 SELWR SELWR=1: Right channel DAC data from wavetable SELWR=0: Right c0hannel DAC data from MCU (default) 1 DAON DAON=1: DAC On DAON=0: DAC Off (default) 2 SELWL SELWL=1: Left channel DAC data from wavetable SELWL=0: Left channel DAC data from MCU (default) 3~7 ¾ Unused bit, read as ²0² DAC (1FH) Control Register Mask Option No. Mask Option Function 1 WDT source On-chip RC/Instruction clock/ disable WDT 2 CLRWDT times One time, two times (CLR WDT1/WDT2) 3 Wake-up PA only 4 Pull-High PA, PB, PC, PD input 5 OSC mode Crystal or Resistor type 6 LVR/LVD Low voltage detection |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |