aip31068_params.h File Reference

Default configuration for the AIP31068 I2C LCD controller. More...

Detailed Description

Default configuration for the AIP31068 I2C LCD controller.

Author
Hendrik van Essen hendr.nosp@m.ik.v.nosp@m.e@fu-.nosp@m.berl.nosp@m.in.de

Definition in file aip31068_params.h.

#include <stdbool.h>
#include "periph/i2c.h"
#include "aip31068_regs.h"
+ Include dependency graph for aip31068_params.h:

Go to the source code of this file.

Variables

static const aip31068_params_t aip31068_params []
 Allocate some memory to store the actual configuration. More...
 

Set default configuration parameters

#define AIP31068_PARAM_I2C_DEV   I2C_DEV(0)
 I2C device is I2C_DEV(0)
 
#define AIP31068_PARAM_I2C_ADDR   (0x7c >> 1)
 I2C address of device is (0x7c >> 1)
 
#define AIP31068_PARAMS
 

Macro Definition Documentation

◆ AIP31068_PARAMS

#define AIP31068_PARAMS
Value:
{ \
.i2c_dev = AIP31068_PARAM_I2C_DEV, \
.i2c_addr = AIP31068_PARAM_I2C_ADDR, \
.row_count = 2, \
.col_count = 16, \
.font_size = FONT_SIZE_5x8, \
.bit_mode = BITMODE_8_BIT, \
}

Definition at line 47 of file aip31068_params.h.

Variable Documentation

◆ aip31068_params

const aip31068_params_t aip31068_params[]
static
Initial value:
=
{
AIP31068_PARAMS
}

Allocate some memory to store the actual configuration.

Definition at line 62 of file aip31068_params.h.

AIP31068_PARAM_I2C_ADDR
#define AIP31068_PARAM_I2C_ADDR
I2C address of device is (0x7c >> 1)
Definition: aip31068_params.h:43
FONT_SIZE_5x8
@ FONT_SIZE_5x8
Single character has 5x8 pixels.
Definition: aip31068.h:62
AIP31068_PARAM_I2C_DEV
#define AIP31068_PARAM_I2C_DEV
I2C device is I2C_DEV(0)
Definition: aip31068_params.h:38
BITMODE_8_BIT
@ BITMODE_8_BIT
Use 8 bit mode.
Definition: aip31068.h:71