hv_drv_Pinshare.c 737 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * @file hv_drv_Pinshare.c
  3. * @brief pinshare driver layer file.
  4. * @details This file provides the following functions: \n
  5. * (1) pin share init \n
  6. *
  7. * @author HiView SoC Software Team
  8. * @version 1.0.0
  9. * @date 2023-06-12
  10. * @copyright Copyright(c),2023-5, Hiview Software. All rights reserved.
  11. * @par History:
  12. */
  13. #include "hv_chip_Config.h"
  14. #include "hv_cal_Pinshare.h"
  15. #include "hv_vos_Comm.h"
  16. /**
  17. * @brief pinshare init
  18. * @param[in/out] N/A
  19. */
  20. VOID Hv_Drv_Pinshare_Init(VOID)
  21. {
  22. HV_LOG_DEBUG(PINSHARE, "Pinshare Init\n");
  23. Hv_Cal_Pinshare_Init();
  24. HV_LOG_DEBUG(PINSHARE,"Pinshare Init done\n");
  25. Hv_Chip_SwitchQspiRsic();
  26. Hv_Chip_DebugUartConfig();
  27. Hv_Chip_SetIOUserMode();
  28. return;
  29. }