ATA6616-P3PW Atmel, ATA6616-P3PW Datasheet - Page 157

no-image

ATA6616-P3PW

Manufacturer Part Number
ATA6616-P3PW
Description
TXRX MULTICHIP MOD LIN SIP 38QFN
Manufacturer
Atmel
Series
AVR® ATA66 LIN-SBCr
Datasheet

Specifications of ATA6616-P3PW

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, LIN, SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
16
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
38-VQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
4.13.11
4.13.11.1
9132D–AUTO–12/10
16-bit Timer/Counter Register Description
Timer/Counter1 Control Register A – TCCR1A
Figure 4-57
Figure 4-57. Timer/Counter Timing Diagram, with Prescaler (f
• Bit 7:6 – COM1A1:0: Compare Output Mode for Channel A
• Bit 5:4 – COM1B1:0: Compare Output Mode for Channel B
The COM1A1:0 and COM1B1:0 control the Output Compare pins (OC1Ai and OC1Bi respec-
tively) behavior. If one or both of the COM1A1:0 bits are written to one, the OC1Ai output
overrides the normal port functionality of the I/O pin it is connected to. If one or both of the
COM1B1:0 bit are written to one, the OC1Bi output overrides the normal port functionality of
the I/O pin it is connected to. However, note that the Data Direction Register (DDR) bit and
OC1xi bit (TCCR1D) corresponding to the OC1Ai or OC1Bi pin must be set in order to enable
the output driver.
When the OC1Ai or OC1Bi is connected to the pin, the function of the COM1A/B1:0 bits is
dependent of the WGM13:0 bits setting.
when the WGM13:0 bits are set to a Normal or a CTC mode (non-PWM).
Table 4-35.
Bit
Read/Write
Initial Value
OC1Ai
OC1Bi
0
1
and ICF n
(PC and PFC PWM)
TOVn
(CTC and FPWM)
COM1A1
COM1B1
(Update at TOP)
shows the same timing data, but with the prescaler enabled.
COM1A1
TCNTn
TCNTn
(clk
as TOP)
OCRnx
clk
clk
Compare Output Mode, non-PWM
R/W
x
0
0
1
1
I/O
(FPWM)
I/O
Tn
/8)
7
0
(if used
COM1A0
COM1A0
COM1B0
R/W
6
0
x
0
1
0
1
TOP - 1
TOP - 1
COM1B1
Old OCRnx Value
R/W
5
0
Description
Normal port operation, OC1A/OC1B disconnected.
Toggle OC1A/OC1B on Compare Match.
Clear OC1A/OC1B on Compare Match (Set output to low
level).
Set OC1A/OC1B on Compare Match (Set output to high level).
COM1B0
Table 4-35
R/W
4
0
Atmel ATA6616/ATA6617
TOP
TOP
shows the COM1A/B1:0 bit functionality
R
3
0
BOTTOM
TOP - 1
clk_I/O
R
2
0
New OCRnx Value
/8)
WGM11
R/W
1
0
BOTTOM + 1
TOP - 2
WGM10 TCCR1A
R/W
0
0
157

Related parts for ATA6616-P3PW