ATtiny167 Automotive Atmel Corporation, ATtiny167 Automotive Datasheet - Page 88

no-image

ATtiny167 Automotive

Manufacturer Part Number
ATtiny167 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny167 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
3
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
88
ATtiny87/ATtiny167
Figure 10-1. 8-bit Timer/Counter0 Block Diagram
The Timer/Counter (TCNT0) and Output Compare Register (OCR0A) are 8-bit registers. Inter-
rupt request (shorten as Int.Req.) signals are all visible in the Timer Interrupt Flag Register
(TIFR0). All interrupts are individually masked with the Timer Interrupt Mask Register
(TIMSK0). TIFR0 and TIMSK0 are not shown in the figure.
The Timer/Counter can be clocked internally, via the prescaler, or asynchronously clocked
from the XTAL1/2 pins, as detailed later in this section. The asynchronous operation is con-
trolled by the Asynchronous Status Register (ASSR). The Clock Select logic block controls
which clock source the Timer/Counter uses to increment (or decrement) its value. The
Timer/Counter is inactive when no clock source is selected. The output from the Clock Select
logic is referred to as the timer clock (clk
The double buffered Output Compare Register (OCR0A) is compared with the Timer/Counter
value at all times. The result of the compare can be used by the Waveform Generator to gen-
erate a PWM or variable frequency output on the Output Compare pin (OC0A).
Compare Unit” on page 90.
flag (OCF0A) which can be used to generate an Output Compare interrupt request.
Status flags
Timer/Counter
TCNTn
OCRnx
=
ASSRn
direction
count
clear
for details. The compare match event will also set the compare
BOTTOM
Synchronized Status flags
= 0
Control Logic
=
TCCRnx
T
TOP
asynchronous mode
0xFF
0).
select (ASn)
clk
Tn
Synchronization Unit
Prescaler
OCnx
(Int.Req.)
Generation
Waveform
Oscillator
OCnx
clk
7728G–AVR–06/10
TOVn
(Int.Req.)
clk
clk
See ”Output
ASY
I/O
I/O
XTAL1
XTAL2

Related parts for ATtiny167 Automotive