Home
last modified time | relevance | path

Searched refs:millis (Results 1 – 25 of 26) sorted by relevance

12

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgrovewfs.js38 var millis, flowCount, fr; variable
43 millis = myWaterFlow_obj.getMillis();
49 outputStr = "Millis: " + millis + " Flow Count: " + flowCount +
Dgroveehr.js37 var millis, beats, hr; variable
41 millis = myHeartRateSensor.getMillis();
49 console.log("Millis: " + millis + " Beats: " + beats +
/hardware/bsp/intel/peripheral/libupm/src/groveehr/
Dgroveehr.cxx118 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/
DGroveEHRSample.java48 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++/
Dgrovewfs.cxx57 uint32_t millis = flow->getMillis(); in main() local
63 cout << "Millis: " << millis << " Flow Count: " << flowCount; in main()
Dgroveehr.cxx57 uint32_t millis = heart->getMillis(); in main() local
65 cout << "Millis: " << millis << " Beats: " << beats; in main()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgrovewfs.py55 millis = myWaterFlow.getMillis() variable
62 millis, flowCount, fr)
Dgroveehr.py57 millis = myHeartRateSensor.getMillis() variable
66 millis, beats, fr)
/hardware/bsp/intel/peripheral/libupm/src/grovegprs/
Dgrovegprs.cxx43 bool GroveGPRS::dataAvailable(unsigned int millis) in dataAvailable() argument
45 return m_uart.dataAvailable(millis); in dataAvailable()
Dgrovegprs.h93 bool dataAvailable(unsigned int millis);
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/
Dhmtrp.h116 bool dataAvailable(unsigned int millis=0);
127 int readData(char *buffer, int len, int millis=-1);
Dhmtrp.cxx78 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/
Dgrovewfs.cxx117 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/
Duart.hpp161 dataAvailable(unsigned int millis = 0) in dataAvailable() argument
163 if (mraa_uart_data_available(m_uart, millis)) in dataAvailable()
Duart.h165 mraa_boolean_t mraa_uart_data_available(mraa_uart_context dev, unsigned int millis);
/hardware/bsp/intel/peripheral/libupm/src/grovescam/
Dgrovescam.cxx82 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()
Dgrovescam.h108 bool dataAvailable(unsigned int millis);
/hardware/bsp/intel/peripheral/libupm/src/hm11/
Dhm11.cxx74 bool HM11::dataAvailable(unsigned int millis) in dataAvailable() argument
83 timeout.tv_usec = millis * 1000; in dataAvailable()
Dhm11.h102 bool dataAvailable(unsigned int millis);
/hardware/bsp/intel/peripheral/libupm/src/mhz16/
Dmhz16.cxx76 bool MHZ16::dataAvailable(unsigned int millis) in dataAvailable() argument
85 timeout.tv_usec = millis * 1000; in dataAvailable()
Dmhz16.h97 bool dataAvailable(unsigned int millis);
/hardware/bsp/intel/peripheral/libmraa/src/uart/
Duart.c497 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/
Dwt5001.h140 bool dataAvailable(unsigned int millis);
Dwt5001.cxx77 bool WT5001::dataAvailable(unsigned int millis) in dataAvailable() argument
86 timeout.tv_usec = millis * 1000; in dataAvailable()
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.h170 bool dataAvailable(unsigned int millis);

12