We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X
Maximize Your Experience: Reap the Personalized Advantages by Completing Your Profile to Its Fullest! Update Here
Stay in the loop with the latest from Microchip! Update your profile while you are at it. Update Here
Complete your profile to access more resources.Update Here!
Item Qty
Your cart is empty.

TB3262

Title
Title
AVR1000b: Getting Started with Writing C-Code for AVR MCUs
Name
Name
TB3262
Date
Date
06/05/2020
Description
Description
This document presents an introduction to writing C code for AVR microcontrollers. It establishes the recommended ways of writing the code and provides information about the device data sheet, header file, and modules. The document describes the basic ways of setting, clearing, testing, and changing register bits values in order to achieve the desired functionality, mechanisms as writing to protected registers, and how to configure the fuses.

Silicon Products

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
ATTINY1607
ATTINY1607
ATTINY1606
ATTINY1606
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
AVR16DD14
Multi-Voltage I/O
AVR16DD14 Multi-Voltage I/O
AVR64DD32
Multi-Voltage I/O
AVR64DD32 Multi-Voltage I/O
AVR64DD28
Multi-Voltage I/O
AVR64DD28 Multi-Voltage I/O
ATTINY406
ATTINY406
ATTINY3227
12-bit diff ADC with PGA
ATTINY3227 12-bit diff ADC with PGA
AVR16DD28
Multi-Voltage I/O
AVR16DD28 Multi-Voltage I/O
ATTINY204
ATTINY204
ATTINY804
ATTINY804
ATTINY1627
12-bit diff ADC with PGA
ATTINY1627 12-bit diff ADC with PGA
ATTINY817
ATTINY817
ATTINY827
12-bit diff ADC with PGA
ATTINY827 12-bit diff ADC with PGA
ATTINY807
ATTINY807
AVR32DD14
Multi-Voltage I/O
AVR32DD14 Multi-Voltage I/O
ATMEGA808
ATMEGA808
ATMEGA4808
ATMEGA4808
ATMEGA1608
ATMEGA1608
ATMEGA3209
ATMEGA3209
ATMEGA3208
ATMEGA3208
AVR32DB32
Analog Signal Conditioning, Multi-Voltage I/O
AVR32DB32 Analog Signal Conditioning, Multi-Voltage I/O
ATTINY214
ATTINY214
ATTINY806
ATTINY806
ATTINY816
ATTINY816
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
ATTINY1624
12-bit diff ADC with PGA
ATTINY1624 12-bit diff ADC with PGA
ATTINY1614
ATTINY1614
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
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
AVR128DB48
Analog Signal Conditioning, Multi-Voltage I/O
AVR128DB48 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
AVR32DD20
Multi-Voltage I/O
AVR32DD20 Multi-Voltage I/O
ATTINY402
ATTINY402
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