Microchip® Advanced Software Framework

dbg_print.h File Reference

Debug print include.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <compiler.h>
#include <status_codes.h>
#include <conf_dbg_print.h>

Macros

Configuration macros
#define CONF_DBG_PRINT_BAUD_RATE
 Desired baud rate. More...
 
#define CONF_DBG_PRINT_BAUD_VALUE
 Hardcoded BAUD register value (optional) More...
 

Functions

Initialization
enum status_code dbg_init (void)
 Initialize and enable debug UART. More...
 
Print to string
void dbg_sprint_hexint (char *outstr, uint32_t outint)
 Write an integer as hex digits (ASCII) into string. More...
 
Print to buffer
void dbg_print_hexint (uint32_t outint)
 Print an integer as hex digits. More...
 
void dbg_print_str (const char *outstr)
 Print a zero-terminated string. More...
 
void dbg_print_char (const char outchar)
 Print a single character. More...