29 #include "mraa/uart.h" 30 #include "mraa/gpio.h" 48 mraa_uart_context uart;
51 mraa_gpio_context gpio_set;
52 mraa_gpio_context gpio_reset;
unsigned int hka5_get_pm1(const hka5_context dev)
Definition: hka5.c:246
upm_result_t hka5_reset(const hka5_context dev)
Definition: hka5.c:160
upm_result_t hka5_update(const hka5_context dev)
Definition: hka5.c:175
unsigned int hka5_get_pm2_5(const hka5_context dev)
Definition: hka5.c:253
upm_result_t hka5_enable(const hka5_context dev, bool enable)
Definition: hka5.c:145
struct _hka5_context * hka5_context
unsigned int hka5_get_pm10(const hka5_context dev)
Definition: hka5.c:260
void hka5_close(hka5_context dev)
Definition: hka5.c:128
hka5_context hka5_init(unsigned int uart, int set_pin, int reset_pin)
Definition: hka5.c:51