Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

HT37B90 Fiches technique(PDF) 32 Page - Holtek Semiconductor Inc

No de pièce HT37B90
Description  HT37B90
Download  80 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  HOLTEK [Holtek Semiconductor Inc]
Site Internet  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT37B90 Fiches technique(HTML) 32 Page - Holtek Semiconductor Inc

Back Button HT37B90 Datasheet HTML 28Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 29Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 30Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 31Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 32Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 33Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 34Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 35Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 36Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 80 page
background image
HT37B90/HT37B70/HT37B50/HT37B30
Rev.1.00
32
June22,2017
Timer/EventCounterInterrupts
For a timer generated internal interrupt to occur, the cor-
responding internal interrupt enable bit must be first set.
Each device have two internal Timer Counters, the
Timer/Event Counter 0 interrupt enable is bit 2 of the
INTC register and known as ET0I, the Timer/Event Coun-
ter 1 interrupt enable is bit 3 of the INTC register and
known as ET1I and the Timer Counter 2 interrupt enable
is bit 0 of the INTCH register and is known as ET2I. An
actual Timer/Event Counter interrupt will be initialized
when the Timer/Event Counter interrupt request flag is
set, caused by a timer overflow. Each device has two tim-
ers, the Timer/Event Counter 0 request flag is bit 5 of the
INTC register and known as T0F, the Timer/Event Coun-
ter 1 request flag is bit 6 of the INTC register and known
as T1F, and the Timer Counter 2 request flag is bit 4 of the
INTCH register and is known as T2F.
When the master interrupt global enable bit is set, the
stack is not full and the corresponding timer interrupt en-
able bit is set, an internal interrupt will be generated
when the corresponding timer overflows. Each device
have two internal Timer/Event Counters, a subroutine
call to location 08H will occur for Timer/Event Counter 0,
a subroutine call to location 0CH for Timer/Event Coun-
ter 1, a subroutine call to location 10H for Timer Counter
2. After entering the timer interrupt execution routine,
the corresponding timer interrupt request flag, either,
T0F, T1F or T2F will be reset and the EMI bit will be
clearedtodisableotherinterrupts.
UART Interrupt
The device contain an internal UART function share with
Timer Counter 2. It_s corresponding UART interrupt
work by enabled UART function enable configuration
option, which is bit 7 of the UART function enable config-
uration option. An actual UART interrupt will be initial-
ized when the UART interrupt request flag T2F is set,
which is bit 0 of the INTCH register. When the master in-
terrupt global bit is set, the stack is not full and the corre-
sponding ET2I interrupt enable bit is set, a UART
internal interrupt will be generated when a UART inter-
rupt request occurs. This will create a subroutine call to
its corresponding vector location 010H. When a UART
internalinterruptoccurs,theinterruptrequestflagT2F
will be reset and the EMI bit cleared to disable other in-
terrupts. There are various UART conditions, which can
generate a UART interrupt, such as certain data trans-
mission and reception conditions, overrun errors as well
as an address detect condition. These conditions are re-
flected by various flags within the UART_s status regis-
ter, known as the RS232C register. Various bits in the
UART_s setup register, BRGR, determine if these flags
can generate a UART interrupt signal. More details on
these two registers and how they influence the opera-
tion of the UART interrupt can be found in the UART
sectionofthe datasheet.
RC/FInterrupt
The external RC Oscillation Converter interrupt is initial-
ized by setting the external RC Oscillation Converter in-
terrupt request flag, RCOCF; bit 5 of INTCH. This is
caused by a Timer A or Timer B overflow. When the in-
terrupt is enabled, and the stack is not full and the
RCOCF bit is set, a subroutine call to location
²14H² will
occur.
The related interrupt request flag, RCOCF, will be reset
andthe EMI bitclearedtodisablefurtherinterrupts.
ADPCM Interrupt
The internal ADPCM interrupt is initialized by setting the
ADPCM interrupt request flag (ADPCMF: bit 6, CH0F:
bit 3 and CH1F: bit 7 of INTCH).The CH0F and CH1F
set by ADR0 or ADR1 empty respectively. The
ADPCMF is set by ADR0 or ADR1 empty immediately.
When the interrupt is enabled, and the stack is not full
and the T0F bit is set, a subroutine call to location 18H
will occur. The related interrupt request ADPCMF and
CH0F/CH1F flag will be reset and the EMI bit cleared to
disablefurtherinterrupts.
ProgrammingConsiderations
The interrupt request flags T0F, T1F, T2F, ADPCMF,
CH0F, CH1F, together with the interrupt enable bits
ET0I, ET1I, ET2I, EADPCM, form the interrupt control
registers INTC, INTCH which are located in the Data
Memory. By disabling the interrupt enable bits, a re-
quested interrupt can be prevented from being serviced,
however, once an interrupt request flag is set, it will re-
main in this condition in the INTC or INTCH register until
the corresponding interrupt is serviced or until the re-
quest flag is cleared by a software instruction. It is rec-
ommended 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 con-
trolled, 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 Power Down Mode. Only the
Program Counter is pushed onto the stack. If the con-
tents of the register or status register are altered by the
interrupt service program, which may corrupt the de-
sired control sequence, then the contents should be
savedinadvance.


Numéro de pièce similaire - HT37B90

FabricantNo de pièceFiches techniqueDescription
logo
Hotchip Technology Co.,...
HT3786D HOTCHIP-HT3786D Datasheet
292Kb / 5P
   Li-ion Battery Charger
Ver1.0
logo
Holtek Semiconductor In...
HT37A20 HOLTEK-HT37A20 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
HT37A30 HOLTEK-HT37A30 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
HT37A40 HOLTEK-HT37A40 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
HT37A50 HOLTEK-HT37A50 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
More results


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


Fiches technique Télécharger

Go To PDF Page


Lien URL




Politique de confidentialité
ALLDATASHEET.FR
ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Echange de liens   |   Fabricants
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : 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  |   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