dac_config.h 700 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-06-16 thread-liu first version
  9. */
  10. #ifndef __DAC_CONFIG_H__
  11. #define __DAC_CONFIG_H__
  12. #include <rtthread.h>
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. #ifdef BSP_USING_DAC1
  17. #ifndef DAC1_CONFIG
  18. #define DAC1_CONFIG \
  19. { \
  20. .Instance = DAC1, \
  21. }
  22. #endif /* DAC1_CONFIG */
  23. #endif /* BSP_USING_DAC1 */
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif /* __DAC_CONFIG_H__ */