NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
#define DIACCL_CTRL2_DETPOL_NEGAND   0x02

Accelerometer pulse detection polarity is negative and detecting condition is AND all 3 axes