| 전자부품 데이터시트 검색엔진 |
|
HT83B60 데이터시트(PDF) 33 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT83B60 데이터시트(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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |