LWL/MDK-ARM/user/inc/SH367309.h~RF13b77049.TMP

1353 lines
51 KiB
Plaintext
Raw Normal View History

2024-07-10 06:01:39 +00:00
#ifndef SH367309_H
#define SH367309_H
#include "stm32f10x.h"
/*
<><D7A2><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>ַ<EFBFBD><D6B7>Χ <20><><EFBFBD><EFBFBD><EFBFBD>ִ洢<D6B4><E6B4A2><EFBFBD><EFBFBD> 1<><31>EEPROM <20>Ĵ<EFBFBD><C4B4><EFBFBD> <20><>0x00-0x19<31><39>
2: ARM <20>Ĵ<EFBFBD><C4B4><EFBFBD> <20><>0x40-0x72<37><32>
*/
/*
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3>
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><D0BE>ѹ<EFBFBD><D1B9><EFBFBD>ڹ<EFBFBD><DAB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹVov
*״̬1<CCAC><31><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E4B1A3><EFBFBD><EFBFBD>ʱTov
*309
*<2A>رճ<D8B1><D5B3><EFBFBD>MOS<4F><53>
*BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD>OV״̬λ<CCAC><CEBB><EFBFBD><EFBFBD>1
*BFLAG1<47>Ĵ<EFBFBD><C4B4><EFBFBD>Ov_FLG<4C><47>־λ<D6BE><CEBB>1
*<2A><>Ƭ<EFBFBD><C6AC>
*<2A>رճ<D8B1><D5B3><EFBFBD>MOS<4F><53>
*ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD>һ<EFBFBD><D2BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ,309<30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><E5B1A3>״̬
*<2A><><EFBFBD>е<EFBFBD>о<EFBFBD><D0BE>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD><DAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ѹVovR
*״̬1<CCAC><31><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E5B1A3><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ʱTovr
*309
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOS<4F><53>
*BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD>OV״̬λ<CCAC><CEBB>0
*<2A><>Ƭ<EFBFBD><C6AC>
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOS<4F><53>
*/
///////////////////////////////////////////////////////////
/*
*<2A><><EFBFBD>ŵ籣<C5B5><E7B1A3>
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><D0BE>ѹ<EFBFBD><D1B9><EFBFBD>ڹ<EFBFBD><DAB9>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ѹVuv
*״̬1<CCAC><31><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱTuv
*309
*<2A>رշŵ<D5B7>MOS<4F><53>
*BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD>Uv״̬λ<CCAC><CEBB>1
*BFLAG1<47>Ĵ<EFBFBD><C4B4><EFBFBD>Uv_FLG<4C><47>־λ<D6BE><CEBB>1
*<2A><>Ƭ<EFBFBD><C6AC>
*<2A>رշŵ<D5B7>MOS<4F><53>
*EUVR=0<><30>ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>309<30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD>ŵ籣<C5B5><E7B1A3>״̬
*<2A><><EFBFBD>е<EFBFBD>о<EFBFBD><D0BE>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD><DAB9>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD>ѹVuvr
*״̬1<CCAC><31><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ʱTuvr
*EUVR=1, ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>309<30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD>ŵ籣<C5B5><E7B1A3>״̬
*<2A><><EFBFBD>е<EFBFBD>о<EFBFBD><D0BE>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD><DAB9>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD>ѹVuvr
*״̬1<CCAC><31><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ʱTuvr
*<2A><><EFBFBD>ضϿ<D8B6>(DSGE<47>̵ܽ<DCBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>Vdsgd)
*309
*<2A><><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>MOS<4F><53>
*BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>Uv״̬λ<CCAC><CEBB>0
*309<30><39><EFBFBD><EFBFBD>ͨ<EFBFBD><CDA8>UV_OPλ<50><CEBB><EFBFBD>ù<EFBFBD><C3B9>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7>رճ<D8B1><D5B3><EFBFBD>MOS<4F><53>
*UV_OP=1,<2C><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>,<2C>رճ<D8B1><D5B3>ŵ<EFBFBD>MOS<4F><53>,<2C><>ʱ<EFBFBD><CAB1><EFBFBD>ӳ<EFBFBD><D3B3><EFBFBD><EFBFBD><EFBFBD>(CHGD<47>ܽŵ<DCBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>Vchgd1),<2C><>ʱ100ms<6D><73><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOS<4F><53>
*UV_OP=0,<2C><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>,<2C>رշŵ<D5B7>MOS<4F><53>
*/
/////////////////////////////////////////////////////////////////
/*
*<2A>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD>
*RS2-RS1<53>ĵ<EFBFBD>ѹֵ<D1B9><D6B5><EFBFBD><EFBFBD>Vocd1
*״̬1<CCAC><31><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱTocd1
*309
*<2A>رշŵ<D5B7>MOS<4F><53>
*BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD>OCD1״̬λ<CCAC><CEBB>1
*BFLAG1<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OCD_FLG<4C><47>־λ<D6BE><CEBB>1
*<2A><>Ƭ<EFBFBD><C6AC>
*<2A>رշŵ<D5B7>MOS<4F><53>
*ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1> SH367309<30>˳<EFBFBD><CBB3>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD>״̬<D7B4><CCAC>
*(1) <20><><EFBFBD>ضϿ<D8B6> (DSGD<47>ܽŵ<DCBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>VDSGD)
*(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱtD1
*/
////////////////////////////////////////////////////////////////////
/*
*<2A><>·<EFBFBD><C2B7><EFBFBD><EFBFBD>
*ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>״̬<D7B4><CCAC>
*(1) RS2-RS1<53>ĵ<EFBFBD>ѹֵ<D1B9><D6B5><EFBFBD><EFBFBD>VDOC3
*(2)״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>3<EFBFBD><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱtDOC3
*SH367309<30><39><EFBFBD>ڶ<EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>״̬ʱ<CCAC><CAB1>ִ<EFBFBD><D6B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*(1) <20>رշŵ<D5B7>MOSFET
*(2) BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>SC״̬λ<CCAC><CEBB>1
*(3) BFLAG1<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>SC_FLG<4C><47>־λ<D6BE><CEBB>1
*<2A><>Ƭ<EFBFBD><C6AC>
*<2A>ر<EFBFBD>MOS<4F><53>
*ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1> SH367309<30>˳<EFBFBD><CBB3><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>״̬<D7B4><CCAC>
*(1) <20><><EFBFBD>ضϿ<D8B6> (DSGD<47>ܽŵ<DCBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>VDSGD)
*(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱtD1
*/
////////////////////////////////////////////////////////////////////
/*
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>
(1) RS2-RS1<53>ĵ<EFBFBD>ѹֵС<D6B5><D0A1>VCOC
(2)״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱtCOC
SH367309<EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20>رճ<D8B1><D5B3><EFBFBD>MOSFET
(2) BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OCC״̬λ<CCAC><CEBB>1
(3) BFLAG1<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OCC_FLG<4C><47>־λ<D6BE><CEBB>1
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> (CHGD<47>ܽŵ<DCBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>VCHGD2)
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD>ʱtD2
*/
////////////////////////////////////////////////////////////////////
/*
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȸ<C2B6><C8B8>ڳ<EFBFBD><DAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>TOTC
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20>رճ<D8B1><D5B3><EFBFBD>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OTC״̬λ<CCAC><CEBB>1
(3) BFLAG2<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OTC_FLG<4C><47>־λ<D6BE><CEBB>1
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȵ<C2B6><C8B5>ڳ<EFBFBD><DAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>»ָ<C2BB><D6B8><EFBFBD>TOTCR
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OTC״̬λ<CCAC><CEBB>0
*/
/////////////////////////////////////////////////////////////////////
/*
*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȵ<C2B6><C8B5>ڳ<EFBFBD><DAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>TUTC
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20>رճ<D8B1><D5B3><EFBFBD>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>UTC״̬λ<CCAC><CEBB>1
(3) BFLAG2<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>UTC_FLG<4C><47>־λ<D6BE><CEBB>1
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȸ<C2B6><C8B8>ڳ<EFBFBD><DAB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>»ָ<C2BB><D6B8><EFBFBD>TUTCR
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>UTC״̬λ<CCAC><CEBB>0
*/
/////////////////////////////////////////////////////////////////////
/*
*<2A>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȸ<C2B6><C8B8>ڷŵ<DAB7><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>TOTD
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD><EFBFBD><EFBFBD>ڷŵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20>رշŵ<D5B7>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OTD״̬λ<CCAC><CEBB>1
(3) BFLAG2<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OTD_FLG<4C><47>־λ<D6BE><CEBB>1
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30>˳<EFBFBD><CBB3>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȵ<C2B6><C8B5>ڷŵ<DAB7><C5B5><EFBFBD><EFBFBD>»ָ<C2BB><D6B8><EFBFBD>TOTDR
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD>˳<EFBFBD><EFBFBD>ŵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>OTD״̬λ<CCAC><CEBB>0
*/
/////////////////////////////////////////////////////////////////
/*
*<2A>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
*ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȵ<C2B6><C8B5>ڷŵ<DAB7><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>TUTD
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD><EFBFBD><EFBFBD>ڷŵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20>رշŵ<D5B7>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>UTD״̬λ<CCAC><CEBB>1
(3) BFLAG2<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>UTD_FLG<4C><47>־λ<D6BE><CEBB>1
ͬʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30>˳<EFBFBD><CBB3>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>¶ȵ<C2B6><C8B5>¶ȸ<C2B6><C8B8>ڷŵ<DAB7><C5B5><EFBFBD><EFBFBD>»ָ<C2BB><D6B8><EFBFBD>TUTDR
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ʱtT
SH367309<EFBFBD>˳<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ籣<EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD>ִ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20><><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>MOSFET
(2) BSTATUS2<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>UTD״̬λ<CCAC><CEBB>0
*/
///////////////////////////////////////////////////////////////////////
/*
*<2A>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ʽ
(1) <20><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ù<EFBFBD>ʽΪ<CABD><CEAA>
<EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD>OTC<EFBFBD><EFBFBD> OTC<54><43> OTD<54><44> OTDR<44><52> = RT1 / (RREF + RT1) * 512;
(2) <20><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD>ù<EFBFBD>ʽΪ<CABD><CEAA>
<EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD>UTC<EFBFBD><EFBFBD> UTC<54><43> UTD<54><44> UTDR<44><52> = (RT1 / (RREF + RT1) - 0.5) * 512;
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>RT1Ϊ<EFBFBD>¶ȱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ(<28><>λΪk<CEAA><6B>)<29><> RREFΪ<46>ڲ<EFBFBD><DAB2>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ(<28><>λΪk<CEAA><6B>)<29><>
<EFBFBD>ڲ<EFBFBD><EFBFBD>ο<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RREF<EFBFBD><EFBFBD><EFBFBD>ʽΪ<EFBFBD><EFBFBD>RREF = 6.8+0.05*TR[6:0]
*/
////////////////////////////////////////////////////////////////////////
/*
*<2A><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><E4B1A3>
*EEPROM<4F>Ĵ<EFBFBD><C4B4><EFBFBD>SCONF2<46><32>DIS_PF=0<><30> ͬʱ<CDAC><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>״̬<D7B4><CCAC>
(1) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><D0BE>ѹ<EFBFBD><D1B9><EFBFBD>ڶ<EFBFBD><DAB6>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹVP2N
(2) ״̬(1)<29><><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><E4B3AC><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱtP2N
SH367309<EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><EFBFBD>ι<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ʱ<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Powerdown״̬<D7B4><CCAC>SLEEP״̬<D7B4><CCAC> ִ<><D6B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
(1) <20>رճ<D8B1><D5B3>ŵ<EFBFBD>MOSFET
(2) <20>ر<EFBFBD>VADC<44><43>CADCģ<43><C4A3>(VADC<44><43>CADC<44><43><EFBFBD>ؼĴ<D8BC><C4B4><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>֮ǰ<D6AE><C7B0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
(3) PF<50>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD>VSS<53><53>ƽ
(4) BSTATUS1<53>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>PF״̬λ<CCAC><CEBB>1
(5) BFLAG1<47>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>PF_FLG<4C><47>־λ<D6BE><CEBB>1
(6) ALARM<52>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>(<28>ɼ<EFBFBD>ģʽ)
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD> SH367309<30>˳<EFBFBD><CBB3><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>״̬<D7B4><CCAC>
(1) ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD>
(2) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
(3) <20><><EFBFBD><EFBFBD>SHIPģʽ<C4A3><CABD><EFBFBD><EFBFBD><EFBFBD>˳<EFBFBD>SHIPģʽ
*/
/*
<EFBFBD><EFBFBD>ʽע<EFBFBD><EFBFBD>:
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>VADCת<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>о<EFBFBD><EFBFBD>ѹֵ<EFBFBD><EFBFBD><EFBFBD>¶ȼ<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD>Լ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD>
(1) <20><>о<EFBFBD><D0BE>ѹ<EFBFBD><D1B9><EFBFBD>ʽ<E3B9AB><CABD><EFBFBD><EFBFBD>CELL1Ϊ<31><CEAA>(<28><>λ<EFBFBD><CEBB> mV<6D><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CELL1ΪCELL1<4C>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ)
Vcell = CEll1 / 6.4;
(2) <20>¶ȼ<C2B6><C8BC>ʽ<E3B9AB><CABD><EFBFBD><EFBFBD>TEMP1Ϊ<31><CEAA>(<28><>λ<EFBFBD><CEBB> k<><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RT1Ϊ<31>ⲿ<EFBFBD><E2B2BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5> RREFΪ<46>ڲ<EFBFBD><DAB2>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5> TEMP1ΪTEMP1
<EFBFBD>Ĵ<EFBFBD><EFBFBD><EFBFBD>ֵ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ⲿ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵRT1<EFBFBD><EFBFBD><EFBFBD><EFBFBD>֮<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD><EFBFBD>ϵ<EFBFBD><EFBFBD>ȡ<EFBFBD><EFBFBD>ʵ<EFBFBD><EFBFBD>ֵ)<29><>
RT1 = TEMP1 / (32768 - TEMP1) * RREF
<EFBFBD>ڲ<EFBFBD><EFBFBD>ο<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>RREF<EFBFBD><EFBFBD><EFBFBD>ʽΪ(<28><>λ<EFBFBD><CEBB> k<><6B><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>TR[6:0]<5D>ǼĴ<C7BC><C4B4><EFBFBD>TR<54>ĵ<EFBFBD>7bit)
RREF = 6.8+0.05*TR[6:0];
3) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʽ(<28><>λ<EFBFBD><CEBB> mA,<2C><><EFBFBD><EFBFBD>CURΪCUR<55>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5> RSENSEΪSense<73><65><EFBFBD><EFBFBD>(<28><>λΪ<CEBB><CEAA>))<29><>
Curr = 200 * CUR /(26837 * RSENSE)
<09><><EFBFBD><EFBFBD>CADCת<43><D7AA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֵ(<28><>λ<EFBFBD><CEBB> mA<6D><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CADCDΪCADCD<43>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5> RSENSEΪSense<73><65><EFBFBD><EFBFBD><E8A3AC>λΪ<CEBB><CEAA>)<29><>
Curr = 200 * ADC2D /(21470 * RSENSE) 1mV 1mR 1A
*/
/********************************************<2A><EFBFBD><EAB6A8>****************************************************/
/*SH367309 EEPROM<4F>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
#define EEPROM_SCONF1 0x00 //ϵͳ<CFB5><CDB3><EFBFBD>üĴ<C3BC><C4B4><EFBFBD>1 RW
#define EEPROM_SCONF2 0x01 //ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>EEPROM<4F>Ĵ<EFBFBD><C4B4><EFBFBD>2 RW
#define EEPROM_OVH_OVL 0x02 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD> RW
#define EEPROM_OVRH_OVRL 0x04 //<2F><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD> RW
#define EEPROM_UV 0x06 //<2F><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> RW
#define EEPROM_UVR 0x07 //<2F><><EFBFBD>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> RW
#define EEPROM_BALV 0x08 //ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPrOM_PREV 0x09 //Ԥ<><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_LOV 0x0a //<2F>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_PFV 0x0b //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_OCD1V_OCD1T 0x0c //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_OCD2V_OCD2T 0x0d //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_SCV_SCT 0x0e //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_OCCV_OCCT 0x0f //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_MOST 0x10 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD>/<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_OTC 0x11 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_OTCR 0x12 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_UTC 0x13 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_UTCR 0x14 //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_OTD 0x15 //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_OTDR 0x16 //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_UTD 0x17 //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_UTDR 0x18 //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define EEPROM_TR 0x19 //<2F><EFBFBD><C2B6>ڲ<EFBFBD><DAB2>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD> R
/*SH367309 ARM<52>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD>ַ*/
#define MTP_CONF 0x40 //ϵͳ<CFB5><CDB3><EFBFBD>üĴ<C3BC><C4B4><EFBFBD> RW
#define MTP_BALANCEH 0x41 //ƽ<><C6BD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD> 16_9 RW
#define MTP_BALANCEL 0x42 //ƽ<><C6BD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD> 8_1 RW
#define MTP_BSTATUS1 0x43 //ϵͳ״̬<D7B4>Ĵ<EFBFBD><C4B4><EFBFBD> 1 R
#define MTP_BSTATUS2 0x44 //ϵͳ״̬<D7B4>Ĵ<EFBFBD><C4B4><EFBFBD> 2 R
#define MTP_BSTATUS3 0x45 //ϵͳ״̬<D7B4>Ĵ<EFBFBD><C4B4><EFBFBD> 3 R
#define MTP_TEMP1 0x46 //T1<54>¶ȼĴ<C8BC><C4B4><EFBFBD> R
#define MTP_TEMP2 0x48 //T2<54><EFBFBD> R
#define MTP_TEMP3 0x4A //T3<54><EFBFBD> R
#define MTP_CUR 0x4C //<2F><><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD> R
#define MTP_CELL1 0x4E //<2F><>о<EFBFBD><D0BE>ѹ1 R
#define MTP_CELL2 0x50 //<2F><>о<EFBFBD><D0BE>ѹ2 R
#define MTP_CELL3 0x52 //<2F><>о<EFBFBD><D0BE>ѹ3 R
#define MTP_CELL4 0x54 //<2F><>о<EFBFBD><D0BE>ѹ4 R
#define MTP_CELL5 0x56 //<2F><>о<EFBFBD><D0BE>ѹ5 R
#define MTP_CELL6 0x58 //<2F><>о<EFBFBD><D0BE>ѹ6 R
#define MTP_CELL7 0x5A //<2F><>о<EFBFBD><D0BE>ѹ7 R
#define MTP_CELL8 0x5C //<2F><>о<EFBFBD><D0BE>ѹ8 R
#define MTP_CELL9 0x5E //<2F><>о<EFBFBD><D0BE>ѹ9 R
#define MTP_CELL10 0x60 //<2F><>о<EFBFBD><D0BE>ѹ10 R
#define MTP_CELL11 0x62 //<2F><>о<EFBFBD><D0BE>ѹ11 R
#define MTP_CELL12 0x64 //<2F><>о<EFBFBD><D0BE>ѹ12 R
#define MTP_CELL13 0x66 //<2F><>о<EFBFBD><D0BE>ѹ13 R
#define MTP_CELL14 0x68 //<2F><>о<EFBFBD><D0BE>ѹ14 R
#define MTP_CELL15 0x6A //<2F><>о<EFBFBD><D0BE>ѹ15 R
#define MTP_CELL16 0x6C //<2F><>о<EFBFBD><D0BE>ѹ16 R
#define MTP_ADC2 0x6E //CADC<44><43><EFBFBD><EFBFBD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>
#define MTP_BFLAG1 0x70 //ϵͳ<CFB5><CDB3>־<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD> 1 R
#define MTP_BFLAG2 0x71 //ϵͳ<CFB5><CDB3>־<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD> 2 R
#define MTP_RSTSTAT 0x72 //<2F><><EFBFBD>Ź<EFBFBD><C5B9>Ĵ<EFBFBD><C4B4><EFBFBD>
/*<2A><><EFBFBD><EFBFBD>*/
typedef struct
{
/*EEPROM<4F>Ĵ<EFBFBD><C4B4><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>*/
struct
{
union
{
u8 datas;
struct
{
u8 cn3_cn0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>λ
/*
CN[3:0] = 0101<30><31> 5<><35><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 0110<31><30> 6<><36><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 0111<31><31> 7<><37><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1000<30><30> 8<><38><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1001<30><31> 9<><39><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1010<31><30> 10<31><30><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1011<31><31> 11<31><31><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1100<30><30> 12<31><32><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1101<30><31> 13<31><33><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1110<31><30> 14<31><34><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1111<31><31> 15<31><35><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = qita 16<31><36><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
*/
u8 BAL :1; //ƽ<><EFBFBD><E2B9A6>ģ<EFBFBD><C4A3>ʹ<EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>λ 0<><30> ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD>SH367309<30>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD> 1<><31> ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD><EFBFBD>ⲿMCU<43><55><EFBFBD>ƣ<EFBFBD>ƽ<EFBFBD><C6BD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SH367309<30>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
u8 OCPM :1; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD>رճ<D8B1><D5B3><EFBFBD>MOSFET<45><54><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD>رշŵ<D5B7>MOSFET 1<><31><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>رճ<D8B1><D5B3>ŵ<EFBFBD>MOSFET
u8 ENMOS :1; //<2F><><EFBFBD><EFBFBD>MOSFET<45>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD>ó<EFBFBD><C3B3><EFBFBD>MOSFET<45>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>λ 1<><31><EFBFBD><EFBFBD><EFBFBD>ó<EFBFBD><C3B3><EFBFBD>MOSFET<45>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD>رճ<D8B1><D5B3><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD>߷ŵ<DFB7>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET<45><54>
u8 ENPCH :1; //Ԥ<><D4A4><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><E7B9A6> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><E7B9A6>
}bits;
}Sconf1; //ϵͳ<CFB5><CDB3><EFBFBD>üĴ<C3BC><C4B4><EFBFBD>1
////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 EUVR :1; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3>״̬<D7B4>ͷ<EFBFBD><CDB7><EFBFBD><EBB8BA><EFBFBD>ͷ<EFBFBD><CDB7>޹<EFBFBD> 1<><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3>״̬<D7B4>ͷŻ<CDB7><C5BB><EFBFBD><E8B8BA><EFBFBD>ͷ<EFBFBD>
u8 OCRA :1; //<2F><><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>ָ<EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>ָ<EFBFBD>
u8 CTLC1_0 :2; //CTL<54>ܽŹ<DCBD><C5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
CTLC[1:0]=00<30><30><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD>ƣ<EFBFBD> CTL<54>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч
CTLC[1:0]=01<30><31> <20><><EFBFBD>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VL-CTL<54><4C>ƽʱǿ<CAB1>ƹرճ<D8B1><D5B3><EFBFBD><EFBFBD><EFBFBD>
Ԥ<><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VH-CTL<54><4C>ƽʱ<C6BD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>
<09><><EFBFBD>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
CTLC[1:0]=10<31><30> <20><><EFBFBD>Ʒŵ<C6B7>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VL-CTL<54><4C>ƽʱǿ<CAB1>ƹرշŵ<D5B7>MOSFET<45><54>
CTL<54><4C><EFBFBD><EFBFBD>VH-CTL<54><4C>ƽʱ<C6BD><CAB1><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
CTLC[1:0]=11<31><31> <20><><EFBFBD>Ƴ<EFBFBD><C6B3>ŵ<EFBFBD><C5B5><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VL-CTL<54><4C>ƽʱǿ<CAB1>ƹرճ<D8B1><D5B3><EFBFBD>
<09><><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VH-CTL<54><4C>ƽʱ<C6BD><CAB1><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>
MOSFET<45>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
*/
u8 DIS_PF :1; //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>ʹ<EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD><C3B6>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3> 1<><31><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>
u8 UV_OP :1; //<2F><><EFBFBD>ŵ<EFBFBD>ʱMOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30> <20><><EFBFBD>ŵ<EFBFBD>ֻ<EFBFBD>رշŵ<D5B7>MOSFET 1<><31> <20><><EFBFBD>ŵ<EFBFBD><C5B5>رճ<D8B1><D5B3>ŵ<EFBFBD>MOSFET
u8 Res :1; //<2F><><EFBFBD><EFBFBD>
u8 E0VB :1; //<2F><>ֹ<EFBFBD><D6B9>ѹ<EFBFBD><D1B9>о<EFBFBD><D0BE><EFBFBD><EFBFBD><E7B9A6><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30><EFBFBD>رա<D8B1><D5A1><EFBFBD>ֹ<EFBFBD><D6B9>ѹ<EFBFBD><D1B9>о<EFBFBD><D0BE><EFBFBD><EFBFBD><E7A1B1><EFBFBD><EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9>ѹ<EFBFBD><D1B9>о<EFBFBD><D0BE><EFBFBD><EFBFBD><E7A1B1><EFBFBD><EFBFBD>
}bits;
}Sconf2; //ϵͳ<CFB5><CDB3><EFBFBD>üĴ<C3BC><C4B4><EFBFBD>2
////////////////////////////////////////////////////////
union
{
u16 datas;
struct
{
u16 OV9_0 :10; //<2F><><EFBFBD><EFBFBD><E4B1A3><EFBFBD><EFBFBD>ѹ <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>5mV
u16 LDRT1_0 :2; //<2F><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
LDRT[1:0] = 00: <20><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ = 100mS
LDRT[1:0] = 01: <20><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ = 500mS
LDRT[1:0] = 10: <20><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ = 1000mS
LDRT[1:0] = 11: <20><>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>?= 2000mS
*/
u16 OVT3_0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
OVT[3:0] = 0000<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 100mS
OVT[3:0] = 0001<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 200mS
OVT[3:0] = 0010<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 300mS
OVT[3:0] = 0011<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 400mS
OVT[3:0] = 0100<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 600mS
OVT[3:0] = 0101<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 800mS
OVT[3:0] = 0110<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 1S
OVT[3:0] = 0111<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 2S
OVT[3:0] = 1000<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 3S
OVT[3:0] = 1001<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 4S
OVT[3:0] = 1010<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 6S
OVT[3:0] = 1011<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 8S
OVT[3:0] = 1100<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 10S
OVT[3:0] = 1101<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 20S
OVT[3:0] = 1110<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 30S
OVT[3:0] = 1111<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 40S
*/
}bits;
}Ovh_ovl; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹ/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ/<2F><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>üĴ<C3BC><C4B4><EFBFBD>
//////////////////////////////////////////////////////////////////////
union
{
u16 datas;
struct
{
u16 OVR9_0 :10; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>5mV
u16 Res :2; //<2F><><EFBFBD><EFBFBD>
u16 UVT3_0 :4; //<2F><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
UVT[3:0] = 0000<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 100mS
UVT[3:0] = 0001<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 200mS
UVT[3:0] = 0010<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 300mS
UVT[3:0] = 0011<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 400mS
UVT[3:0] = 0100<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 600mS
UVT[3:0] = 0101<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 800mS
UVT[3:0] = 0110<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 1S
UVT[3:0] = 0111<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 2S
UVT[3:0] = 1000<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 3S
UVT[3:0] = 1001<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 4S
UVT[3:0] = 1010<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 6S
UVT[3:0] = 1011<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 8S
UVT[3:0] = 1100<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 10S
UVT[3:0] = 1101<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 20S
UVT[3:0] = 1110<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 30S
UVT[3:0] = 1111<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 40S
*/
}bits;
}Ovrh_ovrl; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ѹ/<2F><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
/////////////////////////////////////////////////////////////////////
u8 Uv; //<2F><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Uvr; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> <20><><EFBFBD>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV <20><>UV<55><56>UVR
u8 Balv; //ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Prev; //Ԥ<><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> Ԥ<><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Lov; //<2F>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ <20>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Pfv; //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹ <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
//////////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 CD1T3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
/*
OCD1T[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 50mS
OCD1T[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 100mS
OCD1T[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 200mS
OCD1T[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 400mS
OCD1T[3:0] = 0100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 600mS
OCD1T[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 800mS
OCD1T[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 1S
OCD1T[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 2S
OCD1T[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 4S
OCD1T[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 6S
OCD1T[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 8S
OCD1T[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10S
OCD1T[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 15S
OCD1T[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20S
OCD1T[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 30S
OCD1T[3:0] = 1111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 40S
*/
u8 OCD1V3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
OCD1V[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 20mV
OCD1V[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 30mV
OCD1V[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 40mV
OCD1V[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
OCD1V[3:0] = 0100<30><30> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 60mV
OCD1V[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 70mV
OCD1V[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
OCD1V[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 90mV
OCD1V[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 100mV
OCD1V[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 110mV
OCD1V[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 120mV
OCD1V[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 130mV
OCD1V[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
OCD1V[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 160mV
OCD1V[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 180mV
OCD1V[3:0] = 1111<31><31>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>?<3F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
*/
}bits;
}Ocd1V_ocd1t; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD>
////////////////////////////////////////////////////////////////////////
union
{
u8 datats;
struct
{
u8 OCD2T3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
OCD2T[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10mS
OCD2T[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20mS
OCD2T[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 40mS
OCD2T[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 60mS
OCD2T[3:0] = 0100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 80mS
OCD2T[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 100mS
OCD2T[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 200mS
OCD2T[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 400mS
OCD2T[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 600mS
OCD2T[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 800mS
OCD2T[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 1S
OCD2T[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 2S
OCD2T[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 4S
OCD2T[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 8S
OCD2T[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10S
OCD2T[3:0] = 1111<31><31>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>?<3F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20S
*/
u8 OCD2V3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>
/*
OCD2V[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 30mV
OCD2V[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 40mV
OCD2V[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
OCD2V[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 60mV
OCD2V[3:0] = 0100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 70mV
OCD2V[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
OCD2V[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 90mV
OCD2V[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 100mV
OCD2V[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 120mV
OCD2V[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
OCD2V[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 160mV
OCD2V[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 180mV
OCD2V[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
OCD2V[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 300mV
OCD2V[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 400mV
OCD2V[3:0] = 1111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 500mV
*/
}bits;
}Ocd2V_ocd2t; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD>
///////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 SCT3_0 :4; //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
/*
SCT[3:0] = 0000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 0uS
SCT[3:0] = 0001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 64uS
SCT[3:0] = 0010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 128uS
SCT[3:0] = 0011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 192uS
SCT[3:0] = 0100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 256uS
SCT[3:0] = 0101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 320uS
SCT[3:0] = 0110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 384uS
SCT[3:0] = 0111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 448uS
SCT[3:0] = 1000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 512uS
SCT[3:0] = 1001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 576uS
SCT[3:0] = 1010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 640uS
SCT[3:0] = 1011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 704uS
SCT[3:0] = 1100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 768uS
SCT[3:0] = 1101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 832uS
SCT[3:0] = 1110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 896uS
SCT[3:0] = 1111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 960uS
*/
u8 SCV_3_0 :4; //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
SCV[3:0] = 0000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
SCV[3:0] = 0001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
SCV[3:0] = 0010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 110mV
SCV[3:0] = 0011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
SCV[3:0] = 0100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 170mV
SCV[3:0] = 0101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
SCV[3:0] = 0110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 230mV
SCV[3:0] = 0111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 260mV
SCV[3:0] = 1000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 290mV
SCV[3:0] = 1001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 320mV
SCV[3:0] = 1010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 350mV
SCV[3:0] = 1011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 400mV
SCV[3:0] = 1100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 500mV
SCV[3:0] = 1101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 600mV
SCV[3:0] = 1110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 800mV
SCV[3:0] = 1111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 1000mV
*/
}bits;
}Scv_sct; //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
///////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 OCCT3_0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
OCCT[3:0] = 0000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10mS
OCCT[3:0] = 0001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20mS
OCCT[3:0] = 0010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 40mS
OCCT[3:0] = 0011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 60mS
OCCT[3:0] = 0100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 80mS
OCCT[3:0] = 0101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 100mS
OCCT[3:0] = 0110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 200mS
OCCT[3:0] = 0111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 400mS
OCCT[3:0] = 1000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 600mS
OCCT[3:0] = 1001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 800mS
OCCT[3:0] = 1010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 1S
OCCT[3:0] = 1011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 2S
OCCT[3:0] = 1100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 4S
OCCT[3:0] = 1101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 8S
OCCT[3:0] = 1110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10S
OCCT[3:0] = 1111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20S
*/
u8 OCCV3_0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
OCCV[3:0] = 0000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 20mV
OCCV[3:0] = 0001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 30mV
OCCV[3:0] = 0010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 40mV
OCCV[3:0] = 0011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
OCCV[3:0] = 0100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 60mV
OCCV[3:0] = 0101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 70mV
OCCV[3:0] = 0110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
OCCV[3:0] = 0111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 90mV
OCCV[3:0] = 1000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 100mV
OCCV[3:0] = 1001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 110mV
OCCV[3:0] = 1010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 120mV
OCCV[3:0] = 1011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 130mV
OCCV[3:0] = 1100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
OCCV[3:0] = 1101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 160mV
OCCV[3:0] = 1110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 180mV
OCCV[3:0] = 1111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
*/
}bits;
}Occv_occt; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 PFT1_0 :2; //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ
/*
PFT[1:0] = 00<30><30> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ =8S
PFT[1:0] = 01<30><31> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ= 16S
PFT[1:0] = 10<31><30> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ= 32S
PFT[1:0] = 11<31><31> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ= 64S
*/
u8 OCRT1_0 :2; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Իָ<D4BB><D6B8><EFBFBD>ʱ
/*
OCRT[1:0] = 00<30><30><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 8S
OCRT[1:0] = 01<30><31><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 16S
OCRT[1:0] = 10<31><30><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 32S
OCRT[1:0] = 11<31><31><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 64S
*/
u8 MOST1_0 :2; //<2F><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
MOST[1:0] = 00<30><30> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 64uS
MOST[1:0] = 01<30><31> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 128uS
MOST[1:0] = 10<31><30> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 256uS
MOST[1:0] = 11<31><31> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 512uS
*/
u8 CHS1_0 :2; //<2F><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
CHS [1:0] = 00<30><30> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200uV
CHS [1:0] = 01<30><31> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 500uV
CHS [1:0] = 10<31><30> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 1000uV
CHS [1:0] = 11<31><31> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 2000uV
*/
}bits;
}Most_ocrt_pft; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD>/<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>
////////////////////////////////////////////////////////////////////
char Otc; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Otcr; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
char Utc; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Utcr; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
char Otd; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Otdr; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
char Utd; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Utdr; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD><EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
}EEPROMWridata;
////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
/*EEPROM<4F>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
struct
{
union
{
u8 datas;
struct
{
u8 cn3_cn0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>λ
/*
CN[3:0] = 0101<30><31> 5<><35><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 0110<31><30> 6<><36><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 0111<31><31> 7<><37><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1000<30><30> 8<><38><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1001<30><31> 9<><39><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1010<31><30> 10<31><30><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1011<31><31> 11<31><31><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1100<30><30> 12<31><32><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1101<30><31> 13<31><33><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1110<31><30> 14<31><34><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = 1111<31><31> 15<31><35><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
CN[3:0] = <20><><EFBFBD><EFBFBD>?16<31><36><EFBFBD><EFBFBD>оӦ<D0BE><D3A6>
*/
u8 BAL :1; //ƽ<><EFBFBD><E2B9A6>ģ<EFBFBD><C4A3>ʹ<EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>λ 0<><30> ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD>SH367309<30>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD> 1<><31> ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD><EFBFBD>ⲿMCU<43><55><EFBFBD>ƣ<EFBFBD>ƽ<EFBFBD><C6BD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SH367309<30>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
u8 OCPM :1; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD>رճ<D8B1><D5B3><EFBFBD>MOSFET<45><54><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>ֻ<EFBFBD>رշŵ<D5B7>MOSFET 1<><31><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>رճ<D8B1><D5B3>ŵ<EFBFBD>MOSFET
u8 ENMOS :1; //<2F><><EFBFBD><EFBFBD>MOSFET<45>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD>ó<EFBFBD><C3B3><EFBFBD>MOSFET<45>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>λ 1<><31><EFBFBD><EFBFBD><EFBFBD>ó<EFBFBD><C3B3><EFBFBD>MOSFET<45>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F>¶ȱ<C2B6><C8B1><EFBFBD><EFBFBD>رճ<D8B1><D5B3><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD>߷ŵ<DFB7>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET<45><54>
u8 ENPCH :1; //Ԥ<><D4A4><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><E7B9A6> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><E7B9A6>
}bits;
}Sconf1; //<2F><>ϵͳ<CFB5><CDB3><EFBFBD>üĴ<C3BC><C4B4><EFBFBD>1
////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 EUVR :1; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3>״̬<D7B4>ͷ<EFBFBD><CDB7><EFBFBD><EBB8BA><EFBFBD>ͷ<EFBFBD><CDB7>޹<EFBFBD> 1<><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3>״̬<D7B4>ͷŻ<CDB7><C5BB><EFBFBD><E8B8BA><EFBFBD>ͷ<EFBFBD>
u8 OCRA :1; //<2F><><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>ָ<EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD>ָ<EFBFBD>
u8 CTLC1_0 :2; //CTL<54>ܽŹ<DCBD><C5B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
CTLC[1:0]=00<30><30><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD>ƣ<EFBFBD> CTL<54>ܽ<EFBFBD><DCBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ч
CTLC[1:0]=01<30><31> <20><><EFBFBD>Ƴ<EFBFBD><C6B3><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VL-CTL<54><4C>ƽʱǿ<CAB1>ƹرճ<D8B1><D5B3><EFBFBD><EFBFBD><EFBFBD>
Ԥ<><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VH-CTL<54><4C>ƽʱ<C6BD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>
<09><><EFBFBD>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
CTLC[1:0]=10<31><30> <20><><EFBFBD>Ʒŵ<C6B7>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VL-CTL<54><4C>ƽʱǿ<CAB1>ƹرշŵ<D5B7>MOSFET<45><54>
CTL<54><4C><EFBFBD><EFBFBD>VH-CTL<54><4C>ƽʱ<C6BD><CAB1><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
CTLC[1:0]=11<31><31> <20><><EFBFBD>Ƴ<EFBFBD><C6B3>ŵ<EFBFBD><C5B5><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VL-CTL<54><4C>ƽʱǿ<CAB1>ƹرճ<D8B1><D5B3><EFBFBD>
<09><><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54> CTL<54><4C><EFBFBD><EFBFBD>VH-CTL<54><4C>ƽʱ<C6BD><CAB1><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>
MOSFET<45>ڲ<EFBFBD><DAB2>߼<EFBFBD><DFBC><EFBFBD><EFBFBD><EFBFBD>
*/
u8 DIS_PF :1; //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3>ʹ<EFBFBD>ܿ<EFBFBD><DCBF><EFBFBD>λ 0<><30><EFBFBD><EFBFBD><EFBFBD>ö<EFBFBD><C3B6>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3> 1<><31><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>
u8 UV_OP :1; //<2F><><EFBFBD>ŵ<EFBFBD>ʱMOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30> <20><><EFBFBD>ŵ<EFBFBD>ֻ<EFBFBD>رշŵ<D5B7>MOSFET 1<><31> <20><><EFBFBD>ŵ<EFBFBD><C5B5>رճ<D8B1><D5B3>ŵ<EFBFBD>MOSFET
u8 Res :1; //<2F><><EFBFBD><EFBFBD>
u8 E0VB :1; //<2F><>ֹ<EFBFBD><D6B9>ѹ<EFBFBD><D1B9>о<EFBFBD><D0BE><EFBFBD><EFBFBD><E7B9A6><EFBFBD><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30><EFBFBD>رա<D8B1><D5A1><EFBFBD>ֹ<EFBFBD><D6B9>ѹ<EFBFBD><D1B9>о<EFBFBD><D0BE><EFBFBD><EFBFBD><E7A1B1><EFBFBD><EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9>ѹ<EFBFBD><D1B9>о<EFBFBD><D0BE><EFBFBD><EFBFBD><E7A1B1><EFBFBD><EFBFBD>
}bits;
}Sconf2; //<2F><>ϵͳ<CFB5><CDB3><EFBFBD>üĴ<C3BC><C4B4><EFBFBD>2
////////////////////////////////////////////////////////
union
{
u16 datas;
struct
{
u16 OV9_0 :10; //<2F><><EFBFBD><EFBFBD><E4B1A3><EFBFBD><EFBFBD>ѹ <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>5mV
u16 LDRT1_0 :2; //<2F><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
LDRT[1:0] = 00: <20><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ = 100mS
LDRT[1:0] = 01: <20><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ = 500mS
LDRT[1:0] = 10: <20><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ = 1000mS
LDRT[1:0] = 11: <20><>ͷ<EFBFBD><CDB7><EFBFBD><EFBFBD>?= 2000mS
*/
u16 OVT3_0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
OVT[3:0] = 0000<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 100mS
OVT[3:0] = 0001<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 200mS
OVT[3:0] = 0010<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 300mS
OVT[3:0] = 0011<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 400mS
OVT[3:0] = 0100<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 600mS
OVT[3:0] = 0101<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 800mS
OVT[3:0] = 0110<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 1S
OVT[3:0] = 0111<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 2S
OVT[3:0] = 1000<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 3S
OVT[3:0] = 1001<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 4S
OVT[3:0] = 1010<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 6S
OVT[3:0] = 1011<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 8S
OVT[3:0] = 1100<30><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 10S
OVT[3:0] = 1101<30><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 20S
OVT[3:0] = 1110<31><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 30S
OVT[3:0] = 1111<31><31> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ = 40S
*/
}bits;
}Ovh_ovl; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹ/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ/<2F><><EFBFBD><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>üĴ<C3BC><C4B4><EFBFBD>
//////////////////////////////////////////////////////////////////////
union
{
u16 datas;
struct
{
u16 OVR9_0 :10; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>5mV
u16 Res :2; //<2F><><EFBFBD><EFBFBD>
u16 UVT3_0 :4; //<2F><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ
/*
UVT[3:0] = 0000<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 100mS
UVT[3:0] = 0001<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 200mS
UVT[3:0] = 0010<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 300mS
UVT[3:0] = 0011<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 400mS
UVT[3:0] = 0100<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 600mS
UVT[3:0] = 0101<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 800mS
UVT[3:0] = 0110<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 1S
UVT[3:0] = 0111<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 2S
UVT[3:0] = 1000<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 3S
UVT[3:0] = 1001<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 4S
UVT[3:0] = 1010<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 6S
UVT[3:0] = 1011<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 8S
UVT[3:0] = 1100<30><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 10S
UVT[3:0] = 1101<30><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 20S
UVT[3:0] = 1110<31><30> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 30S
UVT[3:0] = 1111<31><31> <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ = 40S
*/
}bits;
}Ovrh_ovrl;//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ָ<EFBFBD><D6B8><EFBFBD>ѹ/<2F><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ʱ
/////////////////////////////////////////////////////////////////////
u8 Uv; //<2F><><EFBFBD><EFBFBD><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ѹ <20><><EFBFBD>ŵ籣<C5B5><E7B1A3><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Uvr; //<2F><><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD>ѹ <20><><EFBFBD>ŵ<EFBFBD><C5B5>ָ<EFBFBD><D6B8><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV <20><>UV<55><56>UVR
u8 Balv; //<2F><>ƽ<EFBFBD><EFBFBD><E2BFAA><EFBFBD><EFBFBD>ѹ ƽ<><EFBFBD><E2BFAA><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Prev; //<2F><>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ Ԥ<><D4A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Lov; //<2F><><EFBFBD>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ <20>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
u8 Pfv; //<2F><><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹ <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9> <20><><EFBFBD>ʽ<E3B7BD><CABD><EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>ֵ<EFBFBD><D6B5>20mV
//////////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 CD1T3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
OCD1T[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 50mS
OCD1T[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 100mS
OCD1T[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 200mS
OCD1T[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 400mS
OCD1T[3:0] = 0100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 600mS
OCD1T[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 800mS
OCD1T[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 1S
OCD1T[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 2S
OCD1T[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 4S
OCD1T[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 6S
OCD1T[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 8S
OCD1T[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10S
OCD1T[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 15S
OCD1T[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20S
OCD1T[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 30S
OCD1T[3:0] = 1111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 40S
*/
u8 OCD1V3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
OCD1V[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 20mV
OCD1V[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 30mV
OCD1V[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 40mV
OCD1V[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
OCD1V[3:0] = 0100<30><30> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 60mV
OCD1V[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 70mV
OCD1V[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
OCD1V[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 90mV
OCD1V[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 100mV
OCD1V[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 110mV
OCD1V[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 120mV
OCD1V[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 130mV
OCD1V[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
OCD1V[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 160mV
OCD1V[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 180mV
OCD1V[3:0] = 1111<31><31>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>?<3F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
*/
}bits;
}Ocd1V_ocd1t; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1
////////////////////////////////////////////////////////////////////////
union
{
u8 datats;
struct
{
u8 OCD2T3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
OCD2T[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10mS
OCD2T[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20mS
OCD2T[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 40mS
OCD2T[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 60mS
OCD2T[3:0] = 0100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 80mS
OCD2T[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 100mS
OCD2T[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 200mS
OCD2T[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 400mS
OCD2T[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 600mS
OCD2T[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 800mS
OCD2T[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 1S
OCD2T[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 2S
OCD2T[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 4S
OCD2T[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 8S
OCD2T[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10S
OCD2T[3:0] = 1111<31><31>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>?<3F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20S
*/
u8 OCD2V3_0 :4; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
OCD2V[3:0] = 0000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 30mV
OCD2V[3:0] = 0001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 40mV
OCD2V[3:0] = 0010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
OCD2V[3:0] = 0011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 60mV
OCD2V[3:0] = 0100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 70mV
OCD2V[3:0] = 0101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
OCD2V[3:0] = 0110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 90mV
OCD2V[3:0] = 0111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 100mV
OCD2V[3:0] = 1000<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 120mV
OCD2V[3:0] = 1001<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
OCD2V[3:0] = 1010<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 160mV
OCD2V[3:0] = 1011<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 180mV
OCD2V[3:0] = 1100<30><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
OCD2V[3:0] = 1101<30><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 300mV
OCD2V[3:0] = 1110<31><30><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 400mV
OCD2V[3:0] = 1111<31><31><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 500mV
*/
}bits;
}Ocd2V_ocd2t; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2
///////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 SCT3_0 :4; //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
SCT[3:0] = 0000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 0uS
SCT[3:0] = 0001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 64uS
SCT[3:0] = 0010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 128uS
SCT[3:0] = 0011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 192uS
SCT[3:0] = 0100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 256uS
SCT[3:0] = 0101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 320uS
SCT[3:0] = 0110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 384uS
SCT[3:0] = 0111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 448uS
SCT[3:0] = 1000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 512uS
SCT[3:0] = 1001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 576uS
SCT[3:0] = 1010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 640uS
SCT[3:0] = 1011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 704uS
SCT[3:0] = 1100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 768uS
SCT[3:0] = 1101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 832uS
SCT[3:0] = 1110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 896uS
SCT[3:0] = 1111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 960uS
*/
u8 SCV_3_0 :4; //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
SCV[3:0] = 0000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
SCV[3:0] = 0001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
SCV[3:0] = 0010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 110mV
SCV[3:0] = 0011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
SCV[3:0] = 0100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 170mV
SCV[3:0] = 0101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
SCV[3:0] = 0110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 230mV
SCV[3:0] = 0111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 260mV
SCV[3:0] = 1000<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 290mV
SCV[3:0] = 1001<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 320mV
SCV[3:0] = 1010<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 350mV
SCV[3:0] = 1011<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 400mV
SCV[3:0] = 1100<30><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 500mV
SCV[3:0] = 1101<30><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 600mV
SCV[3:0] = 1110<31><30><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 800mV
SCV[3:0] = 1111<31><31><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 1000mV
*/
}bits;
}Scv_sct; //<2F><><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>
///////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 OCCT3_0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
OCCT[3:0] = 0000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10mS
OCCT[3:0] = 0001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20mS
OCCT[3:0] = 0010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 40mS
OCCT[3:0] = 0011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 60mS
OCCT[3:0] = 0100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 80mS
OCCT[3:0] = 0101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 100mS
OCCT[3:0] = 0110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 200mS
OCCT[3:0] = 0111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 400mS
OCCT[3:0] = 1000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 600mS
OCCT[3:0] = 1001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 800mS
OCCT[3:0] = 1010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 1S
OCCT[3:0] = 1011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 2S
OCCT[3:0] = 1100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 4S
OCCT[3:0] = 1101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 8S
OCCT[3:0] = 1110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 10S
OCCT[3:0] = 1111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 20S
*/
u8 OCCV3_0 :4; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
OCCV[3:0] = 0000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 20mV
OCCV[3:0] = 0001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 30mV
OCCV[3:0] = 0010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 40mV
OCCV[3:0] = 0011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 50mV
OCCV[3:0] = 0100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 60mV
OCCV[3:0] = 0101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 70mV
OCCV[3:0] = 0110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 80mV
OCCV[3:0] = 0111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 90mV
OCCV[3:0] = 1000<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 100mV
OCCV[3:0] = 1001<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 110mV
OCCV[3:0] = 1010<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 120mV
OCCV[3:0] = 1011<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 130mV
OCCV[3:0] = 1100<30><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 140mV
OCCV[3:0] = 1101<30><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 160mV
OCCV[3:0] = 1110<31><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 180mV
OCCV[3:0] = 1111<31><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200mV
*/
}bits;
}Occv_occt; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 PFT1_0 :2; //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ
/*
PFT[1:0] = 00<30><30> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ =8S
PFT[1:0] = 01<30><31> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ= 16S
PFT[1:0] = 10<31><30> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ= 32S
PFT[1:0] = 11<31><31> <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ= 64S
*/
u8 OCRT1_0 :2; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Իָ<D4BB><D6B8><EFBFBD>ʱ
/*
OCRT[1:0] = 00<30><30><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 8S
OCRT[1:0] = 01<30><31><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 16S
OCRT[1:0] = 10<31><30><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 32S
OCRT[1:0] = 11<31><31><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD><D6B8><EFBFBD>ʱ = 64S
*/
u8 MOST1_0 :2; //<2F><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ
/*
MOST[1:0] = 00<30><30> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 64uS
MOST[1:0] = 01<30><31> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 128uS
MOST[1:0] = 10<31><30> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 256uS
MOST[1:0] = 11<31><31> <20><><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ = 512uS
*/
u8 CHS1_0 :2; //<2F><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ
/*
CHS [1:0] = 00<30><30> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 200uV
CHS [1:0] = 01<30><31> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 500uV
CHS [1:0] = 10<31><30> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 1000uV
CHS [1:0] = 11<31><31> <20><><EFBFBD>ŵ<EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ = 2000uV
*/
}bits;
}Most_ocrt_pft; //<2F><><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6>ָ<EFBFBD>/<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>ʱ
////////////////////////////////////////////////////////////////////
char Otc; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Otcr; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
char Utc; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Utcr; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
char Otd; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Otdr; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
char Utd; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>ֵ
char Utdr; //<2F><><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD> <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD>ͷ<EFBFBD><CDB7><EFBFBD>ֵ
char Tr; //<2F><><EFBFBD><EFBFBD><C2B6>ڲ<EFBFBD><DAB2>ο<EFBFBD><CEBF><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>
}EEPROMRevdata;
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////
/*RAM<41>Ĵ<EFBFBD><C4B4><EFBFBD>д<EFBFBD><D0B4><EFBFBD><EFBFBD>*/
struct
{
union
{
u8 datas;
struct
{
u8 IDLE :1; //IDLE<4C><45><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IDLE״̬ 1<><31> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IDLE״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD>Ѻ<EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 SLEEP :1; //SLEEP<45><50><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SLEEP״̬ 1<><31> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SLEEP״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD>Ѻ<EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 ENWDT :1; //<2F><><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30>رտ<D8B1><D5BF>Ź<EFBFBD>ģ<EFBFBD><C4A3> 1<><31> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD>ģ<EFBFBD><C4A3>
u8 CADCON :1; //CADC<44><43><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30>ر<EFBFBD>CADC 1<><31> SH367309<30><39><EFBFBD><EFBFBD>CADC<44><43><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD>ɼ<EFBFBD>
u8 CHGMOS :1; //<2F><><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30> <20><><EFBFBD><EFBFBD>MOSFET<45>ر<EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET<45><54>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 DSGMOS :1; //<2F>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30><EFBFBD>ŵ<EFBFBD>MOSFET<45>ر<EFBFBD> 1<><31><EFBFBD>ŵ<EFBFBD>MOSFET<45><54>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 PCHMOS :1; //Ԥ<><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45>ر<EFBFBD> 1<><31>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 OCRC :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>OCRCλ<43><CEBB><EFBFBD><EFBFBD>д<EFBFBD><D0B4> 0-1-0
}bits;
}Conf; //ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>
//////////////////////////////////////////////////////////////////////////////////////
union
{
u16 datas;
struct
{
u16 CB1 :1; //0<><30><EFBFBD>ر<EFBFBD>CellNƽ<4E><C6BD><EFBFBD><EFBFBD>· 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CellNƽ<4E><C6BD><EFBFBD><EFBFBD>·
u16 CB2 :1;
u16 CB3 :1;
u16 CB4 :1;
u16 CB5 :1;
u16 CB6 :1;
u16 CB7 :1;
u16 CB8 :1;
u16 CB9 :1;
u16 CB10 :1;
u16 CB11 :1;
u16 CB12 :1;
u16 CB13 :1;
u16 CB14 :1;
u16 CB15 :1;
u16 CB16 :1;
}bits;
}Balanceh_l; //<2F><><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>·
//////////////////////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 OV_FLG :1; //<2F><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>
u8 UV_FLG :1; //Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD>
u8 OCD_FLG :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 LOAD_FLG :1; //LDO3<4F><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 OCC_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 SC_FLG :1; //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>
u8 PF_FLG :1; //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>
u8 WDT_FLG :1; //<2F><><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD> 0<><30> δ<><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>
}bits;
}Bflag1; //ϵͳ<CFB5><CDB3>־<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>1 ֻ<>ܽ<EFBFBD><DCBD><EFBFBD>д0<D0B4><30><EFBFBD><EFBFBD>
/////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 UTC_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 OTC_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 UTD_FLG :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 OTD_FLG :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 VADC_FLG :1; //VADC<44>жϱ<D0B6>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VADC<44>ж<EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VADC<44>ж<EFBFBD> <20><>bit<69><74><EFBFBD><EFBFBD>ȡ֮<C8A1><D6AE><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 CADC_FLG :1; //CADC<44>жϱ<D0B6>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CADC<44>ж<EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CADC<44>ж<EFBFBD> <20><>bit<69><74><EFBFBD><EFBFBD>ȡ֮<C8A1><D6AE><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 WAKE_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD>жϱ<D0B6>־λ 1<><31><EFBFBD><EFBFBD>IDLE״̬(<28><><EFBFBD><EFBFBD><E2B5BD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD>SLEEP״̬(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 RST_FLG :1; //<2F><>λ<EFBFBD><CEBB>־λ 1<><31>ϵͳ<CFB5><CDB3>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD>MCU<43><55><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
}bits;
}Bflag2; //ϵͳ<CFB5><CDB3>־<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>2 ֻ<>ܽ<EFBFBD><DCBD><EFBFBD>д0<D0B4><30><EFBFBD><EFBFBD>
/////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 WDT1_0 :2; //<2F><><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
/*
WDT[1-0]=00<30><30><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ32S<32><53>
WDT[1-0]=01<30><31><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ16S<36><53>
WDT[1-0]=10<31><30><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ8S<38><53>
WDT[1-0]=11<31><31><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ4S<34><53>
*/
}bits;
}Rststat;
////////////////////////////////////////////////////////////
}RAM_Wridata;
/////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/*RAM<41>Ĵ<EFBFBD><C4B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
struct
{
union
{
u8 datas;
struct
{
u8 IDLE :1; //IDLE<4C><45><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IDLE״̬ 1<><31> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>IDLE״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD>Ѻ<EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 SLEEP :1; //SLEEP<45><50><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SLEEP״̬ 1<><31> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD>SLEEP״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD>Ѻ<EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 ENWDT :1; //<2F><><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30>رտ<D8B1><D5BF>Ź<EFBFBD>ģ<EFBFBD><C4A3> 1<><31> SH367309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD>ģ<EFBFBD><C4A3>
u8 CADCON :1; //CADC<44><43><EFBFBD>ÿ<EFBFBD><C3BF><EFBFBD>λ 0<><30> SH367309<30>ر<EFBFBD>CADC 1<><31> SH367309<30><39><EFBFBD><EFBFBD>CADC<44><43><EFBFBD>е<EFBFBD><D0B5><EFBFBD><EFBFBD>ɼ<EFBFBD>
u8 CHGMOS :1; //<2F><><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30> <20><><EFBFBD><EFBFBD>MOSFET<45>ر<EFBFBD> 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET<45><54>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 DSGMOS :1; //<2F>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30><EFBFBD>ŵ<EFBFBD>MOSFET<45>ر<EFBFBD> 1<><31><EFBFBD>ŵ<EFBFBD>MOSFET<45><54>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 PCHMOS :1; //Ԥ<><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>λ 0<><30>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45>ر<EFBFBD> 1<><31>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģ<EFBFBD><C4A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 OCRC :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬<D7B4><CCAC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>OCRCλ<43><CEBB><EFBFBD><EFBFBD>д<EFBFBD><D0B4> 0-1-0
}bits;
}Conf; //ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>
//////////////////////////////////////////////////////////////////////////////////////
union
{
u16 datas;
struct
{
u16 CB1 :1; //0<><30><EFBFBD>ر<EFBFBD>CellNƽ<4E><C6BD><EFBFBD><EFBFBD>· 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CellNƽ<4E><C6BD><EFBFBD><EFBFBD>·
u16 CB2 :1;
u16 CB3 :1;
u16 CB4 :1;
u16 CB5 :1;
u16 CB6 :1;
u16 CB7 :1;
u16 CB8 :1;
u16 CB9 :1;
u16 CB10 :1;
u16 CB11 :1;
u16 CB12 :1;
u16 CB13 :1;
u16 CB14 :1;
u16 CB15 :1;
u16 CB16 :1;
}bits;
}Balanceh_l; //<2F><><EFBFBD>Ƶ<EFBFBD><C6B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƽ<EFBFBD><C6BD><EFBFBD><EFBFBD>·
//////////////////////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 OV :1; // <20><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>
u8 UV :1; // Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD>Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD>
u8 OCD1 :1; // <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD>
u8 OCD2 :1; // <20>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><32><EFBFBD><EFBFBD>
u8 OCC :1; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30> δ<><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 SC :1; // <20><>·<EFBFBD><C2B7><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD> 0<><30> δ<><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>
u8 PF :1; // <20><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>
u8 WDT :1; // <20><><EFBFBD>Ź<EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD> 0<><30><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>
}bits;
}Bstrtus1;//ϵͳ״̬1<CCAC>Ĵ<EFBFBD><C4B4><EFBFBD>
///////////////////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 UTC :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 OTC :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 UTD :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 OTD :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 Ren :4; //<2F><><EFBFBD><EFBFBD>
}bits;
}Bstrtus2;//ϵͳ״̬2<CCAC>Ĵ<EFBFBD><C4B4><EFBFBD>
////////////////////////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 DSG_FET :1; //<2F>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD>ŵ<EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD> 0<><30><EFBFBD>ŵ<EFBFBD>MOSFET<45>ر<EFBFBD>
u8 CHG_FET :1; //<2F><><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD> 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>MOSFET<45>ر<EFBFBD>
u8 PCHG_FET :1; //Ԥ<><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD>״̬λ 1<><31>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45><54><EFBFBD><EFBFBD> 0<><30>Ԥ<EFBFBD><D4A4><EFBFBD><EFBFBD>MOSFET<45>ر<EFBFBD>
u8 L0V :1; //<2F>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ѹ<EFBFBD><D1B9>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
u8 EEPR_WR :1; //EEPROMд<4D><D0B4><EFBFBD><EFBFBD>״̬λ 1<><31> EEPROMд<4D><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30> EEPROMд<4D><D0B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ
u8 Ren :1; //<2F><><EFBFBD><EFBFBD>
u8 DSGING :1; //<2F>ŵ<EFBFBD>״̬λ 1<><31><EFBFBD>ŵ<EFBFBD>״̬ 0<><30><EFBFBD>Ƿŵ<C7B7>״̬
u8 CHGING :1; //<2F><><EFBFBD><EFBFBD>״̬λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬ 0<><30><EFBFBD>dz<EFBFBD><C7B3><EFBFBD>״̬
}bits;
}Bstrtus3;//ϵͳ״̬3<CCAC>Ĵ<EFBFBD><C4B4><EFBFBD>
///////////////////////////////////////////////////////////////////////////
u16 TEMP1h_l; //T1<54><EFBFBD> <20><>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD><DDB8><EFBFBD>Ϊ<EFBFBD>¶ȵ<C2B6><C8B5><EFBFBD>1<EFBFBD>ϵĵ<CFB5>ѹ<EFBFBD><D1B9>ѹ<EFBFBD>ȶ<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ֵ
u16 TEMP2h_l; //T2<54><EFBFBD> <20><>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD><DDB8><EFBFBD>Ϊ<EFBFBD>¶ȵ<C2B6><C8B5><EFBFBD>2<EFBFBD>ϵĵ<CFB5>ѹ<EFBFBD><D1B9>ѹ<EFBFBD>ȶ<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ֵ
u16 TEMP3h_l; //T3<54><EFBFBD> <20><>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD><DDB8><EFBFBD>Ϊ<EFBFBD>¶ȵ<C2B6><C8B5><EFBFBD>3<EFBFBD>ϵĵ<CFB5>ѹ<EFBFBD><D1B9>ѹ<EFBFBD>ȶ<EFBFBD>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ֵ
u16 Curh_l; // CUR15 <20><>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD><DDB8><EFBFBD>Ϊ Ϊ<><CEAA><EFBFBD><EFBFBD>λ<EFBFBD><CEBB> <20><>1<EFBFBD><31><EFBFBD><EFBFBD>ʾ<EFBFBD>ŵ磻 Sense<73><65>0<EFBFBD><30> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>ѹ<EFBFBD><D1B9> <20><>ʾ<EFBFBD><CABE><EFBFBD>硣 Ӧ<><D3A6><EFBFBD><EFBFBD>ֵ &0xef
union
{
u16 cellvol[16];
struct
{
u16 cell1_vol; //<2F><>о<EFBFBD><D0BE>ѹ1
u16 cell2_vol; //<2F><>о<EFBFBD><D0BE>ѹ2
u16 cell3_vol; //<2F><>о<EFBFBD><D0BE>ѹ3
u16 cell4_vol; //<2F><>о<EFBFBD><D0BE>ѹ4
u16 cell5_vol; //<2F><>о<EFBFBD><D0BE>ѹ5
u16 cell6_vol; //<2F><>о<EFBFBD><D0BE>ѹ6
u16 cell7_vol; //<2F><>о<EFBFBD><D0BE>ѹ7
u16 cell8_vol; //<2F><>о<EFBFBD><D0BE>ѹ8
u16 cell9_vol; //<2F><>о<EFBFBD><D0BE>ѹ9
u16 cell10_vol; //<2F><>о<EFBFBD><D0BE>ѹ10
u16 cell11_vol; //<2F><>о<EFBFBD><D0BE>ѹ11
u16 cell12_vol; //<2F><>о<EFBFBD><D0BE>ѹ12
u16 cell13_vol; //<2F><>о<EFBFBD><D0BE>ѹ13
u16 cell14_vol; //<2F><>о<EFBFBD><D0BE>ѹ14
u16 cell15_vol; //<2F><>о<EFBFBD><D0BE>ѹ15
u16 cell16_vol; //<2F><>о<EFBFBD><D0BE>ѹ16
}cellbits;
}Cell;
u16 CADcdh_l; //<2F><><EFBFBD><EFBFBD> DATA.15 <20><>ת<EFBFBD><D7AA><EFBFBD><EFBFBD><EFBFBD>ɺ<EFBFBD><C9BA><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݸ<EFBFBD><DDB8><EFBFBD>Ϊ Ϊ<><CEAA><EFBFBD><EFBFBD>λ<EFBFBD><CEBB> <20><>1<EFBFBD><31><EFBFBD><EFBFBD>ʾ<EFBFBD>ŵ磻 Sense<73><65><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD>ѹ<EFBFBD><D1B9>Ӧ<EFBFBD><D3A6><EFBFBD><EFBFBD>ֵ &0xef
////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 OV_FLG :1; //<2F><>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѹ<EFBFBD><D1B9><EFBFBD><EFBFBD>
u8 UV_FLG :1; //Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿѹ<C7B7><D1B9><EFBFBD><EFBFBD>
u8 OCD_FLG :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 LOAD_FLG :1; //LDO3<4F><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 OCC_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 SC_FLG :1; //<2F><>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD>
u8 PF_FLG :1; //<2F><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ι<EFBFBD><CEB9><EFBFBD><EFBFBD><EFBFBD><E7B1A3>
u8 WDT_FLG :1; //<2F><><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD> 0<><30> δ<><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>
}bits;
}Bflag1; //ϵͳ<CFB5><CDB3>־<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>1
///////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 UTC_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 OTC_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 UTD_FLG :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 OTD_FLG :1; //<2F>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD><EFBFBD><EFBFBD>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD>±<EFBFBD><C2B1><EFBFBD>
u8 VADC_FLG :1; //VADC<44>жϱ<D0B6>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VADC<44>ж<EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>VADC<44>ж<EFBFBD> <20><>bit<69><74><EFBFBD><EFBFBD>ȡ֮<C8A1><D6AE><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 CADC_FLG :1; //CADC<44>жϱ<D0B6>־λ 1<><31><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CADC<44>ж<EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>CADC<44>ж<EFBFBD> <20><>bit<69><74><EFBFBD><EFBFBD>ȡ֮<C8A1><D6AE><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD><EFBFBD><EFBFBD>
u8 WAKE_FLG :1; //<2F><><EFBFBD><EFBFBD><EFBFBD>жϱ<D0B6>־λ 1<><31><EFBFBD><EFBFBD>IDLE״̬(<28><><EFBFBD><EFBFBD><E2B5BD><EFBFBD>ŵ<EFBFBD><C5B5><EFBFBD><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD>SLEEP״̬(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
u8 RST_FLG :1; //<2F><>λ<EFBFBD><CEBB>־λ 1<><31>ϵͳ<CFB5><CDB3>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD><D4B6><EFBFBD>1<EFBFBD><31><EFBFBD><EFBFBD>MCU<43><55><EFBFBD><EFBFBD> 0<><30>δ<EFBFBD><CEB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
}bits;
}Bflag2; //ϵͳ<CFB5><CDB3>־<EFBFBD>Ĵ<EFBFBD><C4B4><EFBFBD>2 ֻ<>ܽ<EFBFBD><DCBD><EFBFBD>д0<D0B4><30><EFBFBD><EFBFBD>
/////////////////////////////////////////////////////////
union
{
u8 datas;
struct
{
u8 WDT1_0 :2; //<2F><><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ
/*
WDT[1-0]=00<30><30><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ32S<32><53>
WDT[1-0]=01<30><31><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ16S<36><53>
WDT[1-0]=10<31><30><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ8S<38><53>
WDT[1-0]=11<31><31><EFBFBD><EFBFBD><EFBFBD>Ź<EFBFBD><C5B9><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>Ϊ4S<34><53>
*/
}bits;
}Rststat;
//////////////////////////////////////////////////////////
}RAM_Revdata;
}Data_309buf;
/*<2A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>*/
extern Data_309buf data_309_A; //<2F><>309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>16<31><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
extern Data_309buf data_309_B; //<2F><>309<30><39><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>16<31><36><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/*<2A><>ȡ309<30><39><EFBFBD><EFBFBD>*/
extern void RevResData(u8 num);
#endif