ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
eink_model_t Struct Reference

The modelled IT8951 controller's whole state. More...

Data Fields

bool attached
 –eink armed the controller.
eink_state_t st
 Host-word interpretation state.
bool have_hi
 A high byte is latched in hi.
uint8_t hi
 Latched high byte of the pending word.
uint16_t cur_cmd
 Command in flight (0 if none).
uint16_t datawr_idx
 Data-word index within cur_cmd.
uint16_t reg_addr
 Register address for a REG_RD/REG_WR.
uint16_t dev_idx
 Next GET_DEV_INFO word index.
uint16_t vcom_mv
 Modelled VCOM magnitude in millivolts.
uint16_t vcom_dir
 Direction word of the VCOM in flight.
uint16_t px_per_word
 Pixels per data word at the loaded pf.
bool reading
 A read burst is serving response bytes.
uint8_t rd_pos
 Cursor into rd_buf.
uint8_t rd_len
 Valid bytes in rd_buf.
uint8_t rd_buf [k_eink_read_bytes]
 Read-burst response.
uint64_t pixels
 Pixels streamed via LD_IMG_AREA.
uint32_t refreshes
 DPY_AREA refreshes issued.
uint16_t last_wf
 Waveform of the last DPY_AREA.

Detailed Description

The modelled IT8951 controller's whole state.

Definition at line 195 of file board_periph_eink.c.

Field Documentation

◆ attached

bool eink_model_t::attached

–eink armed the controller.

Definition at line 196 of file board_periph_eink.c.

◆ cur_cmd

uint16_t eink_model_t::cur_cmd

Command in flight (0 if none).

Definition at line 200 of file board_periph_eink.c.

◆ datawr_idx

uint16_t eink_model_t::datawr_idx

Data-word index within cur_cmd.

Definition at line 201 of file board_periph_eink.c.

◆ dev_idx

uint16_t eink_model_t::dev_idx

Next GET_DEV_INFO word index.

Definition at line 203 of file board_periph_eink.c.

◆ have_hi

bool eink_model_t::have_hi

A high byte is latched in hi.

Definition at line 198 of file board_periph_eink.c.

◆ hi

uint8_t eink_model_t::hi

Latched high byte of the pending word.

Definition at line 199 of file board_periph_eink.c.

◆ last_wf

uint16_t eink_model_t::last_wf

Waveform of the last DPY_AREA.

Definition at line 213 of file board_periph_eink.c.

◆ pixels

uint64_t eink_model_t::pixels

Pixels streamed via LD_IMG_AREA.

Definition at line 211 of file board_periph_eink.c.

◆ px_per_word

uint16_t eink_model_t::px_per_word

Pixels per data word at the loaded pf.

Definition at line 206 of file board_periph_eink.c.

◆ rd_buf

uint8_t eink_model_t::rd_buf[k_eink_read_bytes]

Read-burst response.

Definition at line 210 of file board_periph_eink.c.

◆ rd_len

uint8_t eink_model_t::rd_len

Valid bytes in rd_buf.

Definition at line 209 of file board_periph_eink.c.

◆ rd_pos

uint8_t eink_model_t::rd_pos

Cursor into rd_buf.

Definition at line 208 of file board_periph_eink.c.

◆ reading

bool eink_model_t::reading

A read burst is serving response bytes.

Definition at line 207 of file board_periph_eink.c.

◆ refreshes

uint32_t eink_model_t::refreshes

DPY_AREA refreshes issued.

Definition at line 212 of file board_periph_eink.c.

◆ reg_addr

uint16_t eink_model_t::reg_addr

Register address for a REG_RD/REG_WR.

Definition at line 202 of file board_periph_eink.c.

◆ st

eink_state_t eink_model_t::st

Host-word interpretation state.

Definition at line 197 of file board_periph_eink.c.

◆ vcom_dir

uint16_t eink_model_t::vcom_dir

Direction word of the VCOM in flight.

Definition at line 205 of file board_periph_eink.c.

◆ vcom_mv

uint16_t eink_model_t::vcom_mv

Modelled VCOM magnitude in millivolts.

Definition at line 204 of file board_periph_eink.c.


The documentation for this struct was generated from the following file: