Main Page

Macros
avrerror.c File Reference

Go to the source code of this file.

## Macros
#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.

## Macro Definition Documentation

## § avr_message

#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(), and avr_core_run().

## § avr_warning

#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(), signal_watch_stop(), vdev_add_addr(), and vdev_def_AddAddr().

## § avr_error

#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_intr_construct(), avr_malloc(), avr_malloc0(), avr_realloc(), avr_strdup(), class_construct(), class_overload_destroy(), class_ref(), class_unref(), dlist_delete(), dlist_iterator(), dlist_lookup(), flash_construct(), get_program_time(), hwstack_construct(), mem_attach(), mem_construct(), mem_get_vdevice_by_name(), memstack_construct(), ocreg16_construct(), spi_construct(), spi_intr_construct(), stack_construct(), timer0_construct(), timer16_construct(), timer_intr_construct(), uart_construct(), uart_intr_construct(), usb_construct(), usb_intr_construct(), and vdev_construct().

Automatically generated by Doxygen 1.8.12 on Sun Apr 2 2017.