28 EPaperJD79660(
const char *name, uint16_t width, uint16_t height,
const uint8_t *init_sequence,
29 size_t init_sequence_length,
const uint8_t *fast_update, uint16_t fast_update_length)
47 bool reset()
override;
JD7966x IC driver implementation.
static constexpr uint16_t SLEEP_MS_RESET0
Wait time (millisec) for first reset phase: High.
void deep_sleep() override
Deepsleep: Must be used to avoid hardware wearout!
bool initialise(bool partial) override
Initialise (multistep sequence)
static constexpr uint8_t CMD_REFRESH
void write_fastinit_()
Internal: Send fast init sequence via undocumented vendor registers.
void power_off() override
Power off.
FSMState
State machine constants for step_.
@ NONE
Initial/default value: Unused.
const uint16_t fast_update_length_
void fill(Color color) override
bool transfer_data() override
Buffer transfer.
static constexpr uint8_t CMD_POWEROFF
void draw_pixel_at(int x, int y, Color color) override
Draw colored pixel into frame buffer.
static constexpr uint16_t SLEEP_MS_RESET2
Wait time (millisec) for third reset phase: High.
EPaperJD79660(const char *name, uint16_t width, uint16_t height, const uint8_t *init_sequence, size_t init_sequence_length, const uint8_t *fast_update, uint16_t fast_update_length)
bool transfer_buffer_chunks_()
Internal: Send raw buffer in chunks.
void power_on() override
Power on: Already part of init sequence (likely needed there before transferring buffers).
static constexpr uint8_t CMD_DEEPSLEEP
static constexpr uint16_t SLEEP_MS_RESET1
Wait time (millisec) for second reset phase: Low.
void refresh_screen(bool partial) override
Refresh screen.
static constexpr uint8_t CMD_TRANSFER
FSMState step_
Counter for tracking substeps within FSM state.
bool reset() override
Reset (multistep sequence)
const uint8_t *const fast_update_