wm_at_ri_init.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /**
  2. * @file wm_at_ri_init.h
  3. *
  4. * @brief AT_RI task and interface resource initial Module
  5. *
  6. * @author winnermicro
  7. *
  8. * Copyright (c) 2015 Winner Microelectronics Co., Ltd.
  9. */
  10. #ifndef WM_AT_RI_H
  11. #define WM_AT_RI_H
  12. /**
  13. * @defgroup APP_APIs APP APIs
  14. * @brief APP APIs
  15. */
  16. /**
  17. * @addtogroup APP_APIs
  18. * @{
  19. */
  20. /**
  21. * @defgroup AT_RI_APIs AT_RI APIs
  22. * @brief AT_RI command APIs
  23. */
  24. /**
  25. * @addtogroup AT_RI_APIs
  26. * @{
  27. */
  28. /**
  29. * @brief This function is used to initialize hostif task
  30. used by AT&RI Command
  31. *
  32. * @param None
  33. *
  34. * @retval 0 success
  35. * @retval other failed
  36. *
  37. * @note Usually the system will call this api at power on.
  38. */
  39. int tls_hostif_init(void);
  40. /**
  41. * @}
  42. */
  43. /**
  44. * @}
  45. */
  46. /**
  47. * @brief This function is used to initialize high speed SPI
  48. *
  49. * @param None
  50. *
  51. * @retval 0 success
  52. * @retval other failed
  53. *
  54. * @note Users can decide to call this api or not according to his application.
  55. */
  56. int tls_hspi_init(void);
  57. /**
  58. * @brief This function is used to initialize UART
  59. *
  60. * @param None
  61. *
  62. * @return None
  63. *
  64. * @note Usually the system will call this api at power on.
  65. */
  66. void tls_uart_init(void);
  67. #endif /* WM_AT_RI_H */