Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT82A822R Datasheet(PDF) 9 Page - Holtek Semiconductor Inc

Part # HT82A822R
Description  USB Audio MCU
Download  39 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT82A822R Datasheet(HTML) 9 Page - Holtek Semiconductor Inc

Back Button HT82A822R_07 Datasheet HTML 5Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 6Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 7Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 8Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 9Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 10Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 11Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 12Page - Holtek Semiconductor Inc HT82A822R_07 Datasheet HTML 13Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 39 page
background image
HT82A822R
Rev. 1.10
9
June 29, 2007
the interrupt request flag is recorded. If a certain inter-
rupt requires servicing within the service routine, the
EMI bit and the corresponding bit of the INTC may be
set to allow interrupt nesting. If the stack is full, the inter-
rupt request will not be acknowledged, even if the re-
lated interrupt is enabled, until the SP is decremented. If
immediate service is desired, the stack must be pre-
vented from becoming full.
All these kinds of interrupts have a wake-up capability.
As an interrupt is serviced, a control transfer occurs by
pushing the program counter onto the stack, followed by
a branch to a subroutine at a specified location in the
program memory. Only the program counter is pushed
onto the stack. If the contents of the register or status
register (STATUS) are altered by the interrupt service
program which corrupts the desired control sequence,
the contents should be saved in advance.
The USB interrupts are triggered by the following USB
events and the related interrupt request flag (USBF; bit
4 of the INTC0) will be set.
· Access of the corresponding USB FIFO from PC
· The
USB suspend signal from PC
· The
USB resume signal from PC
· USB Reset signal
When the interrupt is enabled, the stack is not full and
the external interrupt is active, a subroutine call to loca-
tion 04H will occur. The interrupt request flag (USBF)
and EMI bits will be cleared to disable other interrupts.
When PC Host access the FIFO of the HT82A822R, the
corresponding request bit of USR is set, and a USB in-
terrupt is triggered. So user can easy to decide which
FIFO is accessed. When the interrupt has been served,
the corresponding bit should be cleared by firmware.
When HT82A822R receive a USB Suspend signal from
Host PC, the suspend line (bit0 of USC) of the
HT82A822R is set and a USB interrupt is also triggered.
When the HT82A822R receives a Resume signal from
the Host PC, the resume line (bit3 of the
USC)ofthe
HT82A822R are set and a USB interrupt is triggered.
Also when HT82A822R receive a Resume signal from
Host PC, the resume line (bit3 of USC) of HT82A822R is
set and a USB interrupt is triggered.
The internal Timer/Event Counter 0 interrupt is initial-
ized by setting the Timer/Event Counter 0 interrupt re-
quest flag (bit 5 of INTC0), caused by a timer 0 overflow.
When the interrupt is enabled, the stack is not full and
the T0F bit is set, a subroutine call to location 08H will
occur. The related interrupt request flag (T0F) will be re-
set and the EMI bit cleared to disable further interrupts.
The internal Timer/Even Counter 1 interrupt is initialized
by setting the Timer/Event Counter 1 interrupt request
flag (bit 6 of INTC0), caused by a timer 1 overflow. When
the interrupt is enabled, the stack is not full and the T1F
is set, a subroutine call to location 0CH will occur. The
related interrupt request flag (T1F) will be reset and the
EMI bit cleared to disable further interrupts.
During the execution of an interrupt subroutine, other in-
terrupt acknowledge signals are held until the
²RETI² in-
struction is executed or the EMI bit and the related
interrupt control bit are set to 1 (if the stack is not full). To
return from the interrupt subroutine,
²RET² or ²RETI²
may be invoked. RETI will set the EMI bit to enable an
interrupt service, but RET will not.
Interrupts, occurring in the interval between the rising
edges of two consecutive T2 pulses, will be serviced on
the latter of the two T2 pulses, if the corresponding inter-
rupts are enabled. In the case of simultaneous requests
the following table shows the priority that is applied.
These can be masked by resetting the EMI bit.
No.
Interrupt Source
Priority Vector
a
USB interrupt
1
04H
b
Timer/Event Counter 0 overflow
2
08H
c
Timer/Event Counter 1 overflow
3
0CH
It is recommended that a program does not use the
²CALL subroutine² within the interrupt subroutine. Inter-
rupts often occur in an unpredictable manner or need to
be serviced immediately in some applications. If only
one stack is left and enabling the interrupt is not well
controlled, the original control sequence will be dam-
aged once the
²CALL² operates in the interrupt subrou-
tine.
Bit No.
Label
Function
0
EMI
Controls the master (global) interrupt (1=enable; 0=disable)
1
EUI
Controls the USB interrupt (1=enable; 0= disable)
2
ET0I
Controls the Timer/Event Counter 0 interrupt (1=enable; 0=disable)
3
ET1I
Controls the Timer/Event Counter 1 interrupt (1=enable; 0=disable)
4
USBF
USB interrupt request flag (1=active; 0=inactive)
5
T0F
Internal Timer/Event Counter 0 request flag (1:active; 0:inactive)
6
T1F
Internal Timer/Event Counter 1 request flag (1:active; 0:inactive)
7
¾
Unused bit, read as
²0²
INTC0 (0BH) Register


Similar Part No. - HT82A822R_07

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT82A822R HOLTEK-HT82A822R Datasheet
305Kb / 41P
   USB Speaker OTP MCU
More results

Similar Description - HT82A822R_07

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT82A834R HOLTEK-HT82A834R Datasheet
362Kb / 49P
   USB Audio MCU
HT82A824R HOLTEK-HT82A824R Datasheet
1Mb / 121P
   USB Audio MCU
HT82A836R HOLTEK-HT82A836R Datasheet
517Kb / 75P
   USB Audio MCU
HT82A821R HOLTEK-HT82A821R_07 Datasheet
283Kb / 39P
   USB Audio MCU
HT82A832R HOLTEK-HT82A832R_07 Datasheet
377Kb / 51P
   USB Audio MCU
HT82A851R HOLTEK-HT82A851R Datasheet
315Kb / 43P
   USB Audio MCU
HT82A850R HOLTEK-HT82A850R Datasheet
305Kb / 41P
   Audio MCU
HT82A822R HOLTEK-HT82A822R Datasheet
305Kb / 41P
   USB Speaker OTP MCU
logo
Silan Microelectronics ...
SC9351 SILAN-SC9351 Datasheet
1Mb / 19P
   AUDIO SYSTEM CONTROL MCU
logo
Nuvotem Talema
W681308DG TALEMA-W681308DG Datasheet
981Kb / 64P
   W681308 USB Audio Controller from Nuvoton integrates fast 8051 Microcontroller Unit (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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
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