전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

HT85F2270 데이터시트(PDF) 113 Page - Holtek Semiconductor Inc

부품명 HT85F2270
상세설명  Standard 8051 8-Bit Flash MCU
PDF  226 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  HOLTEK [Holtek Semiconductor Inc]
홈페이지  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT85F2270 데이터시트(HTML) 113 Page - Holtek Semiconductor Inc

Back Button HT85F2270 Datasheet HTML 109Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 110Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 111Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 112Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 113Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 114Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 115Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 116Page - Holtek Semiconductor Inc HT85F2270 Datasheet HTML 117Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 113 / 226 page
background image
Rev. 1.00
11� of ��6
�a� 1�� �01�
Standard 8051 8-Bit Flash MCU
HT85F2260/HT85F2270/HT85F2280
Comparator Interrupt
The comparator interrupts are controlled by the two internal comparators. A comparator interrupt
request will take place when the comparator interrupt request flag, CPnIF, is set, a situation
that will occur when one of the comparator output bits changes state. This will in turn cause the
comparator overall request flag, CMPF, to go high. To allow the program to branch to its respective
interrupt vector address, the global interrupt enable bit, EAL, individual comparator enable bit,
CPnIEN, and overall comparator interrupt enable bit, ECMP, must first be set. When the interrupt
is enabled, the stack is not full and the comparator inputs generate a comparator output transition,
a subroutine call to the comparator interrupt vector, will take place. When the interrupt is serviced,
the CP0IF and CP1IF bits can be examined to determine whether the interrupt was generated by
Comparator 0 or Comparator 1. In addition, the comparator output transition interrupt can be set
up by the CPICR control register. Note that the comparator overall request flag, CMPF, will be
automatically cleared, however the individual comparator interrupt request flags, CPnIF, must be
cleared by the application program. The EAL bit must be cleared by the application program to
disable other interrupts when in the interrupt routine.
CPICR Register
SFR Address: BEh
Bit
7
6
5
4
3
2
1
0
Name
CP1IF
CP1IEN
CP1P1
CP1P0
CP0IF
CP0IEN
CP0P1
CP0P0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit 7
CP1IF: Comparator 1 Output Transition Interrupt Request Flag
0: No request
1: Interrupt request
This bit must be cleared using the application program.
Bit 6
CP1IEN: Comparator 1 Output Transition Interrupt Enable
0: Disable
1: Enable
Bit 5~4
CP1P1, CP1P0: Comparator 1 Output Transition Setting for interrupt request
00: Interrupt disabled
01: High to low
10: Low to high
11: High to low or low to high
Bit 3
CP0IF: Comparator 0 Output Transition Interrupt Request Flag
0: No request
1: Interrupt request
This bit must be cleared using the application program.
Bit 2
CP0IEN: Comparator 0 Output Transition Interrupt Enable
0: Disable
1: Enable
Bit 1~0
CP0P1, CP0P0: Comparator 0 Output Transition Setting for interrupt request
00: Interrupt disabled
01: High to low
10: Low to high
11: High to low or low to high



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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