ATtiny861 Automotive Atmel Corporation, ATtiny861 Automotive Datasheet - Page 123

no-image

ATtiny861 Automotive

Manufacturer Part Number
ATtiny861 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny861 Automotive

Flash (kbytes)
8 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
1
Twi (i2c)
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
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes
16.11.6
16.11.7
7753F–AVR–01/11
TCNT1 – Timer/Counter1
TC1H – Timer/Counter1 High Byte
The actual value from the port register will be visible on the port pin, when the Output Compare
Override Enable Bit is cleared.
and their corresponding Output Compare pins.
Table 16-20. Output Compare Override Enable Bits vs. Output Compare Pins
This 8-bit register contains the value of Timer/Counter1.
The Timer/Counter1 is realized as a 10-bit up/down counter with read and write access. Due to
synchronization of the CPU, Timer/Counter1 data written into Timer/Counter1 is delayed by one
and half CPU clock cycles in synchronous mode and at most one CPU clock cycles for asyn-
chronous mode. When a 10-bit accuracy is preferred, special procedures must be followed for
accessing the 10-bit TCNT1 register via the 8-bit AVR data bus. These procedures are
described in section
can be used as an 8-bit Timer/Counter. Note that the Timer/Counter1 always starts counting up
after writing the TCNT1 register.
The temporary Timer/Counter1 register is an 2-bit read/write register.
• Bits 7:2 - Res: Reserved Bits
These bits are reserved bits in the ATtiny261/461/861 and always reads as zero.
• Bits 1:0 - TC19, TC18: Two MSB bits of the 10-bit accesses
If 10-bit accuracy is used, the Timer/Counter1 High Byte Register (TC1H) is used for temporary
storing the MSB bits (TC19, TC18) of the 10-bit accesses. The same TC1H register is shared
between all 10-bit registers within the Timer/Counter1. Note that special procedures must be fol-
lowed when accessing the 10-bit TCNT1 register via the 8-bit AVR data bus. These procedures
are described in section
OC1OE0
OC1A
Bit
0x2E (0x4E)
Read/Write
Initial value
Bit
0x25 (0x45)
Read/Write
Initial value
(PB0)
MSB
R/W
OC1OE1
OC1A
R
7
0
7
0
-
“Accessing 10-Bit Registers” on page
(PB1)
“Accessing 10-Bit Registers” on page
R/W
R
6
0
6
0
-
Table 16-20
OC1OE2
OC1B
R/W
ATtiny261/ATtiny461/ATtiny861
R
5
0
5
0
-
(PB2)
R/W
R
4
0
4
0
-
shows the Output Compare Override Enable Bits
OC1OE3
OC1B
R/W
R
3
0
3
0
-
(PB3)
112. Alternatively the Timer/Counter1
R/W
112.
R
0
2
0
2
-
OC1OE4
OC1D
TC19
(PB4)
R/W
R/W
1
0
1
0
TC18
LSB
R/W
R/W
OC1OE5
OC1D
0
0
0
0
(PB5)
TCNT1
TC1H
123

Related parts for ATtiny861 Automotive