⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.pre

📁 采用PICC18编写的单片机源代码
💻 PRE
📖 第 1 页 / 共 3 页
字号:
volatile near bit LD5 @ ((unsigned)&LATD*8)+5;
volatile near bit LD6 @ ((unsigned)&LATD*8)+6;
volatile near bit LD7 @ ((unsigned)&LATD*8)+7;

volatile near bit LATD0 @ ((unsigned)&LATD*8)+0;
volatile near bit LATD1 @ ((unsigned)&LATD*8)+1;
volatile near bit LATD2 @ ((unsigned)&LATD*8)+2;
volatile near bit LATD3 @ ((unsigned)&LATD*8)+3;
volatile near bit LATD4 @ ((unsigned)&LATD*8)+4;
volatile near bit LATD5 @ ((unsigned)&LATD*8)+5;
volatile near bit LATD6 @ ((unsigned)&LATD*8)+6;
volatile near bit LATD7 @ ((unsigned)&LATD*8)+7;



volatile near bit LC0 @ ((unsigned)&LATC*8)+0;
volatile near bit LC1 @ ((unsigned)&LATC*8)+1;
volatile near bit LC2 @ ((unsigned)&LATC*8)+2;
volatile near bit LC3 @ ((unsigned)&LATC*8)+3;
volatile near bit LC4 @ ((unsigned)&LATC*8)+4;
volatile near bit LC5 @ ((unsigned)&LATC*8)+5;
volatile near bit LC6 @ ((unsigned)&LATC*8)+6;
volatile near bit LC7 @ ((unsigned)&LATC*8)+7;

volatile near bit LATC0 @ ((unsigned)&LATC*8)+0;
volatile near bit LATC1 @ ((unsigned)&LATC*8)+1;
volatile near bit LATC2 @ ((unsigned)&LATC*8)+2;
volatile near bit LATC3 @ ((unsigned)&LATC*8)+3;
volatile near bit LATC4 @ ((unsigned)&LATC*8)+4;
volatile near bit LATC5 @ ((unsigned)&LATC*8)+5;
volatile near bit LATC6 @ ((unsigned)&LATC*8)+6;
volatile near bit LATC7 @ ((unsigned)&LATC*8)+7;


volatile near bit LB0 @ ((unsigned)&LATB*8)+0;
volatile near bit LB1 @ ((unsigned)&LATB*8)+1;
volatile near bit LB2 @ ((unsigned)&LATB*8)+2;
volatile near bit LB3 @ ((unsigned)&LATB*8)+3;
volatile near bit LB4 @ ((unsigned)&LATB*8)+4;
volatile near bit LB5 @ ((unsigned)&LATB*8)+5;
volatile near bit LB6 @ ((unsigned)&LATB*8)+6;
volatile near bit LB7 @ ((unsigned)&LATB*8)+7;

volatile near bit LATB0 @ ((unsigned)&LATB*8)+0;
volatile near bit LATB1 @ ((unsigned)&LATB*8)+1;
volatile near bit LATB2 @ ((unsigned)&LATB*8)+2;
volatile near bit LATB3 @ ((unsigned)&LATB*8)+3;
volatile near bit LATB4 @ ((unsigned)&LATB*8)+4;
volatile near bit LATB5 @ ((unsigned)&LATB*8)+5;
volatile near bit LATB6 @ ((unsigned)&LATB*8)+6;
volatile near bit LATB7 @ ((unsigned)&LATB*8)+7;


volatile near bit LA0 @ ((unsigned)&LATA*8)+0;
volatile near bit LA1 @ ((unsigned)&LATA*8)+1;
volatile near bit LA2 @ ((unsigned)&LATA*8)+2;
volatile near bit LA3 @ ((unsigned)&LATA*8)+3;
volatile near bit LA4 @ ((unsigned)&LATA*8)+4;
volatile near bit LA5 @ ((unsigned)&LATA*8)+5;
volatile near bit LA6 @ ((unsigned)&LATA*8)+6;

