ATtiny43U Atmel Corporation, ATtiny43U Datasheet - Page 91

no-image

ATtiny43U

Manufacturer Part Number
ATtiny43U
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny43U

Flash (kbytes)
4 Kbytes
Pin Count
20
Max. Operating Frequency
8 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.25
Eeprom (bytes)
64
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
0.7 to 5.5
Operating Voltage (vcc)
0.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
4
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes
8048B–AVR–03/09
Table 12-3 on page 91
to fast PWM mode.
Table 12-3.
Note:
Table 12-4 on page 91
to phase correct PWM mode.
Table 12-4.
Note:
• Bits 5:4 – COMnB[1:0]: Compare Match Output B Mode
These bits control the Output Compare pin (OCnB) behavior. If one or both of the COMnB1:0
bits are set, the OCnB output overrides the normal port functionality of the I/O pin it is connected
to. However, note that the Data Direction Register (DDR) bit corresponding to the OCnB pin
must be set in order to enable the output driver.
When OCnB is connected to the pin, the function of the COMnB[1:0] bits depends on the
WGMn[2:0] bit setting.
WGMn[2:0] bits are set to a normal or CTC mode (non-PWM).
Table 12-5.
COMnA1
COMnA1
COMnB1
0
0
1
1
0
0
1
1
0
0
1
1
1. A special case occurs when OCRnA equals TOP and COMnA1 is set. In this case, the Com-
1. A special case occurs when OCRnA equals TOP and COMnA1 is set. In this case, the Com-
pare Match is ignored, but the set or clear is done at TOP. See
for more details.
pare Match is ignored, but the set or clear is done at TOP. See
page 87
Compare Output Mode, Fast PWM Mode
Compare Output Mode, Phase Correct PWM Mode
Compare Output Mode, non-PWM Mode
COMnA0
COMnA0
COMnB0
for more details.
0
1
0
1
0
1
0
1
0
1
0
1
Table 12-5 on page 91
shows the COMnA[1:0] bit functionality when the WGMn[1:0] bits are set
shows the COMnA[1:0] bit functionality when the WGMn[2:0] bits are set
Description
Normal port operation, OCnA disconnected.
WGMn2 = 0: Normal Port Operation, OCnA Disconnected.
WGMn2 = 1: Toggle OCnA on Compare Match.
Clear OCnA on Compare Match, set OCnA at TOP
Set OCnA on Compare Match, clear OCnA at TOP
Description
Normal port operation, OCnA disconnected.
WGMn2 = 0: Normal Port Operation, OCnA Disconnected.
WGMn2 = 1: Toggle OCnA on Compare Match.
Clear OCnA on Compare Match when up-counting. Set OCnA on
Compare Match when down-counting.
Set OCnA on Compare Match when up-counting. Clear OCnA on
Compare Match when down-counting.
Description
Normal port operation, OCnB disconnected.
Toggle OCnB on Compare Match
Clear OCnB on Compare Match
Set OCnB on Compare Match
shows the COMnB[1:0] bit functionality when the
(1)
(1)
“Phase Correct PWM Mode” on
“Fast PWM Mode” on page 85
91

Related parts for ATtiny43U