AtmanAvr C/C++ User's Guide
Introduction
About AtmanAvr
Supported Devices
AtmanAvr C/C++ IDE
Customizing AtmanAvr C/C++
Customizing Toolbars and Menus
Creating a Toolbar
Customizing a Toolbar
Customizing Menus on Toolbars
Customizing Menus and Menu Items
Customizing a Toolbar Button or Menu Command
Customizing Menu Items for Recently Used Files and Workspaces
Customizing the Tools Menu
Argument Macros
Customizing Keyboard Shortcuts
Setting Directories
Setting Startup
Customing Keywords
Localizing AtmanAvr C/C++
Applying Localization
Working with Projects
Project Workspace Files
Project Workspace Views
Elements of Project Workspaces
Project Types
Project Configurations
Working With Projects and Workspaces
Creating a Project Workspace
Viewing the Project Workspace Window
Opening an Existing Project Workspace
Setting the Active Project
Inserting and Deleting Projects
Adding and Removing Files from Projects
Using Folders in Projects
Exporting a Makefile
Working with Project Configurations
Setting the Active Project Configuration
Specifying Project Configuration Settings
Adjusting the Build Settings
Selecting the CPU Type
Specifying CPU Clock Frequency
Specifying External RAM Size
Selecting the Directories for Output Files
Setting Compiler Options
Setting Optimizations
Specifying Preprocessor Definitions
Specifying Additional Include Directories
Setting Additional Compiler and Linker Options
Setting Linker Options
Setting File Output Formats
Setting printf Version
Setting Additional Libraries and Directories
Setting Stack, Data and Boot Sections
Setting Debugger Options
Building a Project
Building the Active Project Configuration
Building Multiple Project Configurations
Building the Selected Project
Cleaning Project Directories
Building a Project from an External Makefile
Compiling Files
Debugging a Project
Programming a Project
Working with Classes
ClassView
ClassView Elements
Sorting the ClassView Display
Using ClassView to Navigate to Code
Using ClassView
Using ClassView
Browsing Symbols from ClassView
WizardBar
WizardBar Elements
Using WizardBar to Navigate to Code
WizardBar Context Tracking
When WizardBar Does Not Track Context
Using WizardBar
Using WizardBar
WizardBar Navigation
Output
Fix Build Errors
Fix Find in Files Match
Text Editor
Automatically Completing Statements
Icons in the Members List
Using the Members List
Viewing the Parameter List for a Function
Viewing the Variable Type
Automatically Completing a Variable or Function Name
Viewing the List of Globals
Modifying Intelli-Sense Options
Finding and Replacing Text
Finding Text in a Single File
Finding Text in Multiple Files
Replacing Text
Navigating in Files
Matching Delimiters
Using Go To
Customizing the Text Editor
Setting Save Preferences
Setting Tabs and Indents
Setting Font Style, Size, and Color
Editing Text
Cutting, Copying, Pasting, or Deleting Text
Undoing or Redoing an Edit Action
Using Drag-and-Drop Editing
Selecting Text
Managing Files
Creating a New File
Opening a File
Opening Multiple Files
Saving a File
Printing a File
Managing Open Windows
Wizards
ProjectWizard
CodeWizard
Create New Modules
Add Interrupt Functions
Delete Interrupt Functions
Edit Code
Debugger
The Debugger Interface
Debugger Menu Items
Debug Options on the Build/Debug Menu
Debugger Windows
The I/OView window
Watch Window
The Registers Window
The Memory Window
The Disassembly Window
The I/O Interface window
Debugger Dialog Boxes
Breakpoints
QuickWatch
Viewing the Value of a Variable
Edit and Continue
Running to a Location
Setting Breakpoints
Stepping into Functions
Modifying the Value of a Variable
Adjusting Auto Step speed
Debugging .elf and .hex files
Using Breakpoints: Additional Information
Setting Breakpoints at a Memory Location
Setting Breakpoints When Values Change or Become True
Using Instruments
Using LCD
Using LED
Using Keyboard
Programmer
Programming via the JTAG interface
Defining your own download cables
Saving programmer settings
Register
To show Register window
To register AtmanAvr C/C++
Create a Simple Application
Create an Application Through ProjectWizard
Start-up ProjectWizard
Setting MCU
Setting IO Ports
Setting Timer/Counter
Setting External Interrupts
Setting ADC
Setting Analog Comparator
Setting SPI
Setting UART
Setting TWI
Setting LCD
Final Project
Edit Project Dynamically Through CodeWizard
CodeWizard Window
Edit Project
Create an User Library
Creating User Library
Using User Library
AVRGCC Language Reference
Variables
Variables in the Program Memory
Variables in the Eeprom
External RAM Interface
Interrupts and Signals
Signal Names
Interrupt Handler Functions
Assembler Code
Using Assembler Modules
Inline Assembler
Memory Sections
Library Function Reference
Standard C Library
abort
abs
atoi
atol
bsearch
calloc
div
dtostre
dtostrf
exit
free
itoa
labs
ldiv
longjmp
ltoa
malloc
qsort
rand
rand_r
random
random_r
setjmp
srand
srandom
strtod
strtol
strtoul
ultoa
utoa
Standard IO Functions
clearerr
EOF
fclose
fdevopen
feof
ferror
fgetc
fgets
fprintf, fprintf_P
fputc
fputs, fputs_P
fread
fscanf, fscanf_P
fwrite
getc
getchar
gets
printf, printf_P
putc
putchar
puts, puts_P
scanf, scanf_P
snprintf, snprintf_P
sprintf, sprintf_P
sscanf, sscanf_P
stdin, stdout, stderr
ungetc
vfprintf
vfscanf
Mathematics Functions
acos
asin
atan
atan2
ceil
cos
cosh
exp
fabs
floor
fmod
frexp
inverse
isinf
isnan
ldexp
log
log10
modf
pow
sin
sinh
sqrt
square
tan
tanh
Character Functions
isalnum, isalpha, isascii, isblank, iscntrl, isdigit, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit
toascii
tolower, toupper
String Functions
_FFS
ffs
ffsl
ffsll
memccpy
memchr
memcmp
memcpy
memmove
memset
strcasecmp
strcat
strchr
strcmp
strcpy
strlcat
strlcpy
strlen
strlwr
strncasecmp
strncat
strncmp
strncpy
strnlen
strrchr
strrev
strsep
strstr
strtok_r
strupr
Diagnostics
Bootloader Support Utilities
CRC Computations
Busy-wait delay loops
Parity bit generation
TWI bit mask definitions
Power Management and Sleep Modes
System Errors (errno)
Setjmp and Longjmp
Memory APIs
Program Memory API
__ATTR_CONST__, __ATTR_PROGMEM__, __ATTR_PURE__
__elpm_inline
__lpm_inline
memcpy_P
pgm_read_byte
pgm_read_byte_far
pgm_read_byte_near
pgm_read_word
pgm_read_word_far
pgm_read_word_near
PRG_RDB
PSTR
strcasecmp_P
strcat_P
strcmp_P
strcpy_P
strlcat_P
strlcpy_P
strlen_P
strncasecmp_P
strncat_P
strncmp_P
strncpy_P
strnlen_P
strstr_P
EEPROM API
eeprom_is_ready
eeprom_read_byte
eeprom_read_block
eeprom_read_word
eeprom_write_byte
eeprom_write_block
eeprom_write_word
Interrupt API
cli
ISR
sei
INTERRUPT
SIGNAL
timer_enable_int
I/O API
BV
bit_is_clear
bit_is_set
cbi
inp, inb
inw
__inw
__inw_atomic
loop_until_bit_is_clear
loop_until_bit_is_set
outp, outb
outw
__outw
__outw_atomic
parity_even_bit
sbi
Watchdog API
wdt_disable
wdt_enable
wdt_reset
LCD Library
lcd_clear
lcd_command
lcd_gotoxy
lcd_home
lcd_init
lcd_putchar
lcd_puts
lcd_puts_P
lcd_read_byte
lcd_set_custom_char
lcd_write_byte
Other Functions
delay
Bibliography