hv_drv_HY8603.h 606 B

123456789101112131415161718192021222324
  1. #ifndef __HY8603_H__
  2. #define __HY8603_H__
  3. typedef enum _DimmingMode{
  4. PWM_MODE,
  5. DC_MODE,
  6. MIX6_10,
  7. MIX8_8,
  8. }DimmingMode;
  9. void CmdSend(unsigned char sop, unsigned char reg, unsigned short data);
  10. void DipDataSend(unsigned char port, unsigned short *input, unsigned uiLen);
  11. VOID Hv_Drv_HY8603_1stInit();
  12. VOID Hv_Drv_HY8603_2ndInit();
  13. VOID Hv_Drv_HY8603_BlDataPrep(UCHAR8 ucPort, USHORT16 *ausBlData, UINT32 uiLen);
  14. VOID Hv_Drv_HY8603_BlDataSend();
  15. VOID Hv_Drv_HY8603_SetDipLanes(USHORT16 usDipLanes);
  16. VOID Hv_Drv_HY8603_SetDisLane(UCHAR8 ucDispLane);
  17. VOID Hv_Drv_Bcon_HYDataType();
  18. #endif