comparison src/g23m-aci/aci/ati_cmd.c @ 670:def882d1b354

AT+IOR and AT+IOW GPIO commands implemented in aci3
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 28 May 2020 03:15:43 +0000
parents 4011858168a1
children
comparison
equal deleted inserted replaced
669:227d37a968ec 670:def882d1b354
778 #endif 778 #endif
779 #ifdef TARGET_HAS_PWL 779 #ifdef TARGET_HAS_PWL
780 EXTERN T_ATI_RSLT atAtPWL (char *cl, UBYTE srcId); 780 EXTERN T_ATI_RSLT atAtPWL (char *cl, UBYTE srcId);
781 EXTERN T_ATI_RSLT queatAtPWL (char *cl, UBYTE srcId); 781 EXTERN T_ATI_RSLT queatAtPWL (char *cl, UBYTE srcId);
782 #endif 782 #endif
783 EXTERN T_ATI_RSLT atPlusIOR (char *cl, UBYTE srcId);
784 EXTERN T_ATI_RSLT atPlusIOW (char *cl, UBYTE srcId);
783 785
784 LOCAL const ATCommand_bas cmds_bas[] = 786 LOCAL const ATCommand_bas cmds_bas[] =
785 { 787 {
786 {"A", atA, 0, 0 }, 788 {"A", atA, 0, 0 },
787 {"B", atBW, 0, 0 }, 789 {"B", atBW, 0, 0 },
1250 "%s: (0-3),(0-7),(0-7)"}, 1252 "%s: (0-3),(0-7),(0-7)"},
1251 #endif 1253 #endif
1252 #ifdef TARGET_HAS_PWL 1254 #ifdef TARGET_HAS_PWL
1253 {"@PWL", AT_CMD_AT_PWL, atAtPWL, test_gen, queatAtPWL, "%s: (0-255)"}, 1255 {"@PWL", AT_CMD_AT_PWL, atAtPWL, test_gen, queatAtPWL, "%s: (0-255)"},
1254 #endif 1256 #endif
1257 {"+IOR", AT_CMD_IOR, atPlusIOR, test_gen, 0, "%s: (0-13)"},
1258 {"+IOW", AT_CMD_IOW, atPlusIOW, test_gen, 0,
1259 "%s: (0-13),(0,1)"},
1255 /* terminator */ 1260 /* terminator */
1256 {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL} 1261 {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL}
1257 }; 1262 };
1258 1263
1259 static const char large_output_cmd[5][6] = 1264 static const char large_output_cmd[5][6] =