# avrerror.c File Reference

Functions for printing messages, warnings and errors. More...

Go to the source code of this file.

## Defines
#define | avr_message(fmt, args...) private_avr_message(__FILE__, __LINE__, fmt, ## args)
#define | avr_warning(fmt, args...) private_avr_warning(__FILE__, __LINE__, fmt, ## args)
#define | avr_error(fmt, args...) private_avr_error(__FILE__, __LINE__, fmt, ## args)

## Detailed Description

Functions for printing messages, warnings and errors.

This module provides output printing facilities.

Definition in file avrerror.c.

## Define Documentation

#define avr_message | ( | fmt,
|  | args... |  | ) | private_avr_message(__FILE__, __LINE__, fmt, ## args)

Print an ordinary message to stdout.

Definition at line 42 of file avrerror.c.

Referenced by avr_core_irq_raise(), avr_core_run(), and decode_init_lookup_table().

#define avr_warning | ( | fmt,
|  | args... |  | ) | private_avr_warning(__FILE__, __LINE__, fmt, ## args)

Print a warning message to stderr.

Definition at line 46 of file avrerror.c.

Referenced by avr_core_add_ext_rd_wr(), display_open(), display_send_msg(), flash_load_from_file(), mem_read(), mem_write(), signal_has_occurred(), signal_watch_start(), signal_watch_stop(), vdev_add_addr(), and vdev_def_AddAddr().

#define avr_error | ( | fmt,
|  | args... |  | ) | private_avr_error(__FILE__, __LINE__, fmt, ## args)

Print an error message to stderr and terminate program.

Definition at line 50 of file avrerror.c.

Referenced by adc_construct(), adc_create(), adc_intr_construct(), avr_malloc(), avr_malloc0(), avr_realloc(), avr_strdup(), class_construct(), class_overload_destroy(), class_ref(), class_unref(), display_eeprom(), display_flash(), display_send_msg(), display_sram(), dlist_delete(), dlist_iterator(), dlist_lookup(), flash_construct(), gdb_interact(), get_program_time(), hwstack_construct(), mem_attach(), mem_construct(), mem_get_vdevice_by_name(), memstack_construct(), ocreg16_construct(), ocreg16_create(), spi_construct(), spi_intr_construct(), stack_construct(), timer0_construct(), timer16_construct(), timer16_create(), timer_int_create(), timer_intr_construct(), uart_construct(), uart_int_create(), uart_intr_construct(), usb_construct(), usb_intr_construct(), usbi_create(), and vdev_construct().

Automatically generated by Doxygen 1.5.5 on 7 Nov 2008.