| | |
| | | //0组 |
| | | #define MCU_A 0x01 |
| | | #define CHG_G 0x02 |
| | | #define LORA_IRQ 0x03 |
| | | #define LORA_NRST 0x04 |
| | | //#define LORA_IRQ 0x03 |
| | | //#define LORA_NRST 0x04 |
| | | #define ADC_MINIUS 0x05 |
| | | #define INPUT_5V 0x06 |
| | | #define PWR_ON 0x07 |
| | |
| | | //input 0组 |
| | | #define MCU_A_POSITION (1<<(MAX_GPIO_NUM-MCU_A)) |
| | | #define CHG_G_POSITION (1<<(MAX_GPIO_NUM-CHG_G)) |
| | | #define LORA_IRQ_POSITION (1<<(MAX_GPIO_NUM-LORA_IRQ)) |
| | | #define LORA_NRST_POSITION (1<<(MAX_GPIO_NUM-LORA_NRST)) |
| | | //#define LORA_IRQ_POSITION (1<<(MAX_GPIO_NUM-LORA_IRQ)) |
| | | //#define LORA_NRST_POSITION (1<<(MAX_GPIO_NUM-LORA_NRST)) |
| | | #define ADC_MINIUS_POSITION (1<<(MAX_GPIO_NUM-ADC_MINIUS)) |
| | | #define INPUT_5V_POSITION (1<<(MAX_GPIO_NUM-INPUT_5V)) |
| | | #define PWR_ON_POSITION (1<<(MAX_GPIO_NUM-PWR_ON)) |