volatile near bit LATA0 @ ((unsigned)&LATA*8)+0;
volatile near bit LATA1 @ ((unsigned)&LATA*8)+1;
volatile near bit LATA2 @ ((unsigned)&LATA*8)+2;
volatile near bit LATA3 @ ((unsigned)&LATA*8)+3;
volatile near bit LATA4 @ ((unsigned)&LATA*8)+4;
volatile near bit LATA5 @ ((unsigned)&LATA*8)+5;
volatile near bit LATA6 @ ((unsigned)&LATA*8)+6;



volatile near bit RE0 @ ((unsigned)&PORTE*8)+0;
volatile near bit RE1 @ ((unsigned)&PORTE*8)+1;
volatile near bit RE2 @ ((unsigned)&PORTE*8)+2;


volatile near bit RD0 @ ((unsigned)&PORTD*8)+0;
volatile near bit RD1 @ ((unsigned)&PORTD*8)+1;
volatile near bit RD2 @ ((unsigned)&PORTD*8)+2;
volatile near bit RD3 @ ((unsigned)&PORTD*8)+3;
volatile near bit RD4 @ ((unsigned)&PORTD*8)+4;
volatile near bit RD5 @ ((unsigned)&PORTD*8)+5;
volatile near bit RD6 @ ((unsigned)&PORTD*8)+6;
volatile near bit RD7 @ ((unsigned)&PORTD*8)+7;



volatile near bit RC0 @ ((unsigned)&PORTC*8)+0;
volatile near bit RC1 @ ((unsigned)&PORTC*8)+1;
volatile near bit RC2 @ ((unsigned)&PORTC*8)+2;
volatile near bit RC3 @ ((unsigned)&PORTC*8)+3;
volatile near bit RC4 @ ((unsigned)&PORTC*8)+4;
volatile near bit RC5 @ ((unsigned)&PORTC*8)+5;
volatile near bit RC6 @ ((unsigned)&PORTC*8)+6;
volatile near bit RC7 @ ((unsigned)&PORTC*8)+7;


volatile near bit RB0 @ ((unsigned)&PORTB*8)+0;
volatile near bit RB1 @ ((unsigned)&PORTB*8)+1;
volatile near bit RB2 @ ((unsigned)&PORTB*8)+2;
volatile near bit RB3 @ ((unsigned)&PORTB*8)+3;
volatile near bit RB4 @ ((unsigned)&PORTB*8)+4;
volatile near bit RB5 @ ((unsigned)&PORTB*8)+5;
volatile near bit RB6 @ ((unsigned)&PORTB*8)+6;
volatile near bit RB7 @ ((unsigned)&PORTB*8)+7;


volatile near bit RA0 @ ((unsigned)&PORTA*8)+0;
volatile near bit RA1 @ ((unsigned)&PORTA*8)+1;
volatile near bit RA2 @ ((unsigned)&PORTA*8)+2;
volatile near bit RA3 @ ((unsigned)&PORTA*8)+3;
volatile near bit RA4 @ ((unsigned)&PORTA*8)+4;
volatile near bit RA5 @ ((unsigned)&PORTA*8)+5;
volatile near bit RA6 @ ((unsigned)&PORTA*8)+6;

# 293 "E:\workall\LAMP2\PICC18\Reconv\pic18.h"
extern unsigned char eeprom_read(unsigned int address);
extern void eeprom_write(unsigned int address,unsigned char data);



extern unsigned char flash_read(unsigned long addr);



extern void flash_write(const unsigned char *,unsigned int,far unsigned char *);


extern void flash_erase(unsigned long addr);

# 323
extern unsigned int config_read(unsigned char reg_no);
extern void config_write(unsigned char reg_no, unsigned int dataword);


extern unsigned int device_id_read(void);


extern unsigned char idloc_read(unsigned char reg_no);
extern void idloc_write(unsigned char reg_no,unsigned char data);


extern void initiate_write(void);

# 353
extern unsigned char checksum8(unsigned long startAddr, unsigned long length);
extern unsigned int checksum16(unsigned long startAddr, unsigned long length);
extern unsigned long checksum32(unsigned long startAddr, unsigned long length);

