FreeCalypso > hg > fc-tourmaline
comparison src/g23m-aci/aci/ati_cmd.c @ 296:a927f030a4e0
add AT@VIBR and AT@VIBS commands for testing VIBR SWE
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Mar 2022 00:43:11 +0000 |
parents | fa8dc04885d8 |
children | 91e61d00a6b5 |
comparison
equal
deleted
inserted
replaced
295:e5cfd6362158 | 296:a927f030a4e0 |
---|---|
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); | 783 EXTERN T_ATI_RSLT atPlusIOR (char *cl, UBYTE srcId); |
784 EXTERN T_ATI_RSLT atPlusIOW (char *cl, UBYTE srcId); | 784 EXTERN T_ATI_RSLT atPlusIOW (char *cl, UBYTE srcId); |
785 #ifdef RVM_VIBR_SWE | |
786 EXTERN T_ATI_RSLT atAtVIBR (char *cl, UBYTE srcId); | |
787 EXTERN T_ATI_RSLT atAtVIBS (char *cl, UBYTE srcId); | |
788 #endif | |
785 | 789 |
786 LOCAL const ATCommand_bas cmds_bas[] = | 790 LOCAL const ATCommand_bas cmds_bas[] = |
787 { | 791 { |
788 {"A", atA, 0, 0 }, | 792 {"A", atA, 0, 0 }, |
789 {"B", atBW, 0, 0 }, | 793 {"B", atBW, 0, 0 }, |
1255 {"@PWL", AT_CMD_AT_PWL, atAtPWL, test_gen, queatAtPWL, "%s: (0-255)"}, | 1259 {"@PWL", AT_CMD_AT_PWL, atAtPWL, test_gen, queatAtPWL, "%s: (0-255)"}, |
1256 #endif | 1260 #endif |
1257 {"+IOR", AT_CMD_IOR, atPlusIOR, test_gen, 0, "%s: (0-13)"}, | 1261 {"+IOR", AT_CMD_IOR, atPlusIOR, test_gen, 0, "%s: (0-13)"}, |
1258 {"+IOW", AT_CMD_IOW, atPlusIOW, test_gen, 0, | 1262 {"+IOW", AT_CMD_IOW, atPlusIOW, test_gen, 0, |
1259 "%s: (0-13),(0,1)"}, | 1263 "%s: (0-13),(0,1)"}, |
1264 #ifdef RVM_VIBR_SWE | |
1265 {"@VIBR", AT_CMD_AT_VIBR, atAtVIBR, 0, 0, 0}, | |
1266 {"@VIBS", AT_CMD_AT_VIBS, atAtVIBS, 0, 0, 0}, | |
1267 #endif | |
1260 /* terminator */ | 1268 /* terminator */ |
1261 {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL} | 1269 {NULL,AT_CMD_NONE,NULL,NULL,NULL,NULL} |
1262 }; | 1270 }; |
1263 | 1271 |
1264 static const char large_output_cmd[5][6] = | 1272 static const char large_output_cmd[5][6] = |