ATMEGA163-8AI Atmel, ATMEGA163-8AI Datasheet - Page 44

IC AVR MCU 16K A/D 8MHZ 44TQFP

ATMEGA163-8AI

Manufacturer Part Number
ATMEGA163-8AI
Description
IC AVR MCU 16K A/D 8MHZ 44TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA163-8AI

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
32
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA163-8AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Timer/Counter1 Control
Register A – TCCR1A
44
ATmega163(L)
• Bits 7, 6 – COM1A1, COM1A0: Compare Output Mode1A, Bits 1, and 0
The COM1A1 and COM1A0 control bits determine any output pin action following a
Compare Match in Timer/Counter1. Any output pin actions affect pin OC1A – Output
Compare A. This is an alternative function to an I/O Port, and the corresponding direc-
tion control bit must be set (one) to control an output pin. The control configuration is
shown in Table 10.
• Bits 5, 4 – COM1B1, COM1B0: Compare Output Mode1B, Bits 1, and 0
The COM1B1 and COM1B0 control bits determine any output pin action following a
Compare Match in Timer/Counter1. Any output pin actions affect pin OC1B – Output
Compare B. This is an alternative function to an I/O port, and the corresponding direc-
tion control bit must be set (one) to control an output pin. The control configuration is
shown in Table 10.
Table 12. Compare 1 Mode Select
Note:
In PWM mode, these bits have a different function. Refer to Table 14 for a detailed
description.
• Bit 3 – FOC1A: Force Output Compare1A
Writing a logical one to this bit, forces a change in the Compare Match Output pin PD5
according to the values already set in COM1A1 and COM1A0. If the COM1A1 and
COM1A0 bits are written in the same cycle as FOC1A, the new settings will not take
effect until next Compare Match or Forced Compare Match occurs. The Force Output
Compare bit can be used to change the output pin without waiting for a Compare Match
in the Timer. The automatic action programmed in COM1A1 and COM1A0 happens as if
a Compare Match had occurred, but no interrupt is generated and it will not clear the
timer even if CTC1 in TCCR1B is set. The corresponding I/O pin must be set as an out-
put pin for the FOC1A bit to have effect on the pin. The FOC1A bit will always be read as
zero. The setting of the FOC1A bit has no effect in PWM mode.
• Bit 2 – FOC1B: Force Output Compare1B
Writing a logical one to this bit, forces a change in the Compare Match Output pin PD4
according to the values already set in COM1B1 and COM1B0. If the COM1B1 and
COM1B0 bits are written in the same cycle as FOC1B, the new settings will not take
effect until next Compare Match or Forced Compare Match occurs. The Force Output
Compare bit can be used to change the output pin without waiting for a Compare Match
Bit
$2F ($4F)
Read/Write
Initial Value
COM1X1
0
0
1
1
1. X = A or B.
COM1A1
R/W
7
0
COM1X0
0
1
0
1
COM1A0
R/W
6
0
Description
Timer/Counter1 disconnected from output pin OC1X
Toggle the OC1X output line.
Clear the OC1X output line (to zero).
Set the OC1X output line (to one).
COM1B1
R/W
5
0
(1)
COM1B0
R/W
4
0
FOC1A
R/W
3
0
FOC1B
R/W
2
0
PWM11
R/W
1
0
PWM10
R/W
1142E–AVR–02/03
0
0
TCCR1A

Related parts for ATMEGA163-8AI