| 전자부품 데이터시트 검색엔진 |
|
HT85F2270 데이터시트(PDF) 104 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT85F2270 데이터시트(HTML) 104 Page - Holtek Semiconductor Inc |
|
104 / 226 page ![]() Rev. 1.00 104 of ��6 �a� 1�� �01� Standard 8051 8-Bit Flash MCU HT85F2260/HT85F2270/HT85F2280 I2CCON Register SFR Address: D8h Bit 7 6 5 4 3 2 1 0 Name — ENS1 STA STO SI AA — — R/W — R/W R/W R/W R R — — POR — 0 0 0 0 0 — — Bit 7 Unimplemented, read as "0" Bit 6 ENS1: I2C Enable Control Described elsewhere Bit 5 STA: I2C Start flag Described elsewhere Bit 4 STO: I2C Stop flag Described elsewhere Bit 3 SI: I2C Interrupt Request flag 0: No request 1: Interrupt request The SI bit is set by hardware when one of the 25 possible I2C states takes place. This bit must be cleared using the application program. Bit 2 AA: I2C Acknowledge Indication flag Described elsewhere Bit 1~0 Unimplemented, read as "0" Interrupt Operation A Timer Counter overflow, an active edge or level on the external interrupt pin, a comparator output changes state or A/D conversion completion etc, will all generate an interrupt request by setting their corresponding request flag. When this happens, if the interrupt enable bit is set, then the Program Counter, which stores the address of the next instruction to be executed, will be transferred onto the stack. The Program Counter will then be loaded with a new address which will be the value of the corresponding interrupt vector. The microcontroller will begin then fetch its next instruction from this interrupt vector. The instruction at this vector will jump to another section of program which is known as the interrupt service routine. Here is located the code to control the appropriate interrupt. The interrupt service routine must be terminated with a RETI instruction, which retrieves the original Program Counter address from the stack and allows the microcontroller to continue with normal execution at the point where the interrupt occurred. The various interrupt enable bits, together with their associated request flags, are shown in the following diagram with their order of priority. The interrupts are assigned into groups. Interrupts with higher priority can stop lower priority ones. All interrupts are categorised into 19 groups and 4 priority levels, setup using the IP0 and IP1 registers. |
|
링크 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 |