hv_mw_Bcon.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * @file hv_mw_Bcon.h
  3. * @brief Header file of bcon module.
  4. *
  5. * @verbatim
  6. * ==============================================================================
  7. * ##### How to use #####
  8. * ==============================================================================
  9. * (+)
  10. *
  11. * @endverbatim
  12. * @author HiView SoC Software Team
  13. * @version 1.0.0
  14. * @date 2023-01-16
  15. */
  16. #ifndef __MW_BCON_H__
  17. #define __MW_BCON_H__
  18. VOID Hv_Mw_Bcon_Init(UCHAR8 ucVendor, UINT32 uiClk);
  19. VOID Hv_Mw_Bcon_HY8603_Init();
  20. VOID Hv_Mw_Bcon_HY8603BlDataSend();
  21. VOID Hv_Mw_Bcon_HY8603SetLanes(UCHAR8 ucDisLane, USHORT16 usDipLanes);
  22. VOID Hv_Mw_Bcon_HY8603BlDataPrep(UCHAR8 ucPort, USHORT16 *ausBlData, UINT32 uiLen);
  23. VOID Hv_Mw_Bcon_XP7008_Init(UINT32 uiLanes);
  24. USHORT16 Hv_Mw_XP7008_PrepCmd(UCHAR8 ucStart, UCHAR8 ucLen, UCHAR8 *regs, USHORT16* pusOutData);
  25. USHORT16 Hv_Mw_XP7008_PrepData(UCHAR8 ucStart, UCHAR8 ucLen, USHORT16 *pusPwm, USHORT16 *pusOutData);
  26. VOID Hv_Mw_Bcon_XP7008BlDataPrep(UCHAR8 ucPort, USHORT16 *ausBlData, UINT32 uiLen);
  27. VOID Hv_Mw_Bcon_XP7008_SendData();
  28. VOID Hv_Mw_Bcon_ReadData(UCHAR8 ucLane, USHORT16 usLen, USHORT16 *pusBuf);
  29. #endif