Macros | Variables
fsl_debug_console.h File Reference
#include "fsl_common.h"
#include "serial_manager.h"
Include dependency graph for fsl_debug_console.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUGCONSOLE_DISABLE   2U
 
#define DEBUGCONSOLE_REDIRECT_TO_SDK   1U
 
#define DEBUGCONSOLE_REDIRECT_TO_TOOLCHAIN   0U
 Definition select redirect toolchain printf, scanf to uart or not. More...
 
#define GETCHAR   DbgConsole_Getchar
 
#define PRINTF   DbgConsole_Printf
 Definition to select redirect toolchain printf, scanf to uart or not. More...
 
#define PUTCHAR   DbgConsole_Putchar
 
#define SCANF   DbgConsole_Scanf
 
#define SDK_DEBUGCONSOLE   1U
 Definition to select sdk or toolchain printf, scanf. The macro only support to be redefined in project setting. More...
 

Functions

Initialization
int DbgConsole_BlockingPrintf (const char *formatString,...)
 Writes formatted output to the standard output stream with the blocking mode. More...
 
status_t DbgConsole_Deinit (void)
 De-initializes the peripheral used for debug messages. More...
 
status_t DbgConsole_Flush (void)
 Debug console flush. More...
 
int DbgConsole_Getchar (void)
 Reads a character from standard input. More...
 
status_t DbgConsole_Init (uint8_t instance, uint32_t baudRate, serial_port_type_t device, uint32_t clkSrcFreq)
 Initializes the peripheral used for debug messages. More...
 
int DbgConsole_Printf (const char *formatString,...)
 Writes formatted output to the standard output stream. More...
 
int DbgConsole_Putchar (int ch)
 Writes a character to stdout. More...
 
int DbgConsole_Scanf (char *formatString,...)
 Reads formatted data from the standard input stream. More...
 

Variables

serial_handle_t g_serialHandle
 


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:57