em4x70: clean up edge detection code

This commit is contained in:
Christian Molson 2020-12-13 16:23:25 -05:00
commit f87aa869c6
2 changed files with 44 additions and 51 deletions

View file

@ -17,6 +17,11 @@ typedef struct {
uint8_t data[32];
} em4x70_tag_t;
typedef enum {
RISING_EDGE,
FALLING_EDGE
}edge_detection_t;
void em4x70_info(em4x70_data_t *etd);
void em4x70_write(em4x70_data_t *etd);
void em4x70_unlock(em4x70_data_t *etd);