AT90CAN64 Atmel Corporation, AT90CAN64 Datasheet - Page 162

no-image

AT90CAN64

Manufacturer Part Number
AT90CAN64
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT90CAN64

Flash (kbytes)
64 Kbytes
Pin Count
64
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
53
Ext Interrupts
8
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Uart
2
Can
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
4
Eeprom (bytes)
2048
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
8
Input Capture Channels
2
Pwm Channels
7
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90CAN64-15AT
Manufacturer:
Atmel
Quantity:
3 327
Part Number:
AT90CAN64-15AT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-15AT1
Manufacturer:
Atmel
Quantity:
1 985
Part Number:
AT90CAN64-15AT1
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-15AZ
Manufacturer:
Atmel
Quantity:
1 995
Part Number:
AT90CAN64-15AZ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-15MT
Manufacturer:
Freescale
Quantity:
100
Part Number:
AT90CAN64-15MT1
Manufacturer:
Atmel
Quantity:
7 775
Part Number:
AT90CAN64-15MT1
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT90CAN64-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-16AU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
AT90CAN64-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT90CAN64-16MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
14.10.3
14.10.4
162
AT90CAN32/64/128
Timer/Counter2 Interrupt Mask Register – TIMSK2
Timer/Counter2 Interrupt Flag Register – TIFR2
• Bit 7..2 – Reserved Bits
These bits are reserved for future use.
• Bit 1 – OCIE2A: Timer/Counter2 Output Compare Match A Interrupt Enable
When the OCIE2A bit is written to one and the I-bit in the Status Register is set (one), the
Timer/Counter2 Compare Match A interrupt is enabled. The corresponding interrupt is executed
if a compare match in Timer/Counter2 occurs, i.e., when the OCF2A bit is set in the
Timer/Counter2 Interrupt Flag Register – TIFR2.
• Bit 0 – TOIE2: Timer/Counter2 Overflow Interrupt Enable
When the TOIE2 bit is written to one and the I-bit in the Status Register is set (one), the
Timer/Counter2 Overflow interrupt is enabled. The corresponding interrupt is executed if an
overflow in Timer/Counter2 occurs, i.e., when the TOV2 bit is set in the Timer/Counter2 Interrupt
Flag Register – TIFR2.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
• Description of wake up from Power-save mode when the timer is clocked asynchronously:
• Reading of the TCNT2 Register shortly after wake-up from Power-save may give an incorrect
• During asynchronous operation, the synchronization of the interrupt flags for the
When the interrupt condition is met, the wake up process is started on the following cycle of
the timer clock, that is, the timer is always advanced by at least one before the processor can
read the counter value. After wake-up, the MCU is halted for four cycles, it executes the
interrupt routine, and resumes execution from the instruction following SLEEP.
result. Since TCNT2 is clocked on the asynchronous TOSC clock, reading TCNT2 must be
done through a register synchronized to the internal I/O clock domain. Synchronization takes
place for every rising TOSC1 edge. When waking up from Power-save mode, and the I/O
clock (clk
sleep) until the next rising TOSC1 edge. The phase of the TOSC clock after waking up from
Power-save mode is essentially unpredictable, as it depends on the wake-up time. The
recommended procedure for reading TCNT2 is thus as follows:
asynchronous timer takes 3 processor cycles plus one timer cycle. The timer is therefore
advanced by at least one before the processor can read the timer value causing the setting of
the interrupt flag. The Output Compare pin is changed on the timer clock and is not
synchronized to the processor clock.
a. Write any value to either of the registers OCR2A or TCCR2A.
b. Wait for the corresponding Update Busy Flag to be cleared.
c. Read TCNT2.
I/O
) again becomes active, TCNT2 will read as the previous value (before entering
R
R
7
0
7
0
R
R
6
0
6
0
R
R
5
0
5
0
R
R
4
0
4
0
3
R
0
3
R
0
R
R
2
0
2
0
OCIE2A
OCF2A
R/W
R/W
1
0
1
0
TOIE2
TOV2
R/W
R/W
0
0
0
0
TIMSK2
TIFR2
7679H–CAN–08/08

Related parts for AT90CAN64