feat: KT mBMS 펌웨어 3종(HW1/2/3) 및 통합 빌드 환경 초기 커밋 (V4.0.0.1)
This commit is contained in:
63
mBMS_APP_V3117/APP/console.h
Normal file
63
mBMS_APP_V3117/APP/console.h
Normal file
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* File Name : console.h
|
||||
* Description : This file provides code for the configuration
|
||||
* of debug console.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* 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 <stm32f4xx.h>
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user