diff 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
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_cmd.c	Thu May 28 02:55:26 2020 +0000
+++ b/src/g23m-aci/aci/ati_cmd.c	Thu May 28 03:15:43 2020 +0000
@@ -780,6 +780,8 @@
 EXTERN T_ATI_RSLT atAtPWL (char *cl, UBYTE srcId);
 EXTERN T_ATI_RSLT queatAtPWL (char *cl, UBYTE srcId);
 #endif
+EXTERN T_ATI_RSLT atPlusIOR (char *cl, UBYTE srcId);
+EXTERN T_ATI_RSLT atPlusIOW (char *cl, UBYTE srcId);
 
 LOCAL const ATCommand_bas cmds_bas[] =
 {
@@ -1252,6 +1254,9 @@
 #ifdef TARGET_HAS_PWL
     {"@PWL",	AT_CMD_AT_PWL,   atAtPWL, test_gen, queatAtPWL, "%s: (0-255)"},
 #endif
+    {"+IOR",	AT_CMD_IOR,      atPlusIOR,	test_gen, 0,	"%s: (0-13)"},
+    {"+IOW",	AT_CMD_IOW,      atPlusIOW,	test_gen, 0,
+						"%s: (0-13),(0,1)"},
     /* terminator */
     {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL}
 };