| Electronic Components Datasheet Search |
|
HT83B60 Datasheet(PDF) 33 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83B60 Datasheet(HTML) 33 Page - Holtek Semiconductor Inc |
|
33 / 84 page ![]() Rev. 1.00 3� De�e��e� 1�� �011 Rev. 1.00 33 De�e��e� 1�� �011 HT83B60 Voice Mask MCU HT83B60 Voice Mask MCU Time Base TheTimeBasefunctionwillgeneratearegularinterruptsignalsynchronisedtothesystemclock whichcanbeusedbytheapplicationasatimebasesignal. Time Base Operation TheTimeBaseoperationisaverysimplefunctionforthegenerationofaregulartimesignal.This isimplementedbygeneratingaregularinterruptsignalwhoseenable/disabledandrequestflagsare intheINTCregister.TheclocksourceforthetimebaseistheinternalfSYS/4clocksource,which isthendividedinternallybyavalueof1024.Itisthisdividedsignalthatgeneratestheinternal interrupt.TheTimeBaseInterruptisenabledbytheETBIbitintheINTCregisterandinterrupt requestflagistheTBFflaginthesameregister.Atimebaseof1mswillthereforbegeneratedfrom asystemclockof4MHzandatimebaseof0.5mswillbegeneratedfromasystemclocksourceof 8MHz. ¸ 1024 S yst em C lo ck/ 4 Ov er fl ow to I nt er ru pt Time Base Example Thefollowingexampleprogramsectionisbasedonthedevice.TheprogramshowshowtheTime Baseregistersaresetupalongwithhowtheinterruptsareenabledandmanaged.Thepointstonote intheexamplearehowtheTimeBaseisturnedonbysettingbit4oftheINTCregister.TheTime Basecanbeturnedoffinasimilarwaybyclearingthesamebit.Thisexampleprogramsetsthe TimeBasewhichusestheinternalsystemclockastheirclocksource,andproducesatimebase interruptevery0.5msfromasystemsourceclockof8MHz. #include HT83B60.inc jmp begin : org 04h ; time base vector jmp time_base_int;jumpherewhentimebaseoverflowsper0.5ms org 08h reti org 0Ch reti org 10h reti org 14h reti : ; time base interrupt routine time_base_int: : ; time base main program placed here : reti : begin: ; setup interrupt register mov a,03h ; enable global and time base interrupt mov intc,a ; enable time base |
|
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 |