fiber
Loading...
Searching...
No Matches
fiber::cLCD_HD44780 Concept Reference

Template interface for the 'LCD_HD447080' or compatible version. More...

#include <LCD_HD44780.hpp>

Concept definition

template<class LCD>
concept fiber::cLCD_HD44780 = requires(
LCD lcd,
LCD_HD44780_NumberOfLines number_of_lines,
bool boolean,
LCD_HD44780_DisplayControl display_control,
LCD_HD44780_CursorControl cursor_control,
LCD_HD44780_CursorDisplayShift cursor_display_shift,
uint8_t address)
{
{ lcd.columns() } -> std::unsigned_integral;
{ lcd.rows() } -> std::unsigned_integral;
{ lcd.background_light(boolean) } -> cAwaitable<void>;
{ lcd.init() } -> cAwaitable<void>;
{ lcd.clear_display() } -> cAwaitable<void>;
{ lcd.return_home() } -> cAwaitable<void>;
{ lcd.entry_mode(direction, shift) } -> cAwaitable<void>;
{ lcd.display_control(display_control, cursor_control) } -> cAwaitable<void>;
{ lcd.cursor_and_display_shift(cursor_display_shift) } -> cAwaitable<void>;
{ lcd.function_set(number_of_lines, dots) } -> cAwaitable<void>;
{ lcd.set_cg_address(address) } -> cAwaitable<void>;
{ lcd.set_dd_address(address) } -> cAwaitable<void>;
{ lcd.write_data(address) } -> cAwaitable<void>;
{ lcd.read_data() } -> cAwaitable<uint8_t>;
{ lcd.read_busy_flag_and_address() } -> cAwaitable<LCD_HD44780_BusyFlagAddress>;
{ lcd.is_busy() } -> cAwaitable<bool>;
}
Concept describeing the interface of an object that can be co_awaited.
Definition cAwaitable.hpp:23
Template interface for the 'LCD_HD447080' or compatible version.
Definition LCD_HD44780.hpp:58
LCD_HD44780_DisplayControl
Definition LCD_HD44780.hpp:29
LCD_HD44780_Dots
Definition LCD_HD44780.hpp:14
LCD_HD44780_CursorControl
Definition LCD_HD44780.hpp:34
LCD_HD44780_NumberOfLines
Definition LCD_HD44780.hpp:9
LCD_HD44780_DisplayEntryShift
Definition LCD_HD44780.hpp:24
LCD_HD44780_CursorEntryDirection
Definition LCD_HD44780.hpp:19
LCD_HD44780_CursorDisplayShift
Definition LCD_HD44780.hpp:40

Detailed Description

Template interface for the 'LCD_HD447080' or compatible version.