Rainbow Electronics ATtiny10 User Manual
Features
Features
•
High Performance, Low Power AVR
®
8-Bit Microcontroller
•
Advanced RISC Architecture
– 54 Powerful Instructions – Most Single Clock Cycle Execution
– 16 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 12 MIPS Throughput at 12 MHz
•
Non-volatile Program and Data Memories
– 512/1024 Bytes of In-System Programmable Flash Program Memory
– 32 Bytes Internal SRAM
– Flash Write/Erase Cycles: 10,000
– Data Retention: 20 Years at 85
o
C / 100 Years at 25
o
C
•
Peripheral Features
– One 16-bit Timer/Counter with Prescaler and Two PWM Channels
– Programmable Watchdog Timer with Separate On-chip Oscillator
– 4-channel, 8-bit Analog to Digital Converter
– On-chip Analog Comparator
•
Special Microcontroller Features
– In-System Programmable
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, and Power-down Modes
– Enhanced Power-on Reset Circuit
– Programmable Supply Voltage Level Monitor with Interrupt and Reset
– Internal Calibrated Oscillator
•
I/O and Packages
– 6-pin SOT: Four Programmable I/O Lines
•
Operating Voltage:
– 1.8 - 5.5V
•
Programming Voltage:
– 5V
•
Speed Grade
– 0 - 4 MHz @ 1.8 - 5.5V
– 0 - 8 MHz @ 2.7 - 5.5V
– 0 - 12 MHz @ 4.5 - 5.5V
•
Industrial Temperature Range
•
Low Power Consumption
– Active Mode:
• 200µA at 1MHz and 1.8V
– Idle Mode:
• 25µA at 1MHz and 1.8V
– Power-down Mode:
• < 0.1µA at 1.8V
Note:
1. The Analog to Digital Converter (ADC) is available in ATtiny5/10, only
2. At 5V, only
8-bit
Microcontroller
with 512/1024
Bytes In-System
Programmable
Flash
ATtiny4/5/9/10
Preliminary
Rev. 8127B–AVR–08/09
Document Outline
- Features
- 1. Pin Configurations
- 2. Overview
- 3. General Information
- 4. CPU Core
- 5. Memories
- 6. Clock System
- 7. Power Management and Sleep Modes
- 8. System Control and Reset
- 9. Interrupts
- 10. I/O Ports
- 11. 16-bit Timer/Counter0
- 11.1 Features
- 11.2 Overview
- 11.3 Clock Sources
- 11.4 Counter Unit
- 11.5 Input Capture Unit
- 11.6 Output Compare Units
- 11.7 Compare Match Output Unit
- 11.8 Modes of Operation
- 11.9 Timer/Counter Timing Diagrams
- 11.10 Accessing 16-bit Registers
- 11.11 Register Description
- 11.11.1 TCCR0A – Timer/Counter0 Control Register A
- 11.11.2 TCCR0B – Timer/Counter0 Control Register B
- 11.11.3 TCCR0C – Timer/Counter0 Control Register C
- 11.11.4 TCNT0H and TCNT0L – Timer/Counter0
- 11.11.5 OCR0AH and OCR0AL – Output Compare Register 0 A
- 11.11.6 OCR0BH and OCR0BL – Output Compare Register 0 B
- 11.11.7 ICR0H and ICR0L – Input Capture Register 0
- 11.11.8 TIMSK0 – Timer/Counter Interrupt Mask Register 0
- 11.11.9 TIFR0 – Timer/Counter Interrupt Flag Register 0
- 11.11.10 GTCCR – General Timer/Counter Control Register
- 12. Analog Comparator
- 13. Analog to Digital Converter
- 14. Programming interface
- 14.1 Features
- 14.2 Overview
- 14.3 Physical Layer of Tiny Programming Interface
- 14.4 Access Layer of Tiny Programming Interface
- 14.5 Instruction Set
- 14.5.1 SLD - Serial LoaD from data space using indirect addressing
- 14.5.2 SST - Serial STore to data space using indirect addressing
- 14.5.3 SSTPR - Serial STore to Pointer Register
- 14.5.4 SIN - Serial IN from i/o space using direct addressing
- 14.5.5 SOUT - Serial OUT to i/o space using direct addressing
- 14.5.6 SLDCS - Serial LoaD data from Control and Status space using direct addressing
- 14.5.7 SSTCS - Serial STore data to Control and Status space using direct addressing
- 14.5.8 SKEY - Serial KEY signaling
- 14.6 Accessing the Non-Volatile Memory Controller
- 14.7 Control and Status Space Register Descriptions
- 15. Memory Programming
- 16. Electrical Characteristics
- 17. Typical Characteristics
- 17.1 Supply Current of I/O Modules
- 17.2 ATtiny4/5/9/10
- 17.2.1 Active Supply Current
- 17.2.2 Idle Supply Current
- 17.2.3 Power-down Supply Current
- 17.2.4 Pin Pull-up
- 17.2.5 Pin Driver Strength
- 17.2.6 Pin Threshold and Hysteresis
- 17.2.7 Analog Comparator Offset
- 17.2.8 Internal Oscillator Speed
- 17.2.9 VLM Thresholds
- 17.2.10 Current Consumption of Peripheral Units
- 17.2.11 Current Consumption in Reset and Reset Pulsewidth
- 18. Register Summary
- 19. Instruction Set Summary
- 20. Ordering Information
- 21. Packaging Information
- 22. Errata
- 23. Datasheet Revision History
- Table of Contents