M28/APP/user/PINdef.h

33 lines
579 B
C
Raw Permalink Normal View History

2024-07-13 20:32:59 +08:00
#ifndef __PINDEF_H__
#define __PINDEF_H__
#include "iodefine.h"
2024-07-21 09:56:43 +08:00
#define I_Key_AM P2_bit.no3
#define I_Key_JS P14_bit.no7
2024-07-13 20:32:59 +08:00
2024-08-10 15:50:55 +08:00
#define I_IGN P13_bit.no7
2024-07-21 09:56:43 +08:00
#define O_T1 P1_bit.no5
#define O_T2 P1_bit.no4
2024-07-13 20:32:59 +08:00
#define O_T3 P1_bit.no3
#define O_T4 P3_bit.no0
2024-07-21 09:56:43 +08:00
2024-07-13 20:32:59 +08:00
#define O_PUMP P5_bit.no1
2024-07-21 09:56:43 +08:00
#define O_RLY1 P3_bit.no0
#define O_RLY2 P5_bit.no0
2024-07-13 20:32:59 +08:00
#define AD_SCAN_STEP1_CH _01_AD_INPUT_CHANNEL_1
#define AD_SCAN_STEP2_CH _02_AD_INPUT_CHANNEL_2
#define HIGH_CONFIG 1
#define LOW_CONFIG 0
#define CONFIG LOW_CONFIG
#endif