Home
last modified time | relevance | path

Searched refs:status (Results 1 – 6 of 6) sorted by relevance

/RvlSDK-WPAD-WBC-3.1/build/demos/wbcdemo/src/
Dsimple_wbc.c37 static WPADBLStatus status; variable
74 zero[0] = status.press[0]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
75 zero[1] = status.press[1]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
76 zero[2] = status.press[2]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
77 zero[3] = status.press[3]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
87 WPADRead(WPAD_CHAN3, &status); in ZeroSetStart()
90 if((status.temp == 127) || (status.temp == -128)) in ZeroSetStart()
102 zero[0] = status.press[0]; //Normally, set the average for 2 seconds. in ZeroSetStart()
103 zero[1] = status.press[1]; //Normally, set the average for 2 seconds. in ZeroSetStart()
104 zero[2] = status.press[2]; //Normally, set the average for 2 seconds. in ZeroSetStart()
[all …]
Dbalance.c37 static WPADBLStatus status; variable
74 zero[0] = status.press[0]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
75 zero[1] = status.press[1]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
76 zero[2] = status.press[2]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
77 zero[3] = status.press[3]; //Normally, set the average for 2 seconds. in ZeroSetStart2()
87 WPADRead(WPAD_CHAN3, &status); in ZeroSetStart()
90 if((status.temp == 127) || (status.temp == -128)) in ZeroSetStart()
102 zero[0] = status.press[0]; //Normally, set the average for 2 seconds. in ZeroSetStart()
103 zero[1] = status.press[1]; //Normally, set the average for 2 seconds. in ZeroSetStart()
104 zero[2] = status.press[2]; //Normally, set the average for 2 seconds. in ZeroSetStart()
[all …]
Dhandling_weight.c44 WPADBLStatus status; variable
129 WPADRead(WPAD_CHAN3, &status); in ZeroSetStart()
132 if((status.temp == 127) || (status.temp == -128)) in ZeroSetStart()
402 WPADRead(WPAD_CHAN3, &status); in renderStatus()
404 DEMOPrintf( 95, 40, 0, "%5d", status.press[0]); in renderStatus()
405 DEMOPrintf( 95, 110, 0, "%5d", status.press[1]); in renderStatus()
406 DEMOPrintf( 10, 40, 0, "%5d", status.press[2]); in renderStatus()
407 DEMOPrintf( 10, 110, 0, "%5d", status.press[3]); in renderStatus()
409 isExist = WBCRead(&status, weight, (u32)(sizeof(weight) / sizeof(weight[0]))); in renderStatus()
418 zero_point[0] += status.press[0]; in renderStatus()
[all …]
/RvlSDK-WPAD-WBC-3.1/build/demos/wpadHealthdemo/src/
Dhandling.c64 WPADBLStatus status; variable
363 WPADRead(WPAD_CHAN3, &status); in renderStatus()
365 DEMOPrintf(100, 40, 0, "%04x", status.press[0]); in renderStatus()
366 DEMOPrintf(100, 110, 0, "%04x", status.press[1]); in renderStatus()
367 DEMOPrintf( 25, 40, 0, "%04x", status.press[2]); in renderStatus()
368 DEMOPrintf( 25, 110, 0, "%04x", status.press[3]); in renderStatus()
370 DEMOPrintf(200, 20, 0, "Temp %d", status.temp); in renderStatus()
371 DEMOPrintf(200, 30, 0, "Batt %d", status.battery); in renderStatus()
/RvlSDK-WPAD-WBC-3.1/include/revolution/
Dwbc.h33 s32 WBCRead ( WPADBLStatus *status, double weight[], u32 size );
36 double WBCGetTGCWeight ( double total_weight_ave, WPADBLStatus *status );
Dwpad.h624 void WPADRead ( s32 chan, void *status );
631 void WPADClampStick ( u32 fmt, void *status );
633 void WPADClampStick ( s32 chan, void *status, u32 type );
634 void WPADClampTrigger ( s32 chan, void *status, u32 type );
635 void WPADClampAcc ( s32 chan, void *status, u32 type );