#ifndef __APP_ZEDMON_USB_H | |
#define __APP_ZEDMON_USB_H | |
#include <stdbool.h> | |
#include <stdint.h> | |
#include <sys/types.h> | |
void zedmon_usb_init(int data_ep_addr); | |
void zedmon_usb_add_sample(lk_bigtime_t timestamp, uint16_t v_shunt, uint16_t v_bus); | |
// Implement this in your target to support digital out. | |
void zedmon_usb_set_target_out(int index, bool value); | |
#endif // __APP_ZEDMON_USB_H | |