| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
HT86B05 Datasheet(PDF) 51 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT86B05 Datasheet(HTML) 51 Page - Holtek Semiconductor Inc |
|
51 / 79 page ![]() HT86BXX/HT86BRXX Rev. 1.60 51 October 20, 2009 Example: Read an 8-bit voice ROM data which is located at address 000007H by address latch 0 Set [26H].2 ; Enable voice ROM circuit mov A, 07H ; mov LATCH0L, A ; Set LATCH0L to 07H mov A, 00H ; mov LATCH0M, A ; Set LATCH0M to 00H mov A, 00H ; mov LATCH0H, A ; Set LATCH0H to 00H call Delay ; Delay a short period of time mov A, LATCHD ; Get voice data at 000007H Pulse Width Modulation Output All device include a single 12-bit PWM function. The PWM output is provided on two complimentary outputs on the PWM1 and PWM2 pins. These two pins can di- rectly drive a piezo buzzer or an 8 ohm speaker without requiring any external components. The PWM1 output can also be used alone to drive a piezo buzzer or an 8 ohm speaker without requiring external components. When the single PWM1 output is chosen, which is achieved by setting the Single_PWM bit in the PWMC register. The PWM output will initially be at a low level, and if stopped will also return to a low level. If the PWMCC bit changes from low to high then the PWM function will start and latch new data. If the data is not updated then the old value will remain. If the PWMCC bit changes from high to low, at the end of the duty cycle, the PWM output will stop. P W M C R e g i s t e r b 0 P W M C C S i n g l e _ P W M b 7 N o t i m p l e m e n t e d , r e a d a s z e r o P W M E n a b l e 1 : e n a b l e 0 : d i s a b l e S i n g l e P W M O u t p u t 1 : s i n g l e o u t p u t 0 : d u a l o u t p u t s N o t i m p l e m e n t e d , r e a d a s z e r o Pulse Width Modulator Control Register P W M L R e g i s t e r b 7 b 0 N o t u s e d , r e a d a s " 0 " P 3 P 2 P 1 P 0 P W M o u t p u t P u l s e W i d t h M o d u l a t o r D a t a L o w R e g i s t e r P W M H R e g i s t e r b 7 b 0 P 1 1 P 1 0 P 9 P 8 P W M o u t p u t P u l s e W i d t h M o d u l a t o r D a t a H i g h R e g i s t e r P 7 P 6 P 5 P 4 S p e a k e r P W M 1 P W M 2 0 . 0 1 m F * 0 . 0 1 m F * " * " F o r r e d u c i n g t h e d i g i t a l n o i s e t h a t P W M m a y c a u s e , c a n c o n s i d e r i n c r e m e n t c a p a c i t o r s . N o t e : b 7 b 0 V O L R e g i s t e r N o t u s e d , r e a d a s " 0 " P W M v o l u m e c o n t r o l d a t a V O L 3 V O L 4 V O L 5 V O L 6 U s e d b y D A o u t p u t V O L 6 0 0 0 0 0 0 0 1 V O L 5 0 0 0 1 1 1 1 x V O L 4 0 1 1 0 0 1 1 x V O L 3 1 0 1 0 1 0 1 x P W M v o l u m e l e v e l 1 f o r t h e m i n i m u m v o l u m e P W M v o l u m e l e v e l 2 P W M v o l u m e l e v e l 3 P W M v o l u m e l e v e l 4 P W M v o l u m e l e v e l 5 P W M v o l u m e l e v e l 6 P W M v o l u m e l e v e l 7 P W M v o l u m e l e v e l 8 f o r t h e m a x i m u m v o l u m e Volume Control Register |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |