at90ls8535-8mi ATMEL Corporation, at90ls8535-8mi Datasheet - Page 26

no-image

at90ls8535-8mi

Manufacturer Part Number
at90ls8535-8mi
Description
8-bit Microcontroller With 8k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
General Interrupt Flag
Register – GIFR
Timer/Counter Interrupt Mask
Register – TIMSK
26
AT90S/LS8535
sponding interrupt of External Interrupt Request 0 is executed from program memory
address $001. See also “External Interrupts.”
• Bits 5.0 – Res: Reserved Bits
These bits are reserved bits in the AT90S8535 and always read as zero.
• Bit 7 – INTF1: External Interrupt Flag1
When an edge or logical change on the INT1 pin triggers an interrupt request, INTF1
becomes set (one). This flag is always cleared (0) when the pin is configured for low-
level interrupts, as the state of a low-level interrupt can be determined by reading the
PIN register.
If the I-bit in SREG and the INT1 bit in GIMSK are set (one), the MCU will jump to the
interrupt address $002. For edge and logic change interrupts, this flag is cleared when
the interrupt routine is executed. Alternatively, the flag can be cleared by writing a logi-
cal “1” to it.
• Bit 6 – INTF0: External Interrupt Flag0
When an edge or logical change on the INT0 pin triggers an interrupt request, INTF0
becomes set (one). This flag is always cleared (0) when the pin is configured for low-
level interrupts, as the state of a low-level interrupt can be determined by reading the
PIN register.
If the I-bit in SREG and the INT0 bit in GIMSK are set (one), the MCU will jump to the
interrupt address $001. For edge and logic change interrupts, this flag is cleared when
the interrupt routine is executed. Alternatively, the flag can be cleared by writing a logi-
cal “1” to it.
• Bits 5..0 – Res: Reserved Bits
These bits are reserved bits in the AT90S8535 and always read as zero.
• Bit 7 – OCIE2: Timer/Counter2 Output Compare Match Interrupt Enable
When the OCIE2 bit is set (one) and the I-bit in the Status Register is set (one), the
Timer/Counter2 Compare Match interrupt is enabled. The corresponding interrupt (at
vector $003) is executed if a compare match in Timer/Counter2 occurs (i.e., when the
OCF2 bit is set in the Timer/Counter Interrupt Flag Register [TIFR]).
• Bit 6 – TOIE2: Timer/Counter2 Overflow Interrupt Enable
When the TOIE2 bit is set (one) and the I-bit in the Status Register is set (one), the
Timer/Counter2 Overflow interrupt is enabled. The corresponding interrupt (at vector
$004) is executed if an overflow in Timer/Counter2 occurs (i.e., when the TOV2 bit is set
in the Timer/Counter Interrupt Flag Register [TIFR]).
Bit
$3A ($5A)
Read/Write
Initial Value
Bit
$39 ($59)
Read/Write
Initial Value
INTF1
OCIE2
R/W
R/W
7
0
7
0
INTF0
R/W
6
0
TOIE2
R/W
6
0
R
5
0
TICIE1
R/W
5
0
R
4
0
OCIE1A
R/W
4
0
OCIE1B
R
3
0
R/W
3
0
TOIE1
R
R/W
2
0
2
0
R
1
0
R
1
0
TOIE0
R/W
R
0
0
0
0
1041H–11/01
GIFR
TIMSK

Related parts for at90ls8535-8mi