#ifndef _GAUGES_H_ #define _GAUGES_H_ #include "SEG_LCD.h" #include "Common_Interface.h" /****************************************************************************** ת�ٶ������� ******************************************************************************/ static const uint16_t GaugesTachoMeterSegIncTable[] = { /*================= ��ʾ�� | ת �� ---------+-------*/ /* 0 */ 200, /* 1 */ 550, /* 2 */ 1050, /* 3 */ 1550, /* 4 */ 2050, /* 5 */ 2550, /* 6 */ 3050, /* 7 */ 3550, /* 8 */ 4050, /* 9 */ 4550, /* 10 */ 5050, /* 11 */ 5550, /* 12 */ 6050, /* 13 */ 6550, /* 14 */ 7050, /* 15 */ 7550, /* 16 */ 8050, /* 17 */ 65535, /*=== ============*/ }; /****************************************************************************** ת�ٶ��½��� ******************************************************************************/ static const uint16_t GaugesTachoMeterSegDecTable[] = { /*================= ��ʾ�� | ת �� ---------+-------*/ /* 0 */ 50, /* 1 */ 450, /* 2 */ 950, /* 3 */ 1450, /* 4 */ 1950, /* 5 */ 2450, /* 6 */ 2950, /* 7 */ 3450, /* 8 */ 3950, /* 9 */ 4450, /* 10 */ 4950, /* 11 */ 5450, /* 12 */ 5950, /* 13 */ 6450, /* 14 */ 6950, /* 15 */ 7450, /* 16 */ 7950, /* 17 */ 65535, /*===============*/ }; #define GAUGES_TOTAL_TACHOMETER_SEG (sizeof(GaugesTachoMeterSegIncTable) / 2) typedef struct { uint16_t ESpeedBackup; uint8_t ESpeedSeg; }GaugesCtrlStruct; //void Gauges_Management_Service(void); #endif