Changeset 261 for tools/FAD/simple_daq/cmd_send.cpp
- Timestamp:
- 07/22/10 12:02:25 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/FAD/simple_daq/cmd_send.cpp
r248 r261 63 63 CMD_Buffer[0] = htons (CMD_DWRITE_STOP); 64 64 printf ("# DWRITE LOW ->\n"); 65 printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0])); 66 } 67 68 else if (strncmp (Buffer, "sclkon\n", 6) == 0) 69 { 70 CMD_Buffer[0] = htons (CMD_SCLK_ON); 71 printf ("# SCLK ENABLED ->\n"); 72 printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0])); 73 } 74 else if (strncmp (Buffer, "sclkoff\n", 7) == 0) 75 { 76 CMD_Buffer[0] = htons (CMD_SCLK_OFF); 77 printf ("# SCLK DISABLED ->\n"); 65 78 printf ("# 0x%.4X\n", ntohs (CMD_Buffer[0])); 66 79 } … … 236 249 printf (" dd: DENABLE LOW\n"); 237 250 printf (" dr: DWRITE HIGH\n"); 238 printf (" ds: DWRITE LOW\n\n"); 251 printf (" ds: DWRITE LOW\n"); 252 printf (" sclkon: Switch SPI SLCK on\n"); 253 printf (" sclkoff: Switch SPI SLCK off\n"); 239 254 printf (" tc: Continuous Trigger\n"); 240 255 printf (" ts: Stop Trigger\n");
Note:
See TracChangeset
for help on using the changeset viewer.