| /pts/PtsModule_CVI.c |
|---|
| 1,17 → 1,6 |
| // sudo ./pts -a 0x1000000 -v 1 -w 2 turn LED ON |
| // sudo ./pts -a 0x1000000 -v 1 -w 1 turn LED OFF |
| // sudo ./ptsvmusb -a 0x02501000 -v 2 -i a.bit -b 2 |
| #include <stdlib.h> |
| #include <stdio.h> |
| #include <stdint.h> |
| #include <ctype.h> |
| #include <string.h> |
| #include "vme.h" |
| #include <cvirte.h> |
| #include "PtsModule.h" |
| 21,13 → 10,23 |
| #include <formatio.h> |
| static int p1; |
| // sudo ./pts -a 0x1000000 -v 1 -w 2 turn LED ON |
| // sudo ./pts -a 0x1000000 -v 1 -w 1 turn LED OFF |
| // sudo ./ptsvmusb -a 0x02501000 -v 2 -i a.bit -b 2 |
| #include <stdlib.h> |
| #include <stdio.h> |
| #include <ctype.h> |
| #include <string.h> |
| #include "vme.h" |
| int verbose; |
| uint32_t ptaddr=0; |
| char str[255]; |