drv_dac.h 485 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-09-09 WCH the first version
  9. * 2022-09-17 hg0720 add some operation function
  10. */
  11. #ifndef DRV_DAC_H__
  12. #define DRV_DAC_H__
  13. typedef struct
  14. {
  15. DAC_TypeDef *Instance;
  16. DAC_InitTypeDef Init;
  17. rt_uint32_t Channel;
  18. }DAC_HandleTypeDef;
  19. #endif