/** ****************************************************************************** * File Name : console.h * Description : This file provides code for the configuration * of debug console. ****************************************************************************** * @attention * *

© Copyright (c) 2019 STMicroelectronics. * All rights reserved.

* * This software component is licensed by ST under Ultimate Liberty license * SLA0044, the "License"; You may not use this file except in compliance with * the License. You may obtain a copy of the License at: * www.st.com/SLA0044 * ****************************************************************************** */ #ifndef _CONSOLE_H_ #define _CONSOLE_H_ #include #define OP_MODE 0 #define SET_MODE 1 #define DIAG_MODE 2 #define OS_STATUS_MODE 9 #define INVENTORY_MODE 10 #define SF1_MODE 21 #define CHG_CTRL_CFG_MODE 23 #define SBS_MODE 24 #define SYSD_MODE 25 #define CFG_MODE 31 #define PWR_MODE 32 #define GAS_MODE 33 #define CAL_MODE 34 #define CC_MODE 41 #define TEST_MODE 100 #define GUI_MODE -1 #define RX_PRINT 0 #define TX_PRINT 1 extern s8 screenmode; extern u8 position; extern u32 BakOSCtxSwCtr; /* Counter of number of context switches */ extern u32 BakLocalTime; /* this variable is used to create a time reference incremented by 10ms */ void AppTaskDebug(void); u16 debug_recv_data(u8 *data); void ViewScreen(void); void DisplayScreen(u8 p); void Console_Initial(void); void Console(u8 *one); #endif