lcdmini 2.0.0.0
LCD mini Registers Settings

Settings for registers of LCD mini Click driver. More...

Macros

#define LCDMINI_ENABLE   0x08
 LCD mini description setting.
 
#define LCDMINI_RESET   0x04
 
#define LCDMINI_OP_CODE_READ   0x01
 
#define LCDMINI_OP_CODE_WRITE   0xFE
 
#define LCDMINI_CLEAR   0x01
 LCD mini commands.
 
#define LCDMINI_RETURN_HOME   0x02
 
#define LCDMINI_DISPLAY_OFF_CURSOR_OFF   0x08
 
#define LCDMINI_CURSOR_OFF   0x0C
 
#define LCDMINI_UNDERLINE_ON   0x0E
 
#define LCDMINI_BLINK_CURSOR_ON   0x0F
 
#define LCDMINI_MOVE_CURSOR_LEFT   0x10
 
#define LCDMINI_MOVE_CURSOR_RIGHT   0x14
 
#define LCDMINI_TURN_ON   0x0A
 
#define LCDMINI_TURN_OFF   0x0C
 
#define LCDMINI_SHIFT_LEFT   0x18
 
#define LCDMINI_SHIFT_RIGHT   0x1C
 
#define LCDMINI_2_LINE_5X7   0x28
 
#define LCDMINI_FIRST_ROW   0x80
 
#define LCDMINI_SECOND_ROW   0xC0
 
#define LCDMINI_THIRD_ROW   0x94
 
#define LCDMINI_FOURTH_ROW   0xD4
 
#define LCDMINI_DEF_FREQ   500
 LCD mini default PWM frequency.
 
#define LCDMINI_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define LCDMINI_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of LCD mini Click driver.

Macro Definition Documentation

◆ LCDMINI_2_LINE_5X7

#define LCDMINI_2_LINE_5X7   0x28

◆ LCDMINI_BLINK_CURSOR_ON

#define LCDMINI_BLINK_CURSOR_ON   0x0F

◆ LCDMINI_CLEAR

#define LCDMINI_CLEAR   0x01

LCD mini commands.

Specified commands for setting up LCD mini Click driver.

◆ LCDMINI_CURSOR_OFF

#define LCDMINI_CURSOR_OFF   0x0C

◆ LCDMINI_DEF_FREQ

#define LCDMINI_DEF_FREQ   500

LCD mini default PWM frequency.

Specified setting for setting default PWM frequency of LCD mini Click driver.

◆ LCDMINI_DISPLAY_OFF_CURSOR_OFF

#define LCDMINI_DISPLAY_OFF_CURSOR_OFF   0x08

◆ LCDMINI_ENABLE

#define LCDMINI_ENABLE   0x08

LCD mini description setting.

Specified setting for description of LCD mini Click driver.

◆ LCDMINI_FIRST_ROW

#define LCDMINI_FIRST_ROW   0x80

◆ LCDMINI_FOURTH_ROW

#define LCDMINI_FOURTH_ROW   0xD4

◆ LCDMINI_MOVE_CURSOR_LEFT

#define LCDMINI_MOVE_CURSOR_LEFT   0x10

◆ LCDMINI_MOVE_CURSOR_RIGHT

#define LCDMINI_MOVE_CURSOR_RIGHT   0x14

◆ LCDMINI_OP_CODE_READ

#define LCDMINI_OP_CODE_READ   0x01

◆ LCDMINI_OP_CODE_WRITE

#define LCDMINI_OP_CODE_WRITE   0xFE

◆ LCDMINI_RESET

#define LCDMINI_RESET   0x04

◆ LCDMINI_RETURN_HOME

#define LCDMINI_RETURN_HOME   0x02

◆ LCDMINI_SECOND_ROW

#define LCDMINI_SECOND_ROW   0xC0

◆ LCDMINI_SET_DATA_SAMPLE_EDGE

#define LCDMINI_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with lcdmini_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ LCDMINI_SET_DATA_SAMPLE_MIDDLE

#define LCDMINI_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ LCDMINI_SHIFT_LEFT

#define LCDMINI_SHIFT_LEFT   0x18

◆ LCDMINI_SHIFT_RIGHT

#define LCDMINI_SHIFT_RIGHT   0x1C

◆ LCDMINI_THIRD_ROW

#define LCDMINI_THIRD_ROW   0x94

◆ LCDMINI_TURN_OFF

#define LCDMINI_TURN_OFF   0x0C

◆ LCDMINI_TURN_ON

#define LCDMINI_TURN_ON   0x0A

◆ LCDMINI_UNDERLINE_ON

#define LCDMINI_UNDERLINE_ON   0x0E