ATtiny861 Automotive Atmel Corporation, ATtiny861 Automotive Datasheet - Page 115

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 Register Description
16.11.1
7753F–AVR–01/11
TCCR1A – Timer/Counter1 Control Register A
• Bits 7,6 - COM1A1, COM1A0: Comparator A Output Mode, Bits 1 and 0
These bits control the behavior of the Waveform Output (OCW1A) and the connection of the
Output Compare pin (OC1A). If one or both of the COM1A1:0 bits are set, the OC1A output
overrides the normal port functionality of the I/O pin it is connected to. The complementary
OC1B output is connected only in PWM modes when the COM1A1:0 bits are set to “01”. Note
that the Data Direction Register (DDR) bit corresponding to the OC1A and OC1A pins must be
set in order to enable the output driver.
The function of the COM1A1:0 bits depends on the PWM1A, WGM10 and WGM11 bit settings.
Table 16-6
(non-PWM).
Table 16-6.
Table 16-7
are set to fast PWM mode.
Table 16-7.
Bit
0x30 (0x50)
Read/Write
Initial value
COM1A1..0
COM1A1..0
00
01
10
11
00
01
10
11
shows the COM1A1:0 bit functionality when the PWM1A, WGM10 and WGM11 bits
shows the COM1A1:0 bit functionality when the PWM1A bit is set to Normal Mode
COM1A1
Compare Output Mode, Normal Mode (non-PWM)
Compare Output Mode, Fast PWM Mode
OCW1A Behavior
Normal port operation.
Toggle on Compare Match.
Clear on Compare Match.
Set on Compare Match.
OCW1A Behavior
Normal port operation.
Cleared on Compare Match.
Set when TCNT1 = 0x000.
Cleared on Compare Match.
Set when TCNT1 = 0x000.
Set on Compare Match.
Cleared when TCNT1 = 0x000.
R/W
7
0
COM1A0
R/W
6
0
COM1B1
R/W
ATtiny261/ATtiny461/ATtiny861
5
0
COM1B0
R/W
4
0
FOC1A
W
3
0
FOC1B
W
0
2
Disconnected
Disconnected
Connected
Connected
Connected
Connected
Connected
Connected
OC1A Pin
OC1A
PWM1A
R/W
1
0
PWM1B
R/W
0
0
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Disconnected
Connected
OC1A Pin
OC1A
TCCR1A
115

Related parts for ATtiny861 Automotive