ATMEGA163 ATMEL [ATMEL Corporation], ATMEGA163 Datasheet - Page 44
![no-image](/images/no-image-200.jpg)
ATMEGA163
Manufacturer Part Number
ATMEGA163
Description
8-bit Microcontroller with 16K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.ATMEGA163.pdf
(187 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA163-8AC
Manufacturer:
ATMEL
Quantity:
1 600
Part Number:
ATMEGA163-8AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATMEGA163L-4AI
Manufacturer:
ATMEL
Quantity:
984
- Current page: 44 of 187
- Download datasheet (3Mb)
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
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![AT88SC0204CA-SH](/images/no-image3.png)
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![AT88SC0808CA-SH](/images/no-image3.png)
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![AT88SC1616C-SH](/images/no-image3.png)
Part Number:
Description:
Atmel CryptoMemory, 16Kbit
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![AT25DF161-SH](/images/no-image3.png)
Part Number:
Description:
8-bit Atmel Microcontrollers
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![ATMEGA1281V](/images/no-image3.png)
Part Number:
Description:
8-bit Atmel Microcontroller with 64K/128K/256K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![ATMEGA164A_11](/images/no-image3.png)
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64/128K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![ATMEGA165A_11](/images/no-image3.png)
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64K Bytes In-System Programmable Programmable
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
![U641B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
![U4082B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
![U4255BM-M](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
![U4089B-P](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
![TDA4470](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet: