AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 133

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
4250C–CAN–03/04
Table 61 shows the COMnx1:0 bit functionality when the WGMn3:0 bits are set to the
fast PWM mode.
Table 61. Compare Output Mode, Fast PWM
Note:
Table 62 shows the COMnx1:0 bit functionality when the WGMn3:0 bits are set to the
phase correct or the phase and frequency correct, PWM mode.
Table 62. Compare Output Mode, Phase Correct and Phase and Frequency Correct
PWM
Note:
• Bit 1:0 – WGMn1:0: Waveform Generation Mode
Combined with the WGMn3:2 bits found in the TCCRnB Register, these bits control the
counting sequence of the counter, the source for maximum (TOP) counter value, and
what type of waveform generation to be used, see Table 63. Modes of operation sup-
ported by the Timer/Counter unit are: Normal mode (counter), Clear Timer on Compare
COMnA1/COMnB1/
COMnA1/COMnB1/
(1)
COMnC1
COMnC1
1. A
1. A
0
0
1
1
0
0
1
1
COMnA1/COMnB1/COMnC1 is set. In this case the compare match is ignored, but
the set or clear is done at TOP. See “Fast PWM Mode” on page 123 for more details.
COMnA1/COMnB1/COMnC1 is set. See “Phase Correct PWM Mode” on page 125
for more details.
special
special
COMnA0/COMnB0/
COMnA0/COMnB0/
case
case
COMnC0
COMnC0
0
1
0
1
occurs
0
1
0
1
occurs
when
when
Description
Normal port operation, OCnA/OCnB/OCnC
disconnected.
WGMn3=0: Normal port operation,
OCnA/OCnB/OCnC disconnected.
WGMn3=1: Toggle OCnA on Compare Match,
OCnB/OCnC reserved.
Clear OCnA/OCnB/OCnC on Compare Match
Set OCnA/OCnB/OCnC at TOP
Set OCnA/OCnB/OCnC on Compare Match
Clear OCnA/OCnB/OCnC at TOP
Description
Normal port operation, OCnA/OCnB/OCnC
disconnected.
WGMn3=0: Normal port operation,
OCnA/OCnB/OCnC disconnected.
WGMn3=1: Toggle OCnA on Compare Match,
OCnB/OCnC reserved.
Clear OCnA/OCnB/OCnC on Compare Match
when up-counting.
Set OCnA/OCnB/OCnC on Compare Match when
downcounting.
Set OCnA/OCnB/OCnC on Compare Match when
up-counting.
Clear OCnA/OCnB/OCnC on Compare Match
when downcounting.
OCRnA/OCRnB/OCRnC
(1)
OCnA/OCnB/OCnC
AT90CAN128
equals
equals
TOP
TOP
133
and
and

Related parts for AT90CAN128-16AE