/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | grovewfs.js | 38 var millis, flowCount, fr; variable 43 millis = myWaterFlow_obj.getMillis(); 49 outputStr = "Millis: " + millis + " Flow Count: " + flowCount +
|
D | groveehr.js | 37 var millis, beats, hr; variable 41 millis = myHeartRateSensor.getMillis(); 49 console.log("Millis: " + millis + " Beats: " + beats +
|
/hardware/bsp/intel/peripheral/libupm/src/groveehr/ |
D | groveehr.cxx | 118 uint32_t millis = getMillis(); in heartRate() local 124 if (millis > 5000) in heartRate() 126 heartRate = (float(beats) / (float(millis) / 1000.0)) * 60.0; in heartRate()
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | GroveEHRSample.java | 48 long millis = heart.getMillis(); in main() local 56 System.out.println("Millis: " + millis + ", Beats: " + beats + ", Heart rate: " + hr); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | grovewfs.cxx | 57 uint32_t millis = flow->getMillis(); in main() local 63 cout << "Millis: " << millis << " Flow Count: " << flowCount; in main()
|
D | groveehr.cxx | 57 uint32_t millis = heart->getMillis(); in main() local 65 cout << "Millis: " << millis << " Beats: " << beats; in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | grovewfs.py | 55 millis = myWaterFlow.getMillis() variable 62 millis, flowCount, fr)
|
D | groveehr.py | 57 millis = myHeartRateSensor.getMillis() variable 66 millis, beats, fr)
|
/hardware/bsp/intel/peripheral/libupm/src/grovegprs/ |
D | grovegprs.cxx | 43 bool GroveGPRS::dataAvailable(unsigned int millis) in dataAvailable() argument 45 return m_uart.dataAvailable(millis); in dataAvailable()
|
D | grovegprs.h | 93 bool dataAvailable(unsigned int millis);
|
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/ |
D | hmtrp.h | 116 bool dataAvailable(unsigned int millis=0); 127 int readData(char *buffer, int len, int millis=-1);
|
D | hmtrp.cxx | 78 bool HMTRP::dataAvailable(unsigned int millis) in dataAvailable() argument 86 timeout.tv_usec = millis * 1000; in dataAvailable() 101 int HMTRP::readData(char *buffer, int len, int millis) in readData() argument 107 if (millis >= 0) in readData() 109 if (!dataAvailable(millis)) in readData()
|
/hardware/bsp/intel/peripheral/libupm/src/grovewfs/ |
D | grovewfs.cxx | 117 uint32_t millis = getMillis(); in flowRate() local 121 float flowRate = (float(flow) * 7.5) / ((float(millis) / 1000.0) * 60.0); in flowRate()
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | uart.hpp | 161 dataAvailable(unsigned int millis = 0) in dataAvailable() argument 163 if (mraa_uart_data_available(m_uart, millis)) in dataAvailable()
|
D | uart.h | 165 mraa_boolean_t mraa_uart_data_available(mraa_uart_context dev, unsigned int millis);
|
/hardware/bsp/intel/peripheral/libupm/src/grovescam/ |
D | grovescam.cxx | 82 bool GROVESCAM::dataAvailable(unsigned int millis) in dataAvailable() argument 89 if (millis == 0) in dataAvailable() 97 timeout.tv_sec = millis / 1000; in dataAvailable() 98 timeout.tv_usec = (millis % 1000) * 1000; in dataAvailable()
|
D | grovescam.h | 108 bool dataAvailable(unsigned int millis);
|
/hardware/bsp/intel/peripheral/libupm/src/hm11/ |
D | hm11.cxx | 74 bool HM11::dataAvailable(unsigned int millis) in dataAvailable() argument 83 timeout.tv_usec = millis * 1000; in dataAvailable()
|
D | hm11.h | 102 bool dataAvailable(unsigned int millis);
|
/hardware/bsp/intel/peripheral/libupm/src/mhz16/ |
D | mhz16.cxx | 76 bool MHZ16::dataAvailable(unsigned int millis) in dataAvailable() argument 85 timeout.tv_usec = millis * 1000; in dataAvailable()
|
D | mhz16.h | 97 bool dataAvailable(unsigned int millis);
|
/hardware/bsp/intel/peripheral/libmraa/src/uart/ |
D | uart.c | 497 mraa_uart_data_available(mraa_uart_context dev, unsigned int millis) in mraa_uart_data_available() argument 511 if (millis == 0) { in mraa_uart_data_available() 516 timeout.tv_sec = millis / 1000; in mraa_uart_data_available() 517 timeout.tv_usec = (millis % 1000) * 1000; in mraa_uart_data_available()
|
/hardware/bsp/intel/peripheral/libupm/src/wt5001/ |
D | wt5001.h | 140 bool dataAvailable(unsigned int millis);
|
D | wt5001.cxx | 77 bool WT5001::dataAvailable(unsigned int millis) in dataAvailable() argument 86 timeout.tv_usec = millis * 1000; in dataAvailable()
|
/hardware/bsp/intel/peripheral/libupm/src/zfm20/ |
D | zfm20.h | 170 bool dataAvailable(unsigned int millis);
|