Loading...
Searching...
No Matches

SPI display device initialisation parameters. More...

Detailed Description

SPI display device initialisation parameters.

Definition at line 85 of file epd_bw_spi.h.

#include <epd_bw_spi.h>

Data Fields

spi_t spi
 SPI device that the display is connected to.
 
spi_clk_t spi_clk
 SPI clock speed to use.
 
gpio_t cs_pin
 pin connected to the CHIP SELECT line
 
gpio_t dc_pin
 pin connected to the DC line
 
gpio_t rst_pin
 pin connected to the reset line (optional)
 
gpio_t busy_pin
 pin connected to the busy line (optional)
 
bool busy_value
 expected value for the busy pin when the display is busy
 
bool dummy
 if device requires a dummy cycle before read
 
epd_bw_spi_controller_t controller
 display controller of the e-Paper display
 
epd_bw_spi_entry_mode_t entry_mode
 data entry mode
 
uint16_t size_x
 number of horizontal pixels in the display
 
uint16_t size_y
 number of vertical pixels in the display
 
uint16_t partial_refresh_max
 maximum number of partial refreshes to perform before triggering a full refresh
 

Field Documentation

◆ busy_pin

gpio_t epd_bw_spi_params_t::busy_pin

pin connected to the busy line (optional)

Definition at line 91 of file epd_bw_spi.h.

◆ busy_value

bool epd_bw_spi_params_t::busy_value

expected value for the busy pin when the display is busy

Definition at line 92 of file epd_bw_spi.h.

◆ controller

epd_bw_spi_controller_t epd_bw_spi_params_t::controller

display controller of the e-Paper display

Definition at line 95 of file epd_bw_spi.h.

◆ cs_pin

gpio_t epd_bw_spi_params_t::cs_pin

pin connected to the CHIP SELECT line

Definition at line 88 of file epd_bw_spi.h.

◆ dc_pin

gpio_t epd_bw_spi_params_t::dc_pin

pin connected to the DC line

Definition at line 89 of file epd_bw_spi.h.

◆ dummy

bool epd_bw_spi_params_t::dummy

if device requires a dummy cycle before read

Definition at line 94 of file epd_bw_spi.h.

◆ entry_mode

epd_bw_spi_entry_mode_t epd_bw_spi_params_t::entry_mode

data entry mode

Definition at line 96 of file epd_bw_spi.h.

◆ partial_refresh_max

uint16_t epd_bw_spi_params_t::partial_refresh_max

maximum number of partial refreshes to perform before triggering a full refresh

Definition at line 99 of file epd_bw_spi.h.

◆ rst_pin

gpio_t epd_bw_spi_params_t::rst_pin

pin connected to the reset line (optional)

Definition at line 90 of file epd_bw_spi.h.

◆ size_x

uint16_t epd_bw_spi_params_t::size_x

number of horizontal pixels in the display

Definition at line 97 of file epd_bw_spi.h.

◆ size_y

uint16_t epd_bw_spi_params_t::size_y

number of vertical pixels in the display

Definition at line 98 of file epd_bw_spi.h.

◆ spi

spi_t epd_bw_spi_params_t::spi

SPI device that the display is connected to.

Definition at line 86 of file epd_bw_spi.h.

◆ spi_clk

spi_clk_t epd_bw_spi_params_t::spi_clk

SPI clock speed to use.

Definition at line 87 of file epd_bw_spi.h.


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