#ifndef DRILL_BUTTON_TARGET_H
#define DRILL_BUTTON_TARGET_H
#include <stdint.h>
#include <stdbool.h>
typedef struct { uint32_t epoch,samples,events,last_command,last_us,pressed,available; } db_snapshot;
extern volatile db_snapshot drill_debug_button;
bool drill_button_init(uint32_t now);
void drill_button_poll(uint32_t now);
#endif
