hv_chip_Driver.c 628 B

123456789101112131415161718192021222324252627
  1. /**
  2. * @file hv_chip_Driver.c
  3. * @brief arch driver chip abstract layer file.
  4. *
  5. * @author HiView SoC Software Team
  6. * @version 1.0.0
  7. * @date 2023-09-27
  8. * @copyright Copyright(c),2023-9, Hiview Software. All rights reserved.
  9. * </table>
  10. */
  11. #include "hv_chip_Config.h"
  12. #include "hv_vos_Comm.h"
  13. /*
  14. * @param reset all the chip.
  15. * @param null
  16. * @retval null
  17. */
  18. void hv_chip_Reset(void)
  19. {
  20. Hv_Vos_FlushLogBuf();
  21. Hv_Chip_DebugUartPuts("reset...\n");
  22. Hv_Vos_Delayus(1000);
  23. HV_W32_FIELD(STANDBY_AON_REG_CLKGEN_AON, reg_sw_rst_n, 0);
  24. /* will not return heare. */
  25. return;
  26. }