32 #include <upm_utilities.h> 33 #include <mraa/gpio.h> 50 mraa_gpio_context gpio;
52 volatile uint32_t flowCounter;
upm_result_t wfs_start_flow_counter(const wfs_context dev)
Definition: wfs.c:108
void wfs_clear_flow_counter(const wfs_context dev)
Definition: wfs.c:101
uint32_t wfs_flow_counter(const wfs_context dev)
Definition: wfs.c:136
void wfs_init_clock(const wfs_context dev)
Definition: wfs.c:87
uint32_t wfs_get_millis(const wfs_context dev)
Definition: wfs.c:94
float wfs_flow_rate(const wfs_context dev)
Definition: wfs.c:143
struct _wfs_context * wfs_context
void wfs_stop_flow_counter(const wfs_context dev)
Definition: wfs.c:126
wfs_context wfs_init(int pin)
Definition: wfs.c:41
void wfs_close(wfs_context dev)
Definition: wfs.c:74