Title |
Title
AVR1000b: Getting Started with Writing C-Code for AVR® MCUs
|
---|---|
Name |
Name
TB3262
|
Date |
Date
03/10/2025
|
Description |
Description
This document presents an introduction to writing C code for AVR microcontrollers. The document establishes the recommended ways of writing the code and provides information about the device data sheet, header file, and modules. The document also describes how to set, clear, test, and change register bits values to achieve the desired functionality, mechanisms such as writing to protected registers, and how to configure the fuses.
|
Title | Product | Title |
---|---|---|
ATTINY3216 | ATTINY3216 | |
ATTINY3217 | ATTINY3217 | |
AVR64DD14
Multi-Voltage I/O
|
AVR64DD14 | Multi-Voltage I/O |
ATMEGA809 | ATMEGA809 | |
ATMEGA4809 | ATMEGA4809 | |
AVR64DD20
Multi-Voltage I/O
|
AVR64DD20 | Multi-Voltage I/O |
AVR32DD32
Multi-Voltage I/O
|
AVR32DD32 | Multi-Voltage I/O |
ATTINY826
12-bit diff ADC with PGA
|
ATTINY826 | 12-bit diff ADC with PGA |
ATMEGA1609 | ATMEGA1609 | |
AVR16DD20
Multi-Voltage I/O
|
AVR16DD20 | Multi-Voltage I/O |
ATTINY1606 | ATTINY1606 | |
ATTINY1607 | ATTINY1607 | |
ATTINY1604 | ATTINY1604 | |
AVR32DB48
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR32DB48 | Analog Signal Conditioning, Multi-Voltage I/O |
AVR32DB28
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR32DB28 | Analog Signal Conditioning, Multi-Voltage I/O |
AVR32DD28
Multi-Voltage I/O
|
AVR32DD28 | Multi-Voltage I/O |
ATTINY824
12-bit diff ADC with PGA
|
ATTINY824 | 12-bit diff ADC with PGA |
ATTINY814 | ATTINY814 | |
ATTINY416 | ATTINY416 | |
AVR64DD32
Multi-Voltage I/O
|
AVR64DD32 | Multi-Voltage I/O |
AVR64DD28
Multi-Voltage I/O
|
AVR64DD28 | Multi-Voltage I/O |
AVR16DD14
Multi-Voltage I/O
|
AVR16DD14 | Multi-Voltage I/O |
ATTINY3227
12-bit diff ADC with PGA
|
ATTINY3227 | 12-bit diff ADC with PGA |
ATTINY406 | ATTINY406 | |
AVR16DD28
Multi-Voltage I/O
|
AVR16DD28 | Multi-Voltage I/O |
ATTINY204 | ATTINY204 | |
ATTINY1627
12-bit diff ADC with PGA
|
ATTINY1627 | 12-bit diff ADC with PGA |
ATTINY827
12-bit diff ADC with PGA
|
ATTINY827 | 12-bit diff ADC with PGA |
ATTINY817 | ATTINY817 | |
ATTINY804 | ATTINY804 | |
ATTINY807 | ATTINY807 | |
AVR32DD14
Multi-Voltage I/O
|
AVR32DD14 | Multi-Voltage I/O |
ATMEGA808 | ATMEGA808 | |
ATMEGA1608 | ATMEGA1608 | |
ATMEGA4808 | ATMEGA4808 | |
ATMEGA3209 | ATMEGA3209 | |
ATMEGA3208 | ATMEGA3208 | |
AVR32DB32
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR32DB32 | Analog Signal Conditioning, Multi-Voltage I/O |
ATTINY214 | ATTINY214 | |
ATTINY816 | ATTINY816 | |
ATTINY806 | ATTINY806 | |
ATTINY1616
ATTINY1616
|
ATTINY1616 | ATTINY1616 |
ATTINY426
12-bit diff ADC with PGA
|
ATTINY426 | 12-bit diff ADC with PGA |
ATTINY414 | ATTINY414 | |
ATTINY3224
12-bit diff ADC with PGA
|
ATTINY3224 | 12-bit diff ADC with PGA |
ATTINY1626
12-bit diff ADC with PGA
|
ATTINY1626 | 12-bit diff ADC with PGA |
ATTINY1614 | ATTINY1614 | |
ATTINY1624
12-bit diff ADC with PGA
|
ATTINY1624 | 12-bit diff ADC with PGA |
ATTINY424
12-bit diff ADC with PGA
|
ATTINY424 | 12-bit diff ADC with PGA |
ATTINY404 | ATTINY404 | |
AVR128DB64
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR128DB64 | Analog Signal Conditioning, Multi-Voltage I/O |
AVR128DB28
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR128DB28 | Analog Signal Conditioning, Multi-Voltage I/O |
ATTINY212 | ATTINY212 | |
ATTINY1617 | ATTINY1617 | |
ATTINY427
12-bit diff ADC with PGA
|
ATTINY427 | 12-bit diff ADC with PGA |
ATTINY417 | ATTINY417 | |
ATTINY3226
12-bit diff ADC with PGA
|
ATTINY3226 | 12-bit diff ADC with PGA |
AVR128DB48
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR128DB48 | Analog Signal Conditioning, Multi-Voltage I/O |
AVR16DD32
Multi-Voltage I/O
|
AVR16DD32 | Multi-Voltage I/O |
AVR128DB32
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR128DB32 | Analog Signal Conditioning, Multi-Voltage I/O |
AVR64DB32
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR64DB32 | Analog Signal Conditioning, Multi-Voltage I/O |
AVR64DB48
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR64DB48 | Analog Signal Conditioning, Multi-Voltage I/O |
AVR32DU28
USB 2.0 FS Device
|
AVR32DU28 | USB 2.0 FS Device |
AVR16DU32
USB 2.0 FS Device
|
AVR16DU32 | USB 2.0 FS Device |
AVR64DU28
USB 2.0 FS Device
|
AVR64DU28 | USB 2.0 FS Device |
AVR64DB64
Analog Signal Conditioning, Multi-Voltage I/O
|
AVR64DB64 | Analog Signal Conditioning, Multi-Voltage I/O |
ATTINY202 | ATTINY202 | |
ATTINY412 | ATTINY412 | |
ATTINY402 | ATTINY402 | |
AVR32DD20
Multi-Voltage I/O
|
AVR32DD20 | Multi-Voltage I/O |
AVR32DU20
USB 2.0 FS Device
|
AVR32DU20 | USB 2.0 FS Device |
AVR16DU14
USB 2.0 FS Device
|
AVR16DU14 | USB 2.0 FS Device |
AVR16DU20
USB 2.0 FS Device
|
AVR16DU20 | USB 2.0 FS Device |
AVR16DU28
USB 2.0 FS Device
|
AVR16DU28 | USB 2.0 FS Device |
AVR64DU32
USB 2.0 FS Device
|
AVR64DU32 | USB 2.0 FS Device |
AVR32DU32
USB 2.0 FS Device
|
AVR32DU32 | USB 2.0 FS Device |
AVR32DU14
USB 2.0 FS Device
|
AVR32DU14 | USB 2.0 FS Device |