Part Name
         Description
HT46R064D

 Enhanced A/D Type MCU with High Current LED Driver ( 114 Page)


HOLTEK
100% 
Zoom Out Zoom In
 74 page
background image
INTC1Register
- Alldevices
Bit
7
6
5
4
3
2
1
0
Name
¾
¾
TBF
ADF
¾
¾
TBE
ADE
R/W
¾
¾
R/W
R/W
¾
¾
R/W
R/W
POR
¾
¾
0
0
¾
¾
0
0
Bit7~6
unimplemented,readas
²0²
Bit5
TBF:TimeBaseeventinterruptrequestflag
0:inactive
1:active
Bit4
ADF:A/DConversioninterruptrequestflag
0:inactive
1:active
Bit3~2
unimplemented,readas
²0²
Bit1
TBE:Timebaseeventinterruptenable
0:disable
1:enable
Bit0
ADE:A/DConversioninterruptenable
0:disable
1:enable
Timer/EventCounterInterrupt
For a Timer/Event Counter interrupt to occur, the global interrupt enable bit, EMI, and the
corresponding timer interrupt enable bit, TnE, must first be set. An actual Timer/Event Counter
interrupt will take place when the Timer/Event Counter request flag, TnF, is set, a situation that will
occur when the relevant Timer/Event Counter overflows. When the interrupt is enabled, the stack is
not full and a Timer/Event Counter n overflow occurs, a subroutine call to the relevant timer interrupt
vector, will take place. When the interrupt is serviced, the timer interrupt request flag, TnF, will be
automatically reset and the EMI bit will be automatically cleared to disable other interrupts.
TimeBaseInterrupt
For a time base interrupt to occur the global interrupt enable bit EMI and the corresponding interrupt
enable bit TBE, must first be set. An actual Time Base interrupt will take place when the time base
request flag TBF is set, a situation that will occur when the Time Base overflows. When the interrupt is
enabled, the stack is not full and a time base overflow occurs a subroutine call to time base vector will
take place. When the interrupt is serviced, the time base interrupt flag. TBF will be automatically reset
and the EMI bit will be automatically cleared to disable other interrupts.
ProgrammingConsiderations
By disabling the interrupt enable bits, a requested interrupt can be prevented from being serviced,
however, once an interrupt request flag is set, it will remain in this condition in the interrupt register
until the corresponding interrupt is serviced or until the request flag is cleared by a software
instruction.
It is recommended that programs do not use the
²CALL subroutine² instruction within the interrupt
subroutine. Interrupts often occur in an unpredictable manner or need to be serviced immediately in
some applications. If only one stack is left and the interrupt is not well controlled, the original control
sequence will be damaged once a
²CALL subroutine² is executed in the interrupt subroutine.
All of these interrupts have the capability of waking up the processor when in the Sleep Mode.
HT46R064D/065D/066D
EnhancedA/DType8-Bit OTP MCU withLEDDriver
Rev.1.00
69
January12,2011



Html Pages

1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79  80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95  96  97  98  99  100   ...More


Datasheet Download




Link URL

Sponsor of Alldatasheet


Alldistributor will be your best source to find out the prices for your daily purchasing of Electronic Components.
Alldistributor.com

World wide Buy/Sell Semiconductor & Electronic components on-line marketplace for Brokers and Distributors.
IC2IC.com

Korean Buy/Sell Semiconductor & Electronic components on-line marketplace for Brokers and Distributors.
ICpart.com

Chinese Marketplace to Buy/Sell Semiconductor Electronic components on-line for Brokers and Distributors.
IC5858.com

Japanese Buy/Sell Semiconductor & Electronic components on-line marketplace for Brokers and Distributors.
ICBAIBAI.com

Does ALLDATASHEET help your business so far?  [ DONATE ]  

About Alldatasheet   |   Advertisement   |   Partner program   |   Contact us   |   Privacy Policy   |   Bookmark   |   Link Exchange   |   Manufacturer List
All Rights Reserved© Alldatasheet.com 2003 - 2013    


Mirror Sites
English : Alldatasheet.com  , Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp  |   Russian : Alldatasheetru.com
Korean : Alldatasheet.co.kr   |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com  |   Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl