nidas v1.2.3
|
#include <sys/types.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | dsm_sample |
Macros | |
#define | SIZEOF_DSM_SAMPLE_HEADER (sizeof(dsm_sample_time_t) + sizeof(dsm_sample_length_t)) |
#define | NSECS_PER_SEC 1000000000 |
#define | NSECS_PER_MSEC 1000000 |
#define | NSECS_PER_TMSEC 100000 |
#define | NSECS_PER_USEC 1000 |
#define | USECS_PER_MSEC 1000 |
#define | USECS_PER_TMSEC 100 |
#define | TMSECS_PER_MSEC 10 |
#define | USECS_PER_SEC 1000000 |
#define | MSECS_PER_SEC 1000 |
#define | TMSECS_PER_SEC 10000 |
#define | MSECS_PER_DAY 86400000 |
#define | TMSECS_PER_DAY 864000000 |
#define | SECS_PER_DAY 86400 |
Typedefs | |
typedef int | dsm_sample_time_t |
Depending on the module, either tenths of milliseconds, or milliseconds since 00:00 UTC today. | |
typedef unsigned int | dsm_sample_length_t |
length of data portion of sample. | |
typedef struct dsm_sample | dsm_sample_t |
#define MSECS_PER_DAY 86400000 |
#define MSECS_PER_SEC 1000 |
#define NSECS_PER_MSEC 1000000 |
#define NSECS_PER_SEC 1000000000 |
#define NSECS_PER_TMSEC 100000 |
Referenced by get_irig_time_nolock(), oneHzFunction(), and setSoftTickers().
#define NSECS_PER_USEC 1000 |
#define SECS_PER_DAY 86400 |
#define SIZEOF_DSM_SAMPLE_HEADER (sizeof(dsm_sample_time_t) + sizeof(dsm_sample_length_t)) |
#define TMSECS_PER_DAY 864000000 |
Referenced by checkSoftTicker(), oneHzFunction(), pc104sg_bh_100Hz(), screen_timetag(), screen_timetag_init(), setSoftTickers(), and timeavg_filter().
#define TMSECS_PER_MSEC 10 |
#define TMSECS_PER_SEC 10000 |
#define USECS_PER_MSEC 1000 |
Referenced by SampleCounter::accumulateSample(), nidas::dynld::raf::DSMArincSensor::buildIODevice(), nidas::dynld::raf::DSMMesaSensor::buildIODevice(), nidas::dynld::raf::A2DBoardTempSensor::buildSampleScanner(), nidas::dynld::raf::DSMAnalogSensor::buildSampleScanner(), configA2D(), configBoard(), nidas::dynld::isff::CSAT3_Sonic::dataMode(), nidas::dynld::raf::DSMAnalogSensor::getInt32TimeTagUsecs(), nidas::dynld::raf::DSMArincSensor::getInt32TimeTagUsecs(), nidas::dynld::ParoSci_202BG_T::getPeriodUsec(), nidas::core::SensorHandler::getSensorStatsInterval(), getTimeUsec(), nidas::core::SensorHandler::handlePollingChange(), irigTousec(), nidas::dynld::isff::MOSMote::MOS_TimeSyncer::looperNotify(), main(), nidas::dynld::DSC_FreqCounter::open(), nidas::dynld::isff::CSAT3_Sonic::open(), nidas::dynld::ModbusRTU::open(), nidas::dynld::GPS_NMEA_Serial::parseGGA(), nidas::dynld::isff::CSI_IRGA_Sonic::parseParameters(), nidas::dynld::GPS_NMEA_Serial::parseRMC(), DataStats::printReport(), nidas::dynld::raf::DSMArincSensor::process(), nidas::dynld::isff::CU_Coldwire::process(), nidas::dynld::raf::BCPD_Serial::process(), nidas::dynld::raf::SPP100_Serial::process(), nidas::dynld::raf::SPP200_Serial::process(), nidas::dynld::raf::SPP300_Serial::process(), nidas::dynld::raf::DSMArincSensor::processAlta(), nidas::dynld::raf::SyncRecordSource::receive(), nidas::dynld::raf::CVIOutput::receive(), Receiver::Receiver(), TestSource::run(), nidas::core::Looper::run(), nidas::core::SampleSorter::run(), Receiver::scanBuffer(), Sender::send(), Sender::Sender(), nidas::core::SensorHandler::setSensorStatsInterval(), nidas::util::sleepUntil(), startBoard(), nidas::dynld::StatisticsCruncher::StatisticsCruncher(), and nidas::dynld::isff::WisardMote::unpack10thSec().
#define USECS_PER_SEC 1000000 |
#define USECS_PER_TMSEC 100 |
typedef unsigned int dsm_sample_length_t |
length of data portion of sample.
typedef struct dsm_sample dsm_sample_t |
typedef int dsm_sample_time_t |
Depending on the module, either tenths of milliseconds, or milliseconds since 00:00 UTC today.
The user-side code that interprets the samples must know the time units.