Low-level MCU 8080 8-/16-bit parallel interface driver. More...
Low-level MCU 8080 8-/16-bit parallel interface driver.
If the MCU-driven low-level parallel interface is enabled by module lcd_ll_parallel_mcu
, the implementation of the MCU low-level parallel interface has to define a variable lcd_ll_par_driver of this type. All or a set of members have to point to the low-level parallel interface functions implemented by the MCU. For functions that are not implemented by the MCU, the members have to be set to the corresponding GPIO-driven low-level parallel interface functions provided by the LCD driver.
#include <lcd.h>
Data Fields | |
void(* | init )(lcd_t *dev) |
Initialize the MCU-driven low-level parallel interface. | |
void(* | set_data_dir )(lcd_t *dev, bool output) |
Set the data direction of the low-level parallel interface. | |
void(* | cmd_start )(lcd_t *dev, uint8_t cmd, bool cont) |
Write command using the MCU-driven low-level parallel interface. | |
void(* | write_byte )(lcd_t *dev, bool cont, uint8_t out) |
Write a byte using the MCU-driven low-level parallel interface. | |
uint8_t(* | read_byte )(lcd_t *dev, bool cont) |
Read a byte using the MCU-driven low-level parallel interface. | |
void(* | write_word )(lcd_t *dev, bool cont, uint16_t out) |
Write a word using the MCU-driven low-level parallel interface. | |
uint16_t(* | read_word )(lcd_t *dev, bool cont) |
Read a word using the MCU-driven low-level parallel interface. | |
void(* lcd_ll_par_driver_t::cmd_start) (lcd_t *dev, uint8_t cmd, bool cont) |
void(* lcd_ll_par_driver_t::init) (lcd_t *dev) |
uint8_t(* lcd_ll_par_driver_t::read_byte) (lcd_t *dev, bool cont) |
uint16_t(* lcd_ll_par_driver_t::read_word) (lcd_t *dev, bool cont) |
void(* lcd_ll_par_driver_t::set_data_dir) (lcd_t *dev, bool output) |
void(* lcd_ll_par_driver_t::write_byte) (lcd_t *dev, bool cont, uint8_t out) |
void(* lcd_ll_par_driver_t::write_word) (lcd_t *dev, bool cont, uint16_t out) |