Home
last modified time | relevance | path

Searched refs:bl (Results 1 – 5 of 5) sorted by relevance

/RvlSDK-3.2/build/demos/kpaddemo/src/
Dweight.c184 if( kpads[0].ex_status.bl.weight_err < 0 ) in renderStatus()
195 DEMOPrintf( 95, 55, 0, "%3.1f", kpads[0].ex_status.bl.weight[0] ) ; in renderStatus()
196 DEMOPrintf( 95, 125, 0, "%3.1f", kpads[0].ex_status.bl.weight[1] ) ; in renderStatus()
197 DEMOPrintf( 10, 55, 0, "%3.1f", kpads[0].ex_status.bl.weight[2] ) ; in renderStatus()
198 DEMOPrintf( 10, 125, 0, "%3.1f", kpads[0].ex_status.bl.weight[3] ) ; in renderStatus()
199 … DEMOPrintf( 175, 60, 0, "Wt :%3.1f[kg]", ( kpads[0].ex_status.bl.weight_ave[0] \ in renderStatus()
200 … + kpads[0].ex_status.bl.weight_ave[1] \ in renderStatus()
201 … + kpads[0].ex_status.bl.weight_ave[2] \ in renderStatus()
202 … + kpads[0].ex_status.bl.weight_ave[3] ) ) ; in renderStatus()
203 DEMOPrintf( 175, 70, 0, "Wt(TGC):%3.1f[kg]", kpads[0].ex_status.bl.tgc_weight ) ; in renderStatus()
[all …]
/RvlSDK-3.2/build/libraries/kpad/src/
DKPAD.c1819 … } else if ( uwp->u.bl.dev == WPAD_DEV_BALANCE_CHECKER && uwp->fmt == WPAD_FMT_BALANCE_CHECKER ) { in read_kpad_ext()
1827 if ( WBCGetBatteryLevel( uwp->u.bl.battery ) == 0 ) { in read_kpad_ext()
1829 ep->bl.weight_err = KPAD_WBC_ERR_NO_BATTERY ; in read_kpad_ext()
1832 ep->bl.weight_err = KPAD_WBC_ERR_SETUP ; in read_kpad_ext()
1833 } else if ( uwp->u.bl.temp == 127 || uwp->u.bl.temp == -128 ) { in read_kpad_ext()
1835 ep->bl.weight_err = KPAD_WBC_ERR_WRONG_TEMP ; in read_kpad_ext()
1837 ep->bl.weight_err = WBCRead( &( uwp->u.bl ), ep->bl.weight, WPAD_PRESS_UNITS ) ; in read_kpad_ext()
1838 if ( ep->bl.weight_err >= 0 ) { in read_kpad_ext()
1840 …wbcWeightAve [ idx ] = ( kp->wbcWeightAve[ idx ] * kp_wbc_ave_sample + ep->bl.weight[ idx ] ) / ( … in read_kpad_ext()
1841 ep->bl.weight_ave[ idx ] = kp->wbcWeightAve[ idx ] ; in read_kpad_ext()
[all …]
/RvlSDK-3.2/include/revolution/
Dkpad.h134 } bl ; member
174 WPADBLStatus bl ; member
/RvlSDK-3.2/build/demos/gxdemo/src/DisplayList/
DDL-tf-mtx.c586 u16 bt, bb, br, bl; in CheckMissingObj() local
591 GXReadBoundingBox(&bl, &bt, &br, &bb); in CheckMissingObj()
593 if ( br <= 0 && bl >= 640 ) in CheckMissingObj()
/RvlSDK-3.2/build/demos/wpaddemo/src/
Dwpadsample.c1314 WPADBLStatus *bl = (WPADBLStatus*)&wpad; in renderStatus() local
1317 …rintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH) , (s16)(y+FONT_HEIGHT), 0, "%04d", bl->press[0]); in renderStatus()
1318 …rintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH + 45), y+=FONT_HEIGHT, 0, "%04d", bl->press[1]); in renderStatus()
1319 …rintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH) , (s16)(y+FONT_HEIGHT), 0, "%04d", bl->press[2]); in renderStatus()
1320 …rintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH + 45), y+=FONT_HEIGHT, 0, "%04d", bl->press[3]); in renderStatus()
1322 …Printf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH), y+=FONT_HEIGHT, 0, "%04d", bl->battery); in renderStatus()
1324 …EMOPrintf((s16)(x + CHAN_INDENT * i + ITEM_WIDTH), y+=FONT_HEIGHT, 0, "%04d", bl->temp); in renderStatus()