LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
app_cfg.h File Reference
#include <lib_cfg.h>
#include <serial_cfg.h>

Go to the source code of this file.

Macros

#define APP_CFG_PROBE_COM_EN   DEF_DISABLED
 
#define APP_CFG_SERIAL_EN   DEF_DISABLED
 
#define APP_CFG_TASK_START_PRIO   2u
 
#define APP_CFG_TASK_START_STK_SIZE   256u
 
#define APP_CFG_TASK_START_STK_SIZE_PCT_FULL   90u
 
#define APP_CFG_TASK_START_STK_SIZE_LIMIT   (APP_CFG_TASK_START_STK_SIZE * (100u - APP_CFG_TASK_START_STK_SIZE_PCT_FULL)) / 100u
 
#define APP_SERIAL_CFG_TRACE_EN   DEF_DISABLED
 
#define APP_SERIAL_CFG_TRACE_PORT_NAME   "UART0"
 
#define APP_CFG_PROBE_SERIAL_PORT_NAME   "UART3"
 
#define TRACE_LEVEL_OFF   0
 
#define TRACE_LEVEL_INFO   1
 
#define TRACE_LEVEL_DBG   2
 
#define APP_CFG_TRACE_LEVEL   TRACE_LEVEL_OFF
 
#define APP_CFG_TRACE   printf
 
#define APP_TRACE_INFO(x)   ((APP_CFG_TRACE_LEVEL >= TRACE_LEVEL_INFO) ? (void)(APP_CFG_TRACE x) : (void)0)
 
#define APP_TRACE_DBG(x)   ((APP_CFG_TRACE_LEVEL >= TRACE_LEVEL_DBG) ? (void)(APP_CFG_TRACE x) : (void)0)
 

Macro Definition Documentation

#define APP_CFG_PROBE_COM_EN   DEF_DISABLED

Definition at line 47 of file app_cfg.h.

#define APP_CFG_PROBE_SERIAL_PORT_NAME   "UART3"

Definition at line 114 of file app_cfg.h.

#define APP_CFG_SERIAL_EN   DEF_DISABLED

Definition at line 48 of file app_cfg.h.

#define APP_CFG_TASK_START_PRIO   2u

Definition at line 57 of file app_cfg.h.

#define APP_CFG_TASK_START_STK_SIZE   256u

Definition at line 66 of file app_cfg.h.

#define APP_CFG_TASK_START_STK_SIZE_LIMIT   (APP_CFG_TASK_START_STK_SIZE * (100u - APP_CFG_TASK_START_STK_SIZE_PCT_FULL)) / 100u

Definition at line 77 of file app_cfg.h.

#define APP_CFG_TASK_START_STK_SIZE_PCT_FULL   90u

Definition at line 75 of file app_cfg.h.

#define APP_CFG_TRACE   printf

Definition at line 128 of file app_cfg.h.

#define APP_CFG_TRACE_LEVEL   TRACE_LEVEL_OFF

Definition at line 127 of file app_cfg.h.

#define APP_SERIAL_CFG_TRACE_EN   DEF_DISABLED

Definition at line 104 of file app_cfg.h.

#define APP_SERIAL_CFG_TRACE_PORT_NAME   "UART0"

Definition at line 105 of file app_cfg.h.

#define APP_TRACE_DBG (   x)    ((APP_CFG_TRACE_LEVEL >= TRACE_LEVEL_DBG) ? (void)(APP_CFG_TRACE x) : (void)0)

Definition at line 131 of file app_cfg.h.

#define APP_TRACE_INFO (   x)    ((APP_CFG_TRACE_LEVEL >= TRACE_LEVEL_INFO) ? (void)(APP_CFG_TRACE x) : (void)0)

Definition at line 130 of file app_cfg.h.

#define TRACE_LEVEL_DBG   2

Definition at line 125 of file app_cfg.h.

#define TRACE_LEVEL_INFO   1

Definition at line 124 of file app_cfg.h.

#define TRACE_LEVEL_OFF   0

Definition at line 123 of file app_cfg.h.