









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register file -6 can be used as 16-bit registers Harvard architecture Status Register (half carry, sign, OV, Neg, Zero, Carry, GIE) -not stored when entering ISR
Memory System There are four separate memory spaces on the AVR
Timers and Counters TCNT -8-bit -internal synchronous clock or external asynchronous 32Khz clock -especially used for time keeping with 32Khz clock -has no external pin for clocking, only two crystal sources
Timers and Counters TCNT1, TCNT -16 bit timer/counter, requires special access method -clocked by internal clock or by external pin -3 output compare registers and output pins (set, reset, toggle) -multiple compare registers -input capture register captures when external event happened -ADC interrupt input can capture time at which some voltage is detected
Timers and Counters TCNT -8-bit counter/timer -like TCNT0 but has external clocking capability -has PWM capability
Timer/counter prescalers -separate prescalers available for TCNT1,2,3 only -used when operating from internal or external clock pin -clock can be prescaled by 8, 64, 256 or 102
Serial Interfaces SPI (Serial Peripheral Interface) -full duplex, three wire interface -MSB first or last, programmable bit rates to clock/
Serial Interfaces USART(universal synchronous asynchronous receiver transmitter) -2 identical and separate units, USART0, USART -full duplex serial communications -programmable number of bits, parity, stop bit, error detection -interrupt on tx done, rx ready, or tx register empty
Serial Interfaces TWI (two wire interface) -half duplex serial communications -7 bit device addressing -multi-master operation -400khz data rate -I 2 C compatible
Analog to Digital Converter
- 10-bit resolution -13-260uS conversion time -8 multiplexed single input channels -7 differential input channels -selectable internal reference (2.56V) -input range 0-Vcc -interrupt on completion