# 13 "E:\workall\LAMP2\PICC18\Reconv\main.h"
unsigned char dispBuf[5];
unsigned char taskNo;
unsigned char FaceReg;
unsigned char FaceChnNo;
unsigned char FaceEmerNo;
unsigned char Intpart[3],Decm[2];
static bit flag_1Sec;

# 6 "E:\workall\LAMP2\PICC18\Reconv\display.h"
void display_initial(void);
void display(void);


unsigned char TableNum[16]={0xc0,0xf9,0xa4,0xb0,
0x99,0x92,0x82,0XD8,
0x80,0x90,0x88,0x83,
0xc6,0xa1,0x86,0x8e};

unsigned char TableNumPt[10]={0x40,0x79,0x24,0x30,
0x19,0x12,0x02,0x78,
0x00,0x18};

unsigned char TableLetter[10]={0x88,0x83,0xc6,0xa1,
0x86,0x8e,0xab,0xaf,
0xce,0xc1};
static unsigned char dispCtr;

# 6 "E:\workall\LAMP2\PICC18\Reconv\key.h"
void readkey_initial(void);
unsigned char readkey0(void);
unsigned char readkey1(void);
unsigned char readkey2(void);
unsigned char readkey3(void);

# 10 "E:\workall\LAMP2\PICC18\Reconv\delay1ms.h"
void delay(unsigned int TimeMs);

# 13 "E:\workall\LAMP2\PICC18\Reconv\ADConvt.h"
const unsigned char TableADCON0[4]={0x81,0x85,0x91,0x95};

struct strucAD
{
unsigned int ADBuf[4];
unsigned int ADResult[4];
unsigned int ADMin[4];
unsigned char isStartADSap[4];
unsigned char ADNum;
} ADChnRe;

void AD_initial(void);
unsigned int ADConvt(unsigned char ADChn);
void MainAdConv(void);

# 10 "E:\workall\LAMP2\PICC18\Reconv\Ctrl14013.h"
void Ctrl14013_Initial(void);
void Ctrl14013_Reset(unsigned char ChnNo_14013);
bit Ctrl14013_ReadQ(unsigned char ChnNo_14013);

# 10 "E:\workall\LAMP2\PICC18\Reconv\TIMER2.h"
void Timer2_Initial(void);
unsigned char isTo1Sec(void);
void Timer2ON(void);
void Timer2OFF(void);

# 8 "E:\workall\LAMP2\PICC18\Reconv\EmerTime.h"
struct Time
{
unsigned char second;
unsigned int minute;
unsigned char FlagEndEmerTime;
};
struct Time EmerTime[4];
void EmerTime_Initial(void);
void resetEmerTime(unsigned char ChnNo);
void EmerTimeInc1s(unsigned char ChnNo);
void setFlagEndEmerTime(unsigned char ChnNo);
void clrFlagEndEmerTime(unsigned char ChnNo);
unsigned char getFlagEndEmerTime(unsigned char ChnNo);
unsigned int getEmerTime(unsigned char ChnNo);

# 11 "E:\workall\LAMP2\PICC18\Reconv\CtrlCharge.h"
const unsigned char TableFlagStTest[4]={0x04,0x04+1,0x04+2,0x04+3};

const unsigned char TableAddrE2CtrlCharge[4][4]={{0x04+4,0x04+4+1,0x04+4+2,0x04+4+3},
{0x04+4+4,0x04+4+5,0x04+4+6,0x04+4+7},
{0x04+4+8,0x04+4+9,0x04+4+10,0x04+4+11},
{0x04+4+12,0x04+4+13,0x04+4+14,0x04+4+15}};


static unsigned char ChargeHour;
static unsigned char DischargeHour;
struct strCtrlCharge
{
unsigned char second;
unsigned char minute;
unsigned char hour;
unsigned char FlagIsStTest;
unsigned char FlagIsCharge;
unsigned char ChargeNum;
unsigned char disChargeNum;
};
struct strCtrlCharge CtrlCharge[4];
void CtrlCharge_Initial(void);
void MainCtrlCharge(void);
void resetChargePara(unsigned char ChargeChnNo);
void startCtrlCharge(unsigned char ChargeChnNo);

