atmega323l ATMEL Corporation, atmega323l Datasheet - Page 56
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
atmega323l
Manufacturer Part Number
atmega323l
Description
Atmega323 8-bit Avr Microcontroller With 32k Bytes Of In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
1.ATMEGA323L.pdf
(247 pages)
- Current page: 56 of 247
- Download datasheet (4Mb)
Timer/Counter1 Control
Register A – TCCR1A
56
ATmega323(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 17. Compare 1 Mode Select
Note:
In PWM mode, these bits have a different function. Refer to Table 22 for a description.
• Bit 3 – FOC1A: Force Output Compare 1A
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 Compare 1B
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
in the timer. The automatic action programmed in COM1B1 and COM1B0 happens as if
Bit
$2F ($4F)
Read/Write
Initial Value
COM1X1
1. X = A or B.
0
0
1
1
COM1A1
R/W
7
0
COM1A0
R/W
COM1X0
6
0
0
1
0
1
COM1B1
R/W
5
0
(1)
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).
COM1B0
R/W
4
0
FOC1A
R/W
3
0
FOC1B
R/W
2
0
PWM11
R/W
1
0
PWM10
1457G–AVR–09/03
R/W
0
0
TCCR1A
Related parts for atmega323l
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![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:
![ATF22V10B-25PC](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
![AT89C51ED2-IM](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
![AT24C01](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet:
![U6046B](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
U6046BREAR WINDOW HEATING TIMER / LONG-TERM TIMER
Manufacturer:
ATMEL Corporation
Datasheet: