Loading...
Searching...
No Matches
lcd_ll_par_gpio.h
1/*
2 * Copyright (C) 2023 Gunar Schorcht
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
9#if !DOXYGEN /* hide from documentation */
10
21#ifndef LCD_LL_PAR_GPIO_H
22#define LCD_LL_PAR_GPIO_H
23
24#include <assert.h>
25
26#include "lcd.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
38void lcd_ll_par_gpio_init(lcd_t *dev);
39
46void lcd_ll_par_gpio_set_data_dir(lcd_t *dev, bool output);
47
55void lcd_ll_par_gpio_cmd_start(lcd_t *dev, uint8_t cmd, bool cont);
56
64void lcd_ll_par_gpio_write_byte(lcd_t *dev, bool cont, uint8_t out);
65
73void lcd_ll_par_gpio_write_word(lcd_t *dev, bool cont, uint16_t out);
74
83uint8_t lcd_ll_par_gpio_read_byte(lcd_t *dev, bool cont);
84
93uint16_t lcd_ll_par_gpio_read_word(lcd_t *dev, bool cont);
94
95#ifdef __cplusplus
96}
97#endif
98#endif /* LCD_LL_PAR_GPIO_H */
100#endif /* !DOXYGEN */
POSIX.1-2008 compliant version of the assert macro.
Device descriptor for a lcd.
Definition lcd.h:176