ATTINY48-MMHR Atmel, ATTINY48-MMHR Datasheet - Page 160

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
15.11.6
15.11.7
160
ATtiny48/88
TWAMR – TWI (Slave) Address Mask Register
TWHSR – TWI High Speed Register
• Bit 0 – TWGCE: TWI General Call Recognition Enable Bit
If set, this bit enables the recognition of a General Call given over the 2-wire Serial Bus.
• Bits 7:1 – TWAM: TWI Address Mask
The TWAMR can be loaded with a 7-bit Salve Address mask. Each of the bits in TWAMR can
mask (disable) the corresponding address bits in the TWI Address Register (TWAR). If the mask
bit is set to one then the address match logic ignores the compare between the incoming
address bit and the corresponding bit in TWAR.
detail.
Figure 15-22. TWI Address Match Logic, Block Diagram
• Bit 0 – Res: Reserved Bit
This bit is reserved and will always read zero.
• Bits 7:1 – Res: Reserved Bits
These bits are reserved and will always read zero.
• Bit 0 – TWHS: TWI High Speed Enable
TWI High Speed mode is enabled by writing this bit to one. In this mode the undivided system
clock is selected as TWI clock. See
The TWI High Speed mode requires that the high-speed clock, clk
higher than the I/O clock frequency, clk
frequency clk
been selected as source clock, the user must set the prescaler to scale the system clock (and,
hence, the I/O clock) down to 4 MHz. For more information about clock systems, see
System” on page
Bit
(0xBD)
Read/Write
Initial Value
Bit
(0xBE)
Read/Write
Initial Value
TWAMR0
Address
TWAR0
Bit 0
I/O
is scaled down by a factor of 2. For example, if the internal 8 MHz oscillator has
R/W
R
7
0
7
0
28.
R/W
R
6
0
6
0
Address Bit Comparator 6..1
R/W
R
5
0
Address Bit Comparator 0
5
0
Figure 6-1 on page
I/O
TWAM[6:0]
. This means the user must make sure the I/O clock
R/W
R
4
0
4
0
Figure 15-22
R/W
R
3
0
3
0
28.
R/W
shown the address match logic in
R
2
0
2
0
TWIHS
R/W
R
1
0
1
0
, is exactly two times
TWHS
R/W
Address
R
Match
0
0
0
0
8008G–AVR–04/11
TWAMR
TWHSR
“Clock

Related parts for ATTINY48-MMHR