| Electronic Components Datasheet Search |
|
ATmega16U4 Datasheet(PDF) 85 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega16U4 Datasheet(HTML) 85 Page - ATMEL Corporation |
|
85 / 408 page ![]() 85 7766D–AVR–01/09 ATmega16U4/ATmega32U4 Note: 1. n = 3, 2, 1or 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. 11.0.2 External Interrupt Control Register B – EICRB • Bit 7..6 – Res: Reserved Bits These bits are reserved bits in the ATmega16U4/ATmega32U4 and always read as zero. • Bits 5, 4 – ISC61, ISC60: External Interrupt 6 Sense Control Bits The External Interrupt 6 is activated by the external pin INT6 if the SREG I-flag and the corre- sponding interrupt mask in the EIMSK is set. The level and edges on the external pin that activate the interrupt are defined in Table 11-3. The value on the INT6 pin are sampled before detecting edges. If edge or toggle interrupt is selected, pulses that last longer than one clock period will generate an interrupt. Shorter pulses are not guaranteed to generate an interrupt. Observe that CPU clock frequency can be lower than the XTAL frequency if the XTAL divider is enabled. If low level interrupt is selected, the low level must be held until the completion of the currently executing instruction to generate an interrupt. If enabled, a level triggered interrupt will generate an interrupt request as long as the pin is held low. Note: 1. When changing the ISC61/ISC60 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. Table 11-1. Interrupt Sense Control(1) ISCn1 ISCn0 Description 0 0 The low level of INTn generates an interrupt request. 0 1 Any edge of INTn generates asynchronously an interrupt request. 1 0 The falling edge of INTn generates asynchronously an interrupt request. 1 1 The rising edge of INTn generates asynchronously an interrupt request. Table 11-2. Asynchronous External Interrupt Characteristics Symbol Parameter Condition Min Typ Max Units tINT Minimum pulse width for asynchronous external interrupt 50 ns Bit 7654 32 1 0 - - ISC61 ISC60 - - - - EICRB Read/Write R/W R/W R/W R/W R/W R/W R/W R/W Initial Value 0000 00 0 0 Table 11-3. Interrupt Sense Control (1) ISC61 ISC60 Description 0 0 The low level of INT6 generates an interrupt request. 0 1 Any logical change on INT6 generates an interrupt request 10 The falling edge between two samples of INT6 generates an interrupt request. 11 The rising edge between two samples of INT6 generates an interrupt request. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |