alphanumg2 2.1.0.0
AlphaNum G 2 Registers Settings

Settings for registers of AlphaNum G 2 Click driver. More...

Macros

#define ALPHANUMG2_NIBBLE_LOW   0x000Fu
 AlphaNum G 2 data bit mask.
 
#define ALPHANUMG2_BYTE_LOW   0x00FFu
 
#define ALPHANUMG2_WORD_BIT_POS_0   0x0001u
 
#define ALPHANUMG2_WORD_BIT_POS_14   0x4000u
 
#define ALPHANUMG2_WORD_BIT_POS_15   0x8000u
 
#define ALPHANUMG2_BRIGHTNESS_MIN   0x0000u
 AlphaNum G 2 brightness range data values.
 
#define ALPHANUMG2_BRIGHTNESS_MAX   0x0FFFu
 
#define ALPHANUMG2_DEFAULT_DUR_1000_MS   1000
 AlphaNum G 2 default character duration.
 
#define ALPHANUMG2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define ALPHANUMG2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of AlphaNum G 2 Click driver.

Macro Definition Documentation

◆ ALPHANUMG2_BRIGHTNESS_MAX

#define ALPHANUMG2_BRIGHTNESS_MAX   0x0FFFu

◆ ALPHANUMG2_BRIGHTNESS_MIN

#define ALPHANUMG2_BRIGHTNESS_MIN   0x0000u

AlphaNum G 2 brightness range data values.

Specified brightness range data values of AlphaNum G 2 Click driver.

◆ ALPHANUMG2_BYTE_LOW

#define ALPHANUMG2_BYTE_LOW   0x00FFu

◆ ALPHANUMG2_DEFAULT_DUR_1000_MS

#define ALPHANUMG2_DEFAULT_DUR_1000_MS   1000

AlphaNum G 2 default character duration.

Specified default character duration of AlphaNum G 2 Click driver.

◆ ALPHANUMG2_NIBBLE_LOW

#define ALPHANUMG2_NIBBLE_LOW   0x000Fu

AlphaNum G 2 data bit mask.

Specified data bit masks of AlphaNum G 2 Click driver.

◆ ALPHANUMG2_SET_DATA_SAMPLE_EDGE

#define ALPHANUMG2_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 alphanumg2_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ ALPHANUMG2_SET_DATA_SAMPLE_MIDDLE

#define ALPHANUMG2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ ALPHANUMG2_WORD_BIT_POS_0

#define ALPHANUMG2_WORD_BIT_POS_0   0x0001u

◆ ALPHANUMG2_WORD_BIT_POS_14

#define ALPHANUMG2_WORD_BIT_POS_14   0x4000u

◆ ALPHANUMG2_WORD_BIT_POS_15

#define ALPHANUMG2_WORD_BIT_POS_15   0x8000u