#ifndef _RTE_BASE_Type_H_
#define _RTE_BASE_Type_H_

#include "TYW_stdint.h"

#define GPIO_HW_Exist   0
#define debug           0

#define m_LED_OFF       0x00u
#define m_LED_ON        0x01u
#define m_LED_ForceON   0x81u
#define m_LED_ForceOFF  0x80u

#define m_SEG_All_OFF   0x00u
#define m_SEG_All_ON    0x07u
#define m_SEG_All_ForceOFF 0x80u
#define m_SEG_All_ForceON  0x87u
#define m_SG1_ON        0x01u
#define m_SG2_ON        0x02u
#define m_SG3_ON        0x03u
#define m_SG4_ON        0x04u
#define m_SG5_ON        0x05u
#define m_SG6_ON        0x06u
#define m_SEG_OFF       0x00u
#define m_SEG_ON        0x01u
#define m_SEG_ForceOFF  0x80u
#define m_SEG_ForceON   0x81u



typedef enum
{
    LED_OFF = 0x00u,
    LED_ON = 0x01u,
    LED_ForceOFF = 0x80u,
    LED_ForceON = 0x81u
} LED_Status;


typedef enum
{
    SEG_All_OFF = 0x00u,
    SEG_All_ON = 0x07u,
    SEG1_ON = 0x01u,
    SEG2_ON = 0x02u,
    SEG3_ON = 0x03u,
    SEG4_ON = 0x04u,
    SEG5_ON = 0x05u,
    SEG6_ON = 0x06u,
    SEG_All_ForceOFF = 0x80u,
    SEG_All_ForceON = 0x87u
} SEG_Greey_Status;

typedef enum
{
    SEG_OFF = 0x00u,
    SEG_ON = 0x01u,
    SEG_ForceOFF = 0x80u,
    SEG_ForceON = 0x81u
} SEG_Status;



#endif