Home
last modified time | relevance | path

Searched refs:NUMBER_OF_SAMPLES (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/ecs1030/
Decs1030.cxx60 for (int i = 0; i < NUMBER_OF_SAMPLES; i++) { in getCurrency_A()
68 rms = rms / (float)NUMBER_OF_SAMPLES; in getCurrency_A()
77 for (int i = 0; i < NUMBER_OF_SAMPLES; i++) { in getCurrency_B()
86 return ( ratio * sqrt(sumCurrency / NUMBER_OF_SAMPLES) ); in getCurrency_B()
Decs1030.h33 #define NUMBER_OF_SAMPLES 500 macro
77 static const uint8_t DELAY_MS = 20000 / NUMBER_OF_SAMPLES; /* 1/50Hz is 20ms period */