hd44780_params.h File Reference

Pinout config for the HD44780 display. More...

Detailed Description

Pinout config for the HD44780 display.

Author
Sebastian Meiling s@mln.nosp@m.g.ne.nosp@m.t

Definition in file hd44780_params.h.

#include "board.h"
#include "periph/gpio.h"
+ Include dependency graph for hd44780_params.h:

Go to the source code of this file.

#define HD44780_PARAM_COLS   (16U)
 
#define HD44780_PARAM_ROWS   (2U)
 
#define HD44780_PARAM_PIN_RS   GPIO_PIN(0, 14) /* Arduino D2 */
 
#define HD44780_PARAM_PIN_RW   GPIO_UNDEF
 
#define HD44780_PARAM_PIN_ENABLE   GPIO_PIN(0, 9) /* Arduino D3 */
 
#define HD44780_PARAM_PINS_DATA
 
#define HD44780_PARAMS
 
static const hd44780_params_t hd44780_params []
 LCM1602C configuration. More...
 

Macro Definition Documentation

◆ HD44780_PARAM_PINS_DATA

#define HD44780_PARAM_PINS_DATA
Value:
{ GPIO_PIN(0, 8), /* Arduino D4 */ \
GPIO_PIN(0, 15), /* Arduino D5 */ \
GPIO_PIN(0, 20), /* Arduino D6 */ \
GPIO_PIN(0, 21), /* Arduino D7 */ \
GPIO_UNDEF, \
GPIO_UNDEF, \
GPIO_UNDEF, \
GPIO_UNDEF }
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition: periph_cpu.h:35

Definition at line 47 of file hd44780_params.h.

◆ HD44780_PARAMS

#define HD44780_PARAMS
Value:
{ .cols = HD44780_PARAM_COLS, \
.rows = HD44780_PARAM_ROWS, \
.rs = HD44780_PARAM_PIN_RS, \
.rw = HD44780_PARAM_PIN_RW, \
.enable = HD44780_PARAM_PIN_ENABLE, \
.data = HD44780_PARAM_PINS_DATA }

Definition at line 58 of file hd44780_params.h.

Variable Documentation

◆ hd44780_params

const hd44780_params_t hd44780_params[]
static
Initial value:
=
{
HD44780_PARAMS,
}

LCM1602C configuration.

Definition at line 69 of file hd44780_params.h.