A nice way of printing debug, allowing it to be compiled out for production. More...
#include "pic_serial.h"
#include "config.h"
Go to the source code of this file.
Defines | |
#define | debug_int(i) |
#define | debug_int_hex(i) |
#define | debug_int_hex_16bit(i) |
#define | debug_nl() |
#define | debug_putc(c) |
#define | debug_spc() |
#define | debug_str(str) |
#define | debug_var(str, i) |
Definition in file debug.h.
#define debug_int | ( | i | ) |
Definition at line 64 of file debug.h.
Referenced by its2_forward_routed_packet(), its2_print_packet(), its2_process_tx_queue(), its2_transmit(), mrf24j40_receive_callback(), and mrf24j40_transmit_callback().
#define debug_int_hex | ( | i | ) |
Definition at line 65 of file debug.h.
Referenced by wpan_data_received_callback().
#define debug_int_hex_16bit | ( | i | ) |
Definition at line 66 of file debug.h.
Referenced by its2_forward_routed_packet(), its2_print_packet(), its2_process_tx_queue(), its2_transmit(), its_add_local_device(), its_add_net_device(), and its_print_devices().
#define debug_nl | ( | ) |
Definition at line 67 of file debug.h.
Referenced by its2_device_process(), its2_print_queue(), its2_router_init(), its_print_devices(), and wpan_data_received_callback().
#define debug_putc | ( | c | ) |
Definition at line 61 of file debug.h.
Referenced by its2_print_packet(), its2_transmit(), and wpan_data_received_callback().
#define debug_spc | ( | ) |
Definition at line 68 of file debug.h.
Referenced by its2_forward_routed_packet().
#define debug_str | ( | str | ) |
Definition at line 62 of file debug.h.
Referenced by its2_device_init(), its2_device_process(), its2_forward_routed_packet(), its2_print_packet(), its2_process_tx_queue(), its2_rebroadcast_net_discover_req(), its2_respond_local_addr(), its2_router_handle_association(), its2_router_init(), its2_router_queue_packet(), its2_transmit(), its_add_local_device(), its_add_net_device(), its_print_devices(), mrf24j40_receive_callback(), mrf24j40_transmit_callback(), wpan_data_received_callback(), and wpan_print_address().
#define debug_var | ( | str, | |||
i | ) |
Definition at line 63 of file debug.h.
Referenced by its2_device_process(), its2_forward_routed_packet(), its2_print_queue(), its2_rebroadcast_net_discover_req(), its2_router_init(), its2_router_queue_packet(), and its2_transmit().