Searched refs:temp (Results 1 - 8 of 8) sorted by relevance
/vendor/hisilicon/hispark_pegasus/demo/i2caht20_demo/test/ |
H A D | aht20_test.c | 48 float temp = 0.0, humi = 0.0; in Aht20TestTask() local 53 retval = AHT20_GetMeasureResult(&temp, &humi); in Aht20TestTask() 54 printf("AHT20_GetMeasureResult: %u, temp = %.2f, humi = %.2f\r\n", retval, temp, humi); in Aht20TestTask()
|
/vendor/hisilicon/hispark_pegasus/demo/environment_test_demo/ |
H A D | aht20.h | 27 uint32_t AHT20_GetMeasureResult(float* temp, float* humi);
|
H A D | aht20.c | 187 uint32_t AHT20_GetMeasureResult(float* temp, float* humi) in AHT20_GetMeasureResult() argument 190 if (temp == NULL || humi == NULL) { in AHT20_GetMeasureResult() 221 *temp = tempRaw / (float)AHT20_RESLUTION * TWO_HUNDRED - FIFTY; in AHT20_GetMeasureResult()
|
/vendor/hisilicon/hispark_pegasus/demo/i2caht20_demo/src/ |
H A D | aht20.h | 32 uint32_t AHT20_GetMeasureResult(float* temp, float* humi);
|
H A D | aht20.c | 190 uint32_t AHT20_GetMeasureResult(float* temp, float* humi) in AHT20_GetMeasureResult() argument 193 if (temp == NULL || humi == NULL) { in AHT20_GetMeasureResult() 228 *temp = tempRaw / (float)AHT20_RESOLUTION * TWO_HUNDRED - NUM_FIFTY; in AHT20_GetMeasureResult()
|
/vendor/hisilicon/hispark_pegasus/demo/samart_environmental_monitoring_system_demo/environment/ |
H A D | aht20.h | 26 uint32_t AHT20_GetMeasureResult(float* temp, float* humi);
|
H A D | aht20.c | 177 uint32_t AHT20_GetMeasureResult(float* temp, float* humi) in AHT20_GetMeasureResult() argument 180 if (temp == NULL || humi == NULL) { in AHT20_GetMeasureResult() 213 *temp = tempRaw / (float)AHT20_RESLUTION * TWO_HUNDRED - FIFTY; in AHT20_GetMeasureResult()
|
/vendor/hisilicon/hispark_pegasus/demo/nfc_demo/ |
H A D | app_demo_config.c | 307 unsigned int temp = 0; in Fm11DataRecvInterrupt() local 331 temp = (unsigned int)(Fm11ReadReg(FIFO_WORDCNT) & 0x3F); // 0x3F: 接收完全之后,查fifo有多少字节 in Fm11DataRecvInterrupt() 332 Fm11ReadFifo(temp, &rbuf[rlen]); // 读最后的数据 in Fm11DataRecvInterrupt() 333 rlen += temp; in Fm11DataRecvInterrupt() 355 unsigned int temp = 0; in Fm11DataRecv() local 380 temp =(unsigned int)(Fm11ReadReg(FIFO_WORDCNT) & 0x3F); // 0x3F: 接收完全之后,查fifo有多少字节 in Fm11DataRecv() 381 Fm11ReadFifo(temp, &rbuf[rlen]); // 读最后的数据 in Fm11DataRecv() 382 rlen += temp; in Fm11DataRecv()
|
Completed in 3 milliseconds