- Components/
- Integrated Circuits (ICs)/
- Embedded - Microcontrollers/
ATMEGA103-6AI
ATMEGA103-6AI | |
---|---|
Manufacturer Part Number | ATMEGA103-6AI |
Description | IC MCU 128K 6MHZ A/D IT 64TQFP |
Manufacturer | Atmel |
Series | AVR® ATmega |
ATMEGA103-6AI datasheets |
|
Specifications of ATMEGA103-6AI | |||
---|---|---|---|
Core Processor | AVR | Core Size | 8-Bit |
Speed | 6MHz | Connectivity | SPI, UART/USART |
Peripherals | POR, PWM, WDT | Number Of I /o | 32 |
Program Memory Size | 128KB (64K x 16) | Program Memory Type | FLASH |
Eeprom Size | 4K x 8 | Ram Size | 4K 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 | 64-TQFP, 64-VQFP | For Use With | ATSTK501 - ADAPTER KIT FOR 64PIN AVR MCU |
Lead Free Status / RoHS Status | Contains lead / RoHS non-compliant |
PrevNext
Timer/Counter0 Control
Register – TCCR0
Timer/Counter2 Control
Register – TCCR2
0945I–AVR–02/07
Bit
7
6
5
33 ($53)
–
PWM0
COM01
Read/Write
R
R/W
R/W
Initial Value
0
0
0
Bit
7
6
5
$25 ($45)
–
PWM2
COM21
Read/Write
R
R/W
R/W
Initial Value
0
0
0
• Bit 7 – Res: Reserved Bit
This bit is a reserved bit in the ATmega103(L) and always reads as zero.
• Bit 6 – PWM0/PWM2: Pulse Width Modulator Enable
When set (one), this bit enables PWM mode for Timer/Counter0 or Timer/Counter2.
This mode is described on page 43.
• Bits 5, 4 – COM01, COM00/COM21, COM20: Compare Output Mode, Bits 1 and 0
The COMn1 and COMn0 control bits determine any output pin action following a com-
pare match in Timer/Counter2. Any output pin actions affect pins PB4 (OC0/PWM0) or
PB7 (OC2/PWM2). Since this is an alternative function to an I/O port, the corresponding
direction control bit must be set (one) to control an output pin. The control configuration
is shown in Table 10.
Table 10. Compare Mode Select
COMn1
COMn0
Description
0
0
Timer/Counter disconnected from output pin OCn/PWMn
0
1
Toggle the OCn/PWMn output line.
1
0
Clear the OCn/PWMn output line (to zero).
1
1
Set the OCn/PWMn output line (to one).
Note:
n = 0 or 2
In PWM mode, these bits have a different function. Refer to Table 13 for a detailed
description.
• Bit 3 – CTC0/CTC2: Clear Timer/Counter on Compare Match
When the CTC0 or CTC2 control bit is set (one), the Timer/Counter is reset to $00 in the
CPU clock cycle after a compare match. If the control bit is cleared, the Timer continues
counting and is unaffected by a compare match. Since the compare match is detected in
the CPU clock cycle following the match, this function will behave differently when a
prescaling higher than 1 is used for the Timer. When a prescaling of 1 is used and the
Compare Register is set to C, the Timer will count as follows if CTC0/2 is set:
... | C-2 | C-1 | C | 0 | 1 | ...
When the prescaler is set to divide by 8, the Timer will count like this:
... | C-2, C-2, C-2, C-2, C-2, C-2, C-2, C-2 | C-1, C-1, C-1, C-1, C-1, C-1, C-1, C-1 | C, 0,
0, 0, 0, 0, 0, 0 | 1, 1, 1, ...
ATmega103(L)
4
3
2
1
COM00
CTC0
CS02
CS01
R/W
R/W
R/W
R/W
0
0
0
0
4
3
2
1
COM20
CTC2
CS22
CS21
R/W
R/W
R/W
R/W
0
0
0
0
0
CS00
TCCR0
R/W
0
0
CS20
TCCR2
R/W
0
41
Related parts for ATMEGA103-6AI | |||
---|---|---|---|
Part Number | Description | Manufacturer | Datasheet |
![]() |
ATMEL Corporation |
|
|
![]() |
QFP | ATMEL Corporation |
|
![]() |
TQFP64 | ATMEL Corporation |
|
![]() |
IC MCU 128K 6MHZ A/D 64TQFP | Atmel |
|
![]() |
IC MCU 128K 4MHZ A/D LV 64TQFP | Atmel |
|
![]() |
IC MCU 128K 4MHZ A/D LV 64TQFP | Atmel |
|
![]() |
Atmega103 8-bit With 128k Bytes Of In-system Programmable Flash | ATMEL Corporation |
|
![]() |
ATMEL Corporation | ||
![]() |
Microcontrollers (MCU) 16KB FLASH 512B EE 1KB SRAM - 20 MHz | Atmel |
|
![]() |
Microcontrollers (MCU) 16KB FLASH 512B EE 1KB SRAM - 20 MHZ | Atmel |
|
![]() |
ATMEL Corporation |
|
|
![]() |
ATMEL Corporation |
|
|
![]() |
Microcontroller with 128K bytes In-system programmable flash, 8 MHz, power supply =2.7 - 5.5V | ATMEL Corporation |
|
![]() |
Atmel Corporation |
|
|
![]() |
Atmel Corporation |
|