M28/APP/user/PINdef.h
2024-08-10 15:50:55 +08:00

33 lines
579 B
C

#ifndef __PINDEF_H__
#define __PINDEF_H__
#include "iodefine.h"
#define I_Key_AM P2_bit.no3
#define I_Key_JS P14_bit.no7
#define I_IGN P13_bit.no7
#define O_T1 P1_bit.no5
#define O_T2 P1_bit.no4
#define O_T3 P1_bit.no3
#define O_T4 P3_bit.no0
#define O_PUMP P5_bit.no1
#define O_RLY1 P3_bit.no0
#define O_RLY2 P5_bit.no0
#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