#include <otRadiationCount.h>
Public Member Functions | |
otRadiationCount () | |
bool | init (U8 portCountBit, U8 portNoiseBit, U8 timerId) |
bool | sample (bool &noise) |
U32 | integrationTime () |
U32 | currentRadiationCount () |
U32 | radiationCount () |
F32 | cpm () |
F32 | uSvh () |
F32 | uSvhError () |
Static Public Attributes | |
static U32 | _radiationCount |
static U32 | _noiseCount |
|
Create the class |
|
Return the number of radiation count by minute.
|
|
Return the current radiation count, that is the number of Gamma ray since the last call to sample(), which reset the current count to 0.
|
|
Init the class
|
|
Integration time of traced radiation count (in milliseconds), grows gradually to HISTORY_LENGTH * HISTORY_UNIT * 1000.
|
|
Return the radiation count, that is the number of Gamma ray occured during the integration time.
|
|
Call this procedure in infinite loop.
|
|
Return the radiation dose, exprimed in Sievert (uSv/h).
|
|
Return the error of the measurement (uSv/h). The range of precision of the measurement is: [ uSvh-uSvhError, uSvh+uSvhError ].
|
|
|
|
|