Loading...
Searching...
No Matches
lcd_ll_par_gpio.h
1/*
2 * SPDX-FileCopyrightText: 2023 Gunar Schorcht
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
8#if !DOXYGEN /* hide from documentation */
9
19
20#include <assert.h>
21
22#include "lcd.h"
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
33
34void lcd_ll_par_gpio_init(lcd_t *dev);
35
42void lcd_ll_par_gpio_set_data_dir(lcd_t *dev, bool output);
43
51void lcd_ll_par_gpio_cmd_start(lcd_t *dev, uint8_t cmd, bool cont);
52
60void lcd_ll_par_gpio_write_byte(lcd_t *dev, bool cont, uint8_t out);
61
69void lcd_ll_par_gpio_write_word(lcd_t *dev, bool cont, uint16_t out);
70
79uint8_t lcd_ll_par_gpio_read_byte(lcd_t *dev, bool cont);
80
89uint16_t lcd_ll_par_gpio_read_word(lcd_t *dev, bool cont);
90
91#ifdef __cplusplus
92}
93#endif
95#endif /* !DOXYGEN */
POSIX.1-2008 compliant version of the assert macro.
Device descriptor for a lcd.
Definition lcd.h:172