drv_config.h 905 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /*
  2. * Copyright (c) 2006-2025, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2025-05-28 RTT the first version
  9. */
  10. #ifndef __DRV_CONFIG_H__
  11. #define __DRV_CONFIG_H__
  12. #include "board.h"
  13. #include <rtthread.h>
  14. #ifdef __cplusplus
  15. extern "C"
  16. {
  17. #endif
  18. #if defined(SOC_CY8C624ALQI_S2D42) || defined(SOC_CY8C6347BZI_BLD53) || defined(SOC_CY8C6247BZI_D54) || defined(SOC_CY8C6244LQI_S4D92)
  19. #ifdef BSP_USING_ADC
  20. #include "cy8c62/adc_config.h"
  21. #endif
  22. #endif /* SOC_CY8C624ALQI_S2D42 */
  23. #if defined(SOC_XMC7100D_F144K4160AA)
  24. #ifdef BSP_USING_ADC
  25. #include "xmc7100/adc_config.h"
  26. #endif
  27. #endif /* SOC_XMC7100D_F144K4160AA */
  28. #if defined(SOC_XMC7200D_E272K8384AA)
  29. #ifdef BSP_USING_ADC
  30. #include "xmc7200/adc_config.h"
  31. #endif
  32. #endif /* SOC_XMC7200D_E272K8384AA */
  33. #ifdef __cplusplus
  34. }
  35. #endif
  36. #endif /* __DRV_CONFIG_H__ */