Loading...
Searching...
No Matches
lcd_ll_par_driver_t Struct Reference

Low-level MCU 8080 8-/16-bit parallel interface driver. More...

Detailed Description

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.

Definition at line 419 of file lcd.h.

#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.
 

Field Documentation

◆ cmd_start

void(* lcd_ll_par_driver_t::cmd_start) (lcd_t *dev, uint8_t cmd, bool cont)

Write command using the MCU-driven low-level parallel interface.

Parameters
[in]devdevice descriptor
[in]cmdcommand
[in]contoperation is continued

Definition at line 442 of file lcd.h.

◆ init

void(* lcd_ll_par_driver_t::init) (lcd_t *dev)

Initialize the MCU-driven low-level parallel interface.

Parameters
[in]devdevice descriptor

Definition at line 425 of file lcd.h.

◆ read_byte

uint8_t(* lcd_ll_par_driver_t::read_byte) (lcd_t *dev, bool cont)

Read a byte using the MCU-driven low-level parallel interface.

Parameters
[in]devdevice descriptor
[in]contoperation is continued
Returns
byte read

Definition at line 461 of file lcd.h.

◆ read_word

uint16_t(* lcd_ll_par_driver_t::read_word) (lcd_t *dev, bool cont)

Read a word using the MCU-driven low-level parallel interface.

Parameters
[in]devdevice descriptor
[in]contoperation is continued
Returns
word read

Definition at line 481 of file lcd.h.

◆ set_data_dir

void(* lcd_ll_par_driver_t::set_data_dir) (lcd_t *dev, bool output)

Set the data direction of the low-level parallel interface.

Parameters
[in]devdevice descriptor
[in]outputset to output mode if true and to input mode otherwise

Definition at line 433 of file lcd.h.

◆ write_byte

void(* lcd_ll_par_driver_t::write_byte) (lcd_t *dev, bool cont, uint8_t out)

Write a byte using the MCU-driven low-level parallel interface.

Parameters
[in]devdevice descriptor
[in]contoperation is continued
[in]outbyte to be written

Definition at line 451 of file lcd.h.

◆ write_word

void(* lcd_ll_par_driver_t::write_word) (lcd_t *dev, bool cont, uint16_t out)

Write a word using the MCU-driven low-level parallel interface.

Parameters
[in]devdevice descriptor
[in]contoperation is continued
[in]outword to be written

Definition at line 471 of file lcd.h.


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