# 15 "E:\workall\LAMP2\PICC18\Reconv\ChanEmerTime.h"
const unsigned int TableAddrE2EachEmerTime[4][21]={{0x04+4+16,0x04+4+16+1,0x04+4+16+2,
0x04+4+16+3,0x04+4+16+4,0x04+4+16+5,
0x04+4+16+6,0x04+4+16+7,0x04+4+16+8,
0x04+4+16+9,0x04+4+16+10,0x04+4+16+11,
0x04+4+16+12,0x04+4+16+13,0x04+4+16+14,
0x04+4+16+15,0x04+4+16+16,0x04+4+16+17,
0x04+4+16+18,0x04+4+16+19,0x04+4+16+20},
{0x04+4+16+21,0x04+4+16+22,0x04+4+16+23,
0x04+4+16+24,0x04+4+16+25,0x04+4+16+26,
0x04+4+16+27,0x04+4+16+28,0x04+4+16+29,
0x04+4+16+30,0x04+4+16+31,0x04+4+16+32,
0x04+4+16+33,0x04+4+16+34,0x04+4+16+35,
0x04+4+16+36,0x04+4+16+37,0x04+4+16+38,
0x04+4+16+39,0x04+4+16+40,0x04+4+16+41},
{0x04+4+16+42,0x04+4+16+43,0x04+4+16+44,
0x04+4+16+45,0x04+4+16+46,0x04+4+16+47,
0x04+4+16+48,0x04+4+16+49,0x04+4+16+50,
0x04+4+16+51,0x04+4+16+52,0x04+4+16+53,
0x04+4+16+54,0x04+4+16+55,0x04+4+16+56,
0x04+4+16+57,0x04+4+16+58,0x04+4+16+59,
0x04+4+16+60,0x04+4+16+61,0x04+4+16+62},
{0x04+4+16+63,0x04+4+16+64,0x04+4+16+65,
0x04+4+16+66,0x04+4+16+67,0x04+4+16+68,
0x04+4+16+69,0x04+4+16+70,0x04+4+16+71,
0x04+4+16+72,0x04+4+16+73,0x04+4+16+74,
0x04+4+16+75,0x04+4+16+76,0x04+4+16+77,
0x04+4+16+78,0x04+4+16+79,0x04+4+16+80,
0x04+4+16+81,0x04+4+16+82,0x04+4+16+83}};
struct strChanEmerTime
{
unsigned char EmerTimeNum;
unsigned int EachEmerTime[10];
};
struct strChanEmerTime ChanEmerTime[4];
void ChanEmerTime_Initial(void);
void SaveChanEmerTime(unsigned char ChanNo,unsigned char EmerTimeNo,unsigned int EmerTime);

# 17 "E:\workall\LAMP2\PICC18\Reconv\calVol.h"
const unsigned int TableAddrE2EachEmerVolt[4][20]={{0x04+4+16+84+1+1,0x04+4+16+84+1+1+1,0x04+4+16+84+1+1+2,
0x04+4+16+84+1+1+3,0x04+4+16+84+1+1+4,0x04+4+16+84+1+1+5,
0x04+4+16+84+1+1+6,0x04+4+16+84+1+1+7,0x04+4+16+84+1+1+8,
0x04+4+16+84+1+1+9,0x04+4+16+84+1+1+10,0x04+4+16+84+1+1+11,
0x04+4+16+84+1+1+12,0x04+4+16+84+1+1+13,0x04+4+16+84+1+1+14,
0x04+4+16+84+1+1+15,0x04+4+16+84+1+1+16,0x04+4+16+84+1+1+17,
0x04+4+16+84+1+1+18,0x04+4+16+84+1+1+19},
{0x04+4+16+84+1+1+20,0x04+4+16+84+1+1+21,0x04+4+16+84+1+1+22,
0x04+4+16+84+1+1+23,0x04+4+16+84+1+1+24,0x04+4+16+84+1+1+25,
0x04+4+16+84+1+1+26,0x04+4+16+84+1+1+27,0x04+4+16+84+1+1+28,
0x04+4+16+84+1+1+29,0x04+4+16+84+1+1+30,0x04+4+16+84+1+1+31,
0x04+4+16+84+1+1+32,0x04+4+16+84+1+1+33,0x04+4+16+84+1+1+34,
0x04+4+16+84+1+1+35,0x04+4+16+84+1+1+36,0x04+4+16+84+1+1+37,
0x04+4+16+84+1+1+38,0x04+4+16+84+1+1+39},
{0x04+4+16+84+1+1+40,0x04+4+16+84+1+1+41,0x04+4+16+84+1+1+42,
0x04+4+16+84+1+1+43,0x04+4+16+84+1+1+44,0x04+4+16+84+1+1+45,
0x04+4+16+84+1+1+46,0x04+4+16+84+1+1+47,0x04+4+16+84+1+1+48,
0x04+4+16+84+1+1+49,0x04+4+16+84+1+1+50,0x04+4+16+84+1+1+51,
0x04+4+16+84+1+1+52,0x04+4+16+84+1+1+53,0x04+4+16+84+1+1+54,
0x04+4+16+84+1+1+55,0x04+4+16+84+1+1+56,0x04+4+16+84+1+1+57,
0x04+4+16+84+1+1+58,0x04+4+16+84+1+1+59},
{0x04+4+16+84+1+1+60,0x04+4+16+84+1+1+61,0x04+4+16+84+1+1+62,
0x04+4+16+84+1+1+63,0x04+4+16+84+1+1+64,0x04+4+16+84+1+1+65,
0x04+4+16+84+1+1+66,0x04+4+16+84+1+1+67,0x04+4+16+84+1+1+68,
0x04+4+16+84+1+1+69,0x04+4+16+84+1+1+70,0x04+4+16+84+1+1+71,
0x04+4+16+84+1+1+72,0x04+4+16+84+1+1+73,0x04+4+16+84+1+1+74,
0x04+4+16+84+1+1+75,0x04+4+16+84+1+1+76,0x04+4+16+84+1+1+77,
0x04+4+16+84+1+1+78,0x04+4+16+84+1+1+79}};
unsigned int baseVolt;
unsigned char Amp;
unsigned int EmerVolt[4][10];
void SaveEmerVolt(unsigned char chnNo,unsigned char EmerNo,unsigned int SapDigitial);
void CalVolt_initial(void);
void ChangeAmp(void);
void ChangeBaseVolt(unsigned char digit);

# 40 "E:\workall\LAMP2\PICC18\Reconv\serialPort.h"
unsigned char selfAddr;
unsigned char recBuf[3];
unsigned char sendBuf[4][21];
unsigned char NumRecData;
unsigned char flagRecEnd;
void serialPort_Initial(void);
void DoInstru(void);
void SetSelfAddr(unsigned char setMode);
void ChkRecEnd(void);

# 17 "E:\workall\LAMP2\PICC18\Reconv\main.c"
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0xEF" "," "0x01" "," "0x18" "," "0x04" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x01" "," "0x01" "," "0x00" "," "0x00");


asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");
asm("\tpsect eeprom_data,class=EEDATA"); asm("\tdb\t" "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00" "," "0x00");

# 52
void Interpt_Initial(void)
{
GIEH=0;
GIEL=0;
TMR2IF=0;
RCIF=0;
TMR2IP=1;
RCIP=0;
IPEN=1;
TMR2IE=1;
RCIE=1;
GIEH=1;
GIEL=1;
}

# 71
void interrupt HI_ISR(void)
{
if(TMR2IF==1)
{
TMR2IF=0;
if(isTo1Sec())
{
flag_1Sec=1;
}
}
}

# 87
void interrupt low_priority LOW_ISR(void)
{
if(RCIF==1)
{
recBuf[NumRecData]=RCREG;
NumRecData++;
ChkRecEnd();
}
}

# 102
void main_initial(void)
{
taskNo=0;
FaceReg=0;
FaceChnNo=0;
FaceEmerNo=0;
AD_initial();
display_initial();
readkey_initial();
Ctrl14013_Initial();
Timer2_Initial();
Interpt_Initial();
EmerTime_Initial();
CtrlCharge_Initial();
ChanEmerTime_Initial();
CalVolt_initial();
serialPort_Initial();
}

# 125
void dispInsLed(void)
{
if(FaceChnNo==0)
{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -