File libaccelSensor.c


Included Files


Local Variables

ThSht
static const u_int ThSht
Used in: getAccelTH()  
  setAccelTH()  

Global Function getAccelTH()

get acceleration sensor thresh-hold value in 'ReqEventHndl'

void getAccelTH ( __uint32_t thDec, u_short th[NUM_accElem] )

__uint32_t thDec
encoded thresh-hold value
u_short th[NUM_accElem]
decode value store buffer
return decode value

Prototyped in: libaccelSensor.h
References Variables: ThSht libaccelSensor.c

Global Function setAccelTH()

set acceleration sensor thresh-hold value for 'ReqEventHndl'

__uint32_t setAccelTH ( u_short th[NUM_accElem] )

u_short th[NUM_accElem]
thresh-hold by axis
return encode value of x, y, z axis thresh-hold

Prototyped in: libaccelSensor.h
References Variables: ThSht libaccelSensor.c