#ifndef __HY8603_H__
#define __HY8603_H__

typedef enum _DimmingMode{
    PWM_MODE,
    DC_MODE,
    MIX6_10,
    MIX8_8,
}DimmingMode;


void CmdSend(unsigned char sop, unsigned char reg, unsigned short data);
void DipDataSend(unsigned char port, unsigned short *input, unsigned uiLen);

VOID Hv_Drv_HY8603_1stInit();
VOID Hv_Drv_HY8603_2ndInit();
VOID Hv_Drv_HY8603_BlDataPrep(UCHAR8 ucPort, USHORT16 *ausBlData, UINT32 uiLen);
VOID Hv_Drv_HY8603_BlDataSend();

VOID Hv_Drv_HY8603_SetDipLanes(USHORT16 usDipLanes);

VOID Hv_Drv_HY8603_SetDisLane(UCHAR8 ucDispLane);
VOID Hv_Drv_Bcon_HYDataType();
#endif
