mtkernel_3/device/adc/sysdepend/tx03_m367/adc_cnf_m367.h | bare source | permlink (0.00 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * Device Driver for micro T-Kernel for μT-Kernel 3.0 4: * 5: * Copyright (C) 2020 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 2020/10/21. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: 15: /* 16: * adc_cnf_m367.h 17: * A/D converter device driver configuration file 18: * for TX03_M367 (TMPM369FDFG) 19: */ 20: #ifndef __DEV_ADC_CNF_M367_H__ 21: #define __DEV_ADC_CNF_M367_H__ 22: 23: /* Device control data */ 24: /* ADC Unit-A */ 25: #define DEVCNF_ADCA_CLK 0x00000001 // Clock setting (ADxCLK register initial value) 26: #define DEVCNF_ADCA_INTPRI 5 // Interrupt priority 27: #define DEVCNF_ADCA_TMOSCAN 1000 // A/D conversion timeout time 28: 29: /* ADC Unit-B */ 30: #define DEVCNF_ADCB_CLK 0x00000001 // Clock setting (ADxCLK register initial value) 31: #define DEVCNF_ADCB_INTPRI 5 // Interrupt priority 32: #define DEVCNF_ADCB_TMOSCAN 1000 // A/D conversion timeout time 33: 34: #endif /* __DEV_ADC_CNF_M367_H__ */