| 전자부품 데이터시트 검색엔진 |
|
AT90PWM2 데이터시트(PDF) 83 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT90PWM2 데이터시트(HTML) 83 Page - ATMEL Corporation |
|
83 / 365 page ![]() 83 AT90PWM2/3 4317B–AVR–02/05 Note: 1. n = 3, 2, 1 or 0. When changing the ISCn1/ISCn0 bits, the interrupt must be disabled by clearing its Interrupt Enable bit in the EIMSK Register. Otherwise an interrupt can occur when the bits are changed. External Interrupt Mask Register – EIMSK • Bits 3..0 – INT3 – INT0: External Interrupt Request 3 - 0 Enable When an INT3 – INT0 bit is written to one and the I-bit in the Status Register (SREG) is set (one), the corresponding external pin interrupt is enabled. The Interrupt Sense Con- trol bits in the External Interrupt Control Register – EICRA – defines whether the external interrupt is activated on rising or falling edge or level sensed. Activity on any of these pins will trigger an interrupt request even if the pin is enabled as an output. This provides a way of generating a software interrupt. External Interrupt Flag Register – EIFR • Bits 3..0 – INTF3 - INTF0: External Interrupt Flags 3 - 0 When an edge or logic change on the INT3:0 pin triggers an interrupt request, INTF3:0 becomes set (one). If the I-bit in SREG and the corresponding interrupt enable bit, INT3:0 in EIMSK, are set (one), the MCU will jump to the interrupt vector. The flag is cleared when the interrupt routine is executed. Alternatively, the flag can be cleared by writing a logical one to it. These flags are always cleared when INT3:0 are configured as level interrupt. Table 35. Interrupt Sense Control(1) ISCn1 ISCn0 Description 0 0 The low level of INTn generates an interrupt request. 0 1 Any logical change on INTn generates an interrupt request 10 The falling edge between two samples of INTn generates an interrupt request. 11 The rising edge between two samples of INTn generates an interrupt request. Bit 765 432 10 - - - - INT3 INT2 INT1 IINT0 EIMSK Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial Value 000 000 00 Bit 765 432 10 - - - - INTF3 INTF2 INTF1 IINTF0 EIFR Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial Value 000 000 00 |
|
링크 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 |