Searched refs:pSensor (Results 1 – 1 of 1) sorted by relevance
107 … struct PhysicalSensor *pSensor, ///< pointer to structure describing physical sensor in installSensor() argument115 if (sfg && pSensor && bus_driver && initialize && read) in installSensor()117 pSensor->bus_driver = bus_driver; in installSensor()118 pSensor->deviceInfo.deviceInstance = busInfo->deviceInstance; in installSensor()119 pSensor->deviceInfo.functionParam = busInfo->functionParam; in installSensor()120 pSensor->deviceInfo.idleFunction = busInfo->idleFunction; in installSensor()122 …pSensor->initialize = initialize; // The initialization function is responsible for putting … in installSensor()124 …pSensor->read = read; // The read function is responsible for taking sensor read… in installSensor()126 pSensor->addr = addr; // I2C address if applicable in installSensor()127 pSensor->schedule = schedule; in installSensor()[all …]