drv_dac.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * Copyright (C) 2022-2024, Xiaohua Semiconductor Co., Ltd.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023-05-12 CDT first version
  9. */
  10. #ifndef __DRV_DAC_H__
  11. #define __DRV_DAC_H__
  12. /*******************************************************************************
  13. * Include files
  14. ******************************************************************************/
  15. /* C binding of definitions if building with C++ compiler */
  16. #ifdef __cplusplus
  17. extern "C"
  18. {
  19. #endif
  20. /*******************************************************************************
  21. * Global type definitions ('typedef')
  22. ******************************************************************************/
  23. struct dac_dev_init_params
  24. {
  25. char name[8];
  26. };
  27. /*******************************************************************************
  28. * Global pre-processor symbols/macros ('#define')
  29. ******************************************************************************/
  30. /*******************************************************************************
  31. * Global variable definitions ('extern')
  32. ******************************************************************************/
  33. /*******************************************************************************
  34. * Global function prototypes (definition in C source)
  35. ******************************************************************************/
  36. int rt_hw_dac_init(void);
  37. #ifdef __cplusplus
  38. }
  39. #endif
  40. #endif /* __DRV_DAC_H__ */
  41. /*******************************************************************************
  42. * EOF (not truncated)
  43. ******************************************************************************/