ATTINY40-MMHR Atmel, ATTINY40-MMHR Datasheet - Page 30

no-image

ATTINY40-MMHR

Manufacturer Part Number
ATTINY40-MMHR
Description
MCU AVR 4KB FLASH 12MHZ 3X3 QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY40-MMHR

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATTINY40-MMHR
Quantity:
6 000
7.5
7.5.1
30
Register Description
ATtiny40
MCUCR – MCU Control Register
buffer is enabled and the input signal is left floating or has an analog signal level close to V
the input buffer will use excessive power.
For analog input pins, the digital input buffer should be disabled at all times. An analog signal
level close to V
input buffers can be disabled by writing to the Digital Input Disable Register (DIDR0). Refer to
“DIDR0 – Digital Input Disable Register 0” on page 104
The MCU Control Register contains bits for controlling external interrupt sensing and power
management.
• Bit 5 – Res: Reserved Bit
This bit is reserved and will always read as zero.
• Bit 4 – BODS: BOD Sleep
In order to disable BOD during sleep (see
logic one. This is controlled by a protected change sequence, as follows:
A sleep instruction must be executed while BODS is active in order to turn off the BOD for the
actual sleep mode.
The BODS bit is automatically cleared when the device wakes up. Alternatively the BODS bit
can be cleared by writing logic zero to it. This does not require protected sequence.
• Bits 3:1 – SM[2:0]: Sleep Mode Select Bits 2, 1 and 0
These bits select between available sleep modes, as shown in
Table 7-2.
Bit
0x3A
Read/Write
Initial Value
1. Write the signature for change enable of protected I/O registers to register CCP.
2. Within four instruction cycles write the BODS bit.
SM2
0
0
0
0
1
1
1
1
ISC01
Sleep Mode Select
R/W
CC
7
0
/2 on an input pin can cause significant current even in active mode. Digital
SM1
ISC00
0
0
1
1
0
0
1
1
R/W
6
0
R
5
0
SM0
0
1
0
1
0
1
0
1
BODS
R/W
0
4
Table 7-1 on page
SM2
R/W
Sleep Mode
Idle
ADC noise reduction
Power-down
Reserved
Standby
Reserved
Reserved
Reserved
3
0
for details.
SM1
R/W
2
0
27) the BODS bit must be written to
Table
SM0
R/W
1
0
7-2.
R/W
SE
0
0
MCUCR
8263A–AVR–08/10
CC
/2,

Related parts for ATTINY40-MMHR