ATtiny43U Atmel Corporation, ATtiny43U Datasheet - Page 93

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
12.9.3
12.9.4
8048B–AVR–03/09
TCCR0B – Timer/Counter Control Register B
TCCR1B – Timer/Counter Control Register B
Table 12-8.
Note:
• Bit 7 – FOCnA: Force Output Compare A
The FOCnA bit is only active when the WGM bits specify a non-PWM mode.
However, for ensuring compatibility with future devices, this bit must be set to zero when
TCCRnB is written when operating in PWM mode. When writing a logical one to the FOCnA bit,
an immediate Compare Match is forced on the Waveform Generation unit. The OCnA output is
changed according to its COMnA1:0 bits setting. Note that the FOCnA bit is implemented as a
strobe. Therefore it is the value present in the COMnA1:0 bits that determines the effect of the
forced compare.
A FOCnA strobe will not generate any interrupt, nor will it clear the timer in CTC mode using
OCRnA as TOP.
The FOCnA bit is always read as zero.
• Bit 6 – FOCnB: Force Output Compare B
The FOCnB bit is only active when the WGM bits specify a non-PWM mode.
Bit
0x33 (0x53)
Read/Write
Initial Value
Bit
0x2E (0x4E)
Read/Write
Initial Value
Mode
0
1
2
3
4
5
6
7
1. MAX = 0xFF, BOTTOM = 0x00
WGMn2
0
0
0
0
1
1
1
1
Waveform Generation Mode Bit Description
FOC0A
FOC1A
W
W
7
0
7
0
WGMn1
0
0
1
1
0
0
1
1
FOC0B
FOC1B
W
W
6
0
6
0
WGMn0
0
1
0
1
0
1
0
1
R
R
5
0
5
0
Timer/Counter
Mode of
Operation
Normal
PWM, Phase
Correct
CTC
Fast PWM
Reserved
PWM, Phase
Correct
Reserved
Fast PWM
R
R
4
0
4
0
WGM02
WGM12
R/W
R/W
3
0
3
0
OCRnA
OCRnA
OCRnA
0xFF
0xFF
0xFF
TOP
CS02
CS12
R/W
R/W
2
0
2
0
Immediate
Immediate
Update of
OCRx at
CS01
CS11
R/W
R/W
TOP
TOP
TOP
TOP
1
0
1
0
CS00
CS10
R/W
R/W
0
0
0
0
TOV Flag
BOTTOM
BOTTOM
Set on
MAX
MAX
MAX
TOP
TCCR0B
TCCR1B
(1)
93

Related parts for ATtiny43U