Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 304 → Rev 307

/cvi/instr/WUSBVME_DLL/wusbvme_dll.c
164,7 → 164,7
WIENER_VMUSB_StackInit();
}
 
int WIENER_VMUSB_StackGetUint16(int maxn, uint16_t *stack) {
int WIENER_VMUSB_StackGetUInt16(int maxn, uint16_t *stack) {
int i;
uint16_t * u16Stack = (uint16_t *) fStack;
for (i=0; i< fStackSize*2; i++) {
174,7 → 174,7
return fStackSize*2;
}
 
int WIENER_VMUSB_StackGetUint32(int maxn, uint32_t *stack) {
int WIENER_VMUSB_StackGetUInt32(int maxn, uint32_t *stack) {
int i;
uint16_t * u16Stack = (uint16_t *) fStack;
for (i=0; i< fStackSize*2; i++) {
242,7 → 242,7
}
uint16_t * exstack = (uint16_t *) wusbcc_stack;
exstack[0]=0;
nb = WIENER_VMUSB_StackGetUint16(MAXSTACKSIZE, &exstack[1] );
nb = WIENER_VMUSB_StackGetUInt16(MAXSTACKSIZE, &exstack[1] );
//printf("WUSBXX_stack_execute stack size %d\n", nb);
//WIENER_VMUSB_StackPrint();
nb = xxusb_longstack_execute (dev, exstack, nb, 1000);
/cvi/instr/WUSBVME_DLL/wusbvme_dll.h
57,8 → 57,8
void WIENER_VMUSB_StackMultiRead(int addr_modifier,int d16d32, uint32_t baseaddr, int n,uint32_t increment);
void WIENER_VMUSB_StackMultiWrite(int addr_modifier,int d16d32,uint32_t baseaddr, int n, uint32_t increment, uint32_t data);
 
int WIENER_VMUSB_StackGetUint32(int maxn, uint32_t *stack);
int WIENER_VMUSB_StackGetUint16(int maxn, uint16_t *stack);
int WIENER_VMUSB_StackGetUInt32(int maxn, uint32_t *stack);
int WIENER_VMUSB_StackGetUInt16(int maxn, uint16_t *stack);
void WIENER_VMUSB_StackPrint();