ATTINY48-MMHR Atmel, ATTINY48-MMHR Datasheet - Page 85

no-image

ATTINY48-MMHR

Manufacturer Part Number
ATTINY48-MMHR
Description
MCU AVR 4KB FLASH 12MHZ 28QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY48-MMHR

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
24
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
11.8
11.8.1
8008G–AVR–04/11
8-bit Timer/Counter Register Description
TCCR0A – Timer/Counter Control Register A
Figure 11-7. Timer/Counter Timing Diagram, Setting of OCF0x, with Prescaler (f
Figure 11-8
is TOP.
Figure 11-8. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with Pres-
• Bits 7:4 – Res: Reserved Bits
These bits are reserved and will always read zero.
• Bit 3 – CTC0: Clear Timer on Compare Match Mode
This bit control the counting sequence of the counter, the source for maximum (TOP) counter
value, see
mode (counter), Clear Timer on Compare Match (CTC) mode (see
page
Bit
0x25 (0x45)
Read/Write
Initial Value
TCNTn
TCNTn
(clk
(clk
OCRnx
OCRnx
83).
OCFnx
(CTC)
OCFnx
clk
clk
clk
clk
I/O
I/O
I/O
Tn
I/O
Tn
/8)
/8)
Table
shows the setting of OCF0A and the clearing of TCNT0 in CTC mode where OCR0A
caler (f
7
R
0
11-2. Modes of operation supported by the Timer/Counter unit are: Normal
clk_I/O
OCRnx - 1
TOP - 1
/8)
R
6
0
R
5
0
OCRnx
TOP
R
4
0
OCRnx Value
TOP
CTC0
R/W
3
0
OCRnx + 1
BOTTOM
CS02
R/W
2
0
“Modes of Operation” on
CS01
R/W
1
0
ATtiny48/88
BOTTOM + 1
CS00
OCRnx + 2
R/W
0
0
clk_I/O
/8)
TCCR0A
85

Related parts for ATTINY48-MMHR