mtkernel_3/device/ser/sysdepend/tx03_m367/ser_cnf_m367.h | bare source | permlink (0.02 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * Device Driver for micro T-Kernel for μT-Kernel 3.00.03 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/03/31. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: 15: /* 16: * ser_cnf_m367.h 17: * Serial Device configuration file 18: * for TX03_M367 (TMPM369FDFG) 19: */ 20: #ifndef __DEV_SER_CNF_M367_H__ 21: #define __DEV_SER_CNF_M367_H__ 22: 23: #define DEVCNF_SER_INTPRI 5 // Interrupt priority 24: 25: /* Debug option 26: * Specify the device used by T-Monitor. 27: * 0: "sera" - UART4 28: * 1: "serb" - UART5 29: * other : T-Monitor does not use serial devices 30: */ 31: #if USE_TMONITOR 32: #define DEVCNF_SER_DBGUN 1 // Used by T-Monitor 33: #else 34: #define DEVCNF_SER_DBGUN -1 // T-Monitor not executed 35: #endif 36: 37: #endif /* __DEV_SER_CNF_M367_H__ */