MCU AVR 16K FLASH 16MHZ 40-PDIP

ATMEGA16A-PU

Manufacturer Part NumberATMEGA16A-PU
DescriptionMCU AVR 16K FLASH 16MHZ 40-PDIP
ManufacturerAtmel
SeriesAVR® ATmega
ATMEGA16A-PU datasheets
 


Specifications of ATMEGA16A-PU

Core ProcessorAVRCore Size8-Bit
Speed16MHzConnectivityI²C, SPI, UART/USART
PeripheralsBrown-out Detect/Reset, POR, PWM, WDTNumber Of I /o32
Program Memory Size16KB (8K x 16)Program Memory TypeFLASH
Eeprom Size512 x 8Ram Size1K x 8
Voltage - Supply (vcc/vdd)2.7 V ~ 5.5 VData ConvertersA/D 8x10b
Oscillator TypeInternalOperating Temperature-40°C ~ 85°C
Package / Case40-DIP (0.600", 15.24mm)Processor SeriesATMEGA16x
CoreAVR8Data Bus Width8 bit
Data Ram Size1 KBInterface Type2-Wire/SPI/USART
Maximum Clock Frequency16 MHzNumber Of Programmable I/os32
Number Of Timers3Maximum Operating Temperature+ 85 C
Mounting StyleThrough Hole3rd Party Development ToolsEWAVR, EWAVR-BL
Development Tools By SupplierATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKITMinimum Operating Temperature- 40 C
On-chip Adc8-ch x 10-bitPackage40PDIP
Device CoreAVRFamily NameATmega
Maximum Speed16 MHzOperating Supply Voltage3.3|5 V
Controller Family/seriesAVR MEGANo. Of I/o's32
Eeprom Memory Size512ByteRam Memory Size1KB
Cpu Speed16MHzRohs CompliantYes
For Use WithATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KITLead Free Status / RoHS StatusLead free / RoHS Compliant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
Page 331
332
Page 332
333
Page 333
334
Page 334
335
Page 335
336
Page 336
337
Page 337
338
Page 338
339
Page 339
340
Page 340
341
342
343
344
345
346
347
348
349
350
351
352
Page 334/352

Download datasheet (8Mb)Embed
PrevNext
29. Register Summary
Address
Name
Bit 7
$3F ($5F)
SREG
I
$3E ($5E)
SPH
$3D ($5D)
SPL
SP7
Timer/Counter0 Output Compare Register
$3C ($5C)
OCR0
$3B ($5B)
GICR
INT1
$3A ($5A)
GIFR
INTF1
$39 ($59)
TIMSK
OCIE2
$38 ($58)
TIFR
OCF2
$37 ($57)
SPMCR
SPMIE
$36 ($56)
TWCR
TWINT
$35 ($55)
MCUCR
SM2
$34 ($54)
MCUCSR
JTD
$33 ($53)
TCCR0
FOC0
$32 ($52)
TCNT0
Timer/Counter0 (8 Bits)
OSCCAL
Oscillator Calibration Register
$31
(1)
($51)
(1)
OCDR
On-Chip Debug Register
$30 ($50)
SFIOR
ADTS2
$2F ($4F)
TCCR1A
COM1A1
$2E ($4E)
TCCR1B
ICNC1
$2D ($4D)
TCNT1H
Timer/Counter1 – Counter Register High Byte
$2C ($4C)
TCNT1L
Timer/Counter1 – Counter Register Low Byte
Timer/Counter1 – Output Compare Register A High Byte
$2B ($4B)
OCR1AH
Timer/Counter1 – Output Compare Register A Low Byte
$2A ($4A)
OCR1AL
$29 ($49)
OCR1BH
Timer/Counter1 – Output Compare Register B High Byte
Timer/Counter1 – Output Compare Register B Low Byte
$28 ($48)
OCR1BL
$27 ($47)
ICR1H
Timer/Counter1 – Input Capture Register High Byte
$26 ($46)
ICR1L
Timer/Counter1 – Input Capture Register Low Byte
$25 ($45)
TCCR2
FOC2
$24 ($44)
TCNT2
Timer/Counter2 (8 Bits)
Timer/Counter2 Output Compare Register
$23 ($43)
OCR2
$22 ($42)
ASSR
$21 ($41)
WDTCR
UBRRH
URSEL
$20
(2)
($40)
(2)
UCSRC
URSEL
$1F ($3F)
EEARH
$1E ($3E)
EEARL
EEPROM Address Register Low Byte
$1D ($3D)
EEDR
EEPROM Data Register
$1C ($3C)
EECR
$1B ($3B)
PORTA
PORTA7
$1A ($3A)
DDRA
DDA7
$19 ($39)
PINA
PINA7
$18 ($38)
PORTB
PORTB7
$17 ($37)
DDRB
DDB7
$16 ($36)
PINB
PINB7
$15 ($35)
PORTC
PORTC7
$14 ($34)
DDRC
DDC7
$13 ($33)
PINC
PINC7
$12 ($32)
PORTD
PORTD7
$11 ($31)
DDRD
DDD7
$10 ($30)
PIND
PIND7
$0F ($2F)
SPDR
SPI Data Register
$0E ($2E)
SPSR
SPIF
$0D ($2D)
SPCR
SPIE
$0C ($2C)
UDR
USART I/O Data Register
$0B ($2B)
UCSRA
RXC
$0A ($2A)
UCSRB
RXCIE
$09 ($29)
UBRRL
USART Baud Rate Register Low Byte
$08 ($28)
ACSR
ACD
$07 ($27)
ADMUX
REFS1
$06 ($26)
ADCSRA
ADEN
$05 ($25)
ADCH
ADC Data Register High Byte
$04 ($24)
ADCL
ADC Data Register Low Byte
$03 ($23)
TWDR
Two-wire Serial Interface Data Register
$02 ($22)
TWAR
TWA6
ATmega16A
334
Bit 6
Bit 5
Bit 4
Bit 3
T
H
S
V
SP6
SP5
SP4
SP3
INT0
INT2
INTF0
INTF2
TOIE2
TICIE1
OCIE1A
OCIE1B
TOV2
ICF1
OCF1A
OCF1B
RWWSB
RWWSRE
BLBSET
TWEA
TWSTA
TWSTO
TWWC
SE
SM1
SM0
ISC11
ISC2
JTRF
WDRF
WGM00
COM01
COM00
WGM01
ADTS1
ADTS0
ACME
COM1A0
COM1B1
COM1B0
FOC1A
ICES1
WGM13
WGM12
WGM20
COM21
COM20
WGM21
AS2
WDTOE
WDE
UMSEL
UPM1
UPM0
USBS
EERIE
PORTA6
PORTA5
PORTA4
PORTA3
DDA6
DDA5
DDA4
DDA3
PINA6
PINA5
PINA4
PINA3
PORTB6
PORTB5
PORTB4
PORTB3
DDB6
DDB5
DDB4
DDB3
PINB6
PINB5
PINB4
PINB3
PORTC6
PORTC5
PORTC4
PORTC3
DDC6
DDC5
DDC4
DDC3
PINC6
PINC5
PINC4
PINC3
PORTD6
PORTD5
PORTD4
PORTD3
DDD6
DDD5
DDD4
DDD3
PIND6
PIND5
PIND4
PIND3
WCOL
SPE
DORD
MSTR
CPOL
TXC
UDRE
FE
DOR
TXCIE
UDRIE
RXEN
TXEN
ACBG
ACO
ACI
ACIE
REFS0
ADLAR
MUX4
MUX3
ADSC
ADATE
ADIF
ADIE
TWA5
TWA4
TWA3
TWA2
Bit 2
Bit 1
Bit 0
N
Z
C
SP10
SP9
SP8
SP2
SP1
SP0
IVSEL
IVCE
TOIE1
OCIE0
TOIE0
85, 115, 134
TOV1
OCF0
TOV0
85, 115, 134
PGWRT
PGERS
SPMEN
TWEN
TWIE
ISC10
ISC01
ISC00
BORF
EXTRF
PORF
CS02
CS01
CS00
PUD
PSR2
PSR10
65,87,134,205,225
FOC1B
WGM11
WGM10
CS12
CS11
CS10
CS22
CS21
CS20
TCN2UB
OCR2UB
TCR2UB
WDP2
WDP1
WDP0
UBRR[11:8]
UCSZ1
UCSZ0
UCPOL
EEAR8
EEMWE
EEWE
EERE
PORTA2
PORTA1
PORTA0
DDA2
DDA1
DDA0
PINA2
PINA1
PINA0
PORTB2
PORTB1
PORTB0
DDB2
DDB1
DDB0
PINB2
PINB1
PINB0
PORTC2
PORTC1
PORTC0
DDC2
DDC1
DDC0
PINC2
PINC1
PINC0
PORTD2
PORTD1
PORTD0
DDD2
DDD1
DDD0
PIND2
PIND1
PIND0
SPI2X
CPHA
SPR1
SPR0
PE
U2X
MPCM
UCSZ2
RXB8
TXB8
ACIC
ACIS1
ACIS0
MUX2
MUX1
MUX0
ADPS2
ADPS1
ADPS0
TWA1
TWA0
TWGCE
8154B–AVR–07/09
Page
9
12
12
85
47, 69
69
255
200
36, 67
41, 68, 249
82
84
31
231
109
112
113
113
114
114
114
114
114
114
130
133
133
133
42
170
169
19
19
20
20
65
65
65
65
65
66
66
66
66
66
66
66
145
144
143
166
167
168
170
205
221
223
224
224
202
203