mtkernel_3/device/adc/adc_cnf.h | bare source | permlink (0.02 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * Device Driver for micro T-Kernel for μT-Kernel 3.00.05 4: * 5: * Copyright (C) 2020-2021 by Ken Sakamura. 6: * This software is distributed under the T-License 2.2. 7: *---------------------------------------------------------------------- 8: * 9: * Released by TRON Forum(http://www.tron.org) at 2021/11. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: /* 15: * adc_cnf.h 16: * A/D converter device driver configuration file 17: */ 18: #ifndef __DEV_ADC_CNF_H__ 19: #define __DEV_ADC_CNF_H__ 20: 21: #define DEVCNF_ADC_DEVNAME "adc" /* Device name ("adc") */ 22: 23: 24: /*---------------------------------------------------------------------*/ 25: /* Hardware dependent definition 26: */ 27: #ifdef CPU_TMPM367FDFG 28: #include "sysdepend/tx03_m367/adc_cnf_m367.h" 29: #endif /* CPU_TMPM367FDFG */ 30: #ifdef CPU_RX231 31: #include "sysdepend/rx231/adc_cnf_rx231.h" 32: #endif /* CPU_RX231 */ 33: #ifdef CPU_STM32L4 34: #include "sysdepend/stm32l4/adc_cnf_stm32l4.h" 35: #endif /* CPU_STM32L4 */ 36: #ifdef CPU_RZA2M 37: #include "sysdepend/rza2m/adc_cnf_rza2m.h" 38: #endif /* CPU_RZA2M */ 39: 40: #endif /* __DEV_ADC_CNF_H__ */