epd-spi/include/private/epd_private.h

11 lines
302 B
C
Raw Normal View History

2021-11-04 11:24:55 +00:00
#ifndef EPD_PRIVATE_H
#define EPD_PRIVATE_H
2022-01-23 08:02:31 +00:00
#include "epd-spi/epd_common.h"
2021-11-04 11:24:55 +00:00
2021-11-04 18:28:27 +00:00
#define EPD_ASSERT(x) if(!(x)) for(;;) { /* ABORT. */}
#define EPD_ERROR_CHECK(x) if(x != EPD_OK) return EPD_FAIL
2021-11-04 11:24:55 +00:00
epd_ret_t epd_common_execute_sequence(epd_cb_t *cb, void *user_data, uint8_t *seq, uint32_t seq_len);
#endif