uts7segb2 2.1.0.0
UT-S 7-SEG B 2 Registers Settings

Settings for registers of UT-S 7-SEG B 2 Click driver. More...

Macros

#define UTS7SEGB2_SEG_DIS14_SEG0   0x00000001l
 UT-S 7-SEG B 2 segment bitmask data values.
 
#define UTS7SEGB2_SEG_DIS14_SEG1   0x00000002l
 
#define UTS7SEGB2_SEG_DIS14_SEG2   0x00000004l
 
#define UTS7SEGB2_SEG_DIS14_SEG3   0x00000008l
 
#define UTS7SEGB2_SEG_DIS14_SEG4   0x00000010l
 
#define UTS7SEGB2_SEG_DIS14_SEG5   0x00000020l
 
#define UTS7SEGB2_SEG_DIS14_SEG6   0x00000040l
 
#define UTS7SEGB2_SEG_DIS14_SEG7   0x00000080l
 
#define UTS7SEGB2_SEG_DIS25_SEG0   0x00000100l
 
#define UTS7SEGB2_SEG_DIS25_SEG1   0x00000200l
 
#define UTS7SEGB2_SEG_DIS25_SEG2   0x00000400l
 
#define UTS7SEGB2_SEG_DIS25_SEG3   0x00000800l
 
#define UTS7SEGB2_SEG_DIS25_SEG4   0x00001000l
 
#define UTS7SEGB2_SEG_DIS25_SEG5   0x00002000l
 
#define UTS7SEGB2_SEG_DIS25_SEG6   0x00004000l
 
#define UTS7SEGB2_SEG_DIS25_SEG7   0x00008000l
 
#define UTS7SEGB2_SEG_DIS36_SEG0   0x00010000l
 
#define UTS7SEGB2_SEG_DIS36_SEG1   0x00020000l
 
#define UTS7SEGB2_SEG_DIS36_SEG2   0x00040000l
 
#define UTS7SEGB2_SEG_DIS36_SEG3   0x00080000l
 
#define UTS7SEGB2_SEG_DIS36_SEG4   0x00100000l
 
#define UTS7SEGB2_SEG_DIS36_SEG5   0x00200000l
 
#define UTS7SEGB2_SEG_DIS36_SEG6   0x00400000l
 
#define UTS7SEGB2_SEG_DIS36_SEG7   0x00800000l
 
#define UTS7SEGB2_SEG_ALL   0x01FFFFFFl
 
#define UTS7SEGB2_SEG_BIT_MASK   0x01FFFFFFl
 
#define UTS7SEGB2_NIBBLE_LOW   0x000Fu
 UT-S 7-SEG B 2 data bitmask.
 
#define UTS7SEGB2_NIBBLE_HIGH   0x00F0u
 
#define UTS7SEGB2_BYTE_LOW   0x00FFu
 
#define UTS7SEGB2_WORD_BIT_POS_0   0x0001u
 
#define UTS7SEGB2_WORD_BIT_POS_14   0x4000u
 
#define UTS7SEGB2_WORD_BIT_POS_15   0x8000u
 
#define UTS7SEGB2_SEG_NUM_START   0
 UT-S 7-SEG B 2 segment position number data values.
 
#define UTS7SEGB2_SEG_NUM_END   23
 
#define UTS7SEGB2_SEG_NUM_POS   24
 
#define UTS7SEGB2_BRIGHTNESS_MIN   0x0000u
 UT-S 7-SEG B 2 brightness range data values.
 
#define UTS7SEGB2_BRIGHTNESS_DEFAULT   0x07FFu
 
#define UTS7SEGB2_BRIGHTNESS_MAX   0x0FFFu
 
#define UTS7SEGB2_BASE_NUM_SYS_BINARY   2
 UT-S 7-SEG B 2 description of the base values.
 
#define UTS7SEGB2_BINARY_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_TERNARY   3
 
#define UTS7SEGB2_TERNARY_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_QUATERNARY   4
 
#define UTS7SEGB2_QUATERNARY_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_QUINARY   5
 
#define UTS7SEGB2_QUINARY_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_SENARY   6
 
#define UTS7SEGB2_SENARY_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_SEPTENARY   7
 
#define UTS7SEGB2_SEPTENARY_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_OCTAL   8
 
#define UTS7SEGB2_OCTAL_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_NONARY   9
 
#define UTS7SEGB2_NONARY_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_DECIMAL   10
 
#define UTS7SEGB2_DECIMAL_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_UNDECIMAL   11
 
#define UTS7SEGB2_UNDECIMAL_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_DUODECIMAL   12
 
#define UTS7SEGB2_DUODECIMAL_NUM_MAX
 
#define UTS7SEGB2_BASE_NUM_SYS_HEXADECIMAL   16
 
#define UTS7SEGB2_HEXADECIMAL_NUM_MAX
 
#define UTS7SEGB2_TOP_SEG_NO_DOT   0x00
 UT-S 7-SEG B 2 dots bitmask data values.
 
#define UTS7SEGB2_TOP_SEG_DOT_RIGHT   0x01
 
#define UTS7SEGB2_TOP_SEG_DOT_MIDDLE   0x02
 
#define UTS7SEGB2_TOP_SEG_DOT_LEFT   0x04
 
#define UTS7SEGB2_BOTTOM_SEG_NO_DOT   0x00
 
#define UTS7SEGB2_BOTTOM_SEG_DOT_RIGHT   0x20
 
#define UTS7SEGB2_BOTTOM_SEG_DOT_LEFT   0x08
 
#define UTS7SEGB2_BOTTOM_SEG_DOT_MIDDLE   0x10
 
#define UTS7SEGB2_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
 
#define UTS7SEGB2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE
 

Detailed Description

Settings for registers of UT-S 7-SEG B 2 Click driver.

Macro Definition Documentation

◆ UTS7SEGB2_BASE_NUM_SYS_BINARY

#define UTS7SEGB2_BASE_NUM_SYS_BINARY   2

UT-S 7-SEG B 2 description of the base values.

Specified base values, number of digits used to represent numbers of UT-S 7-SEG B 2 Click driver.

◆ UTS7SEGB2_BASE_NUM_SYS_DECIMAL

#define UTS7SEGB2_BASE_NUM_SYS_DECIMAL   10

◆ UTS7SEGB2_BASE_NUM_SYS_DUODECIMAL

#define UTS7SEGB2_BASE_NUM_SYS_DUODECIMAL   12

◆ UTS7SEGB2_BASE_NUM_SYS_HEXADECIMAL

#define UTS7SEGB2_BASE_NUM_SYS_HEXADECIMAL   16

◆ UTS7SEGB2_BASE_NUM_SYS_NONARY

#define UTS7SEGB2_BASE_NUM_SYS_NONARY   9

◆ UTS7SEGB2_BASE_NUM_SYS_OCTAL

#define UTS7SEGB2_BASE_NUM_SYS_OCTAL   8

◆ UTS7SEGB2_BASE_NUM_SYS_QUATERNARY

#define UTS7SEGB2_BASE_NUM_SYS_QUATERNARY   4

◆ UTS7SEGB2_BASE_NUM_SYS_QUINARY

#define UTS7SEGB2_BASE_NUM_SYS_QUINARY   5

◆ UTS7SEGB2_BASE_NUM_SYS_SENARY

#define UTS7SEGB2_BASE_NUM_SYS_SENARY   6

◆ UTS7SEGB2_BASE_NUM_SYS_SEPTENARY

#define UTS7SEGB2_BASE_NUM_SYS_SEPTENARY   7

◆ UTS7SEGB2_BASE_NUM_SYS_TERNARY

#define UTS7SEGB2_BASE_NUM_SYS_TERNARY   3

◆ UTS7SEGB2_BASE_NUM_SYS_UNDECIMAL

#define UTS7SEGB2_BASE_NUM_SYS_UNDECIMAL   11

◆ UTS7SEGB2_BINARY_NUM_MAX

#define UTS7SEGB2_BINARY_NUM_MAX
Value:
#define UTS7SEGB2_BASE_NUM_SYS_BINARY
UT-S 7-SEG B 2 description of the base values.
Definition uts7segb2.h:133

◆ UTS7SEGB2_BOTTOM_SEG_DOT_LEFT

#define UTS7SEGB2_BOTTOM_SEG_DOT_LEFT   0x08

◆ UTS7SEGB2_BOTTOM_SEG_DOT_MIDDLE

#define UTS7SEGB2_BOTTOM_SEG_DOT_MIDDLE   0x10

◆ UTS7SEGB2_BOTTOM_SEG_DOT_RIGHT

#define UTS7SEGB2_BOTTOM_SEG_DOT_RIGHT   0x20

◆ UTS7SEGB2_BOTTOM_SEG_NO_DOT

#define UTS7SEGB2_BOTTOM_SEG_NO_DOT   0x00

◆ UTS7SEGB2_BRIGHTNESS_DEFAULT

#define UTS7SEGB2_BRIGHTNESS_DEFAULT   0x07FFu

◆ UTS7SEGB2_BRIGHTNESS_MAX

#define UTS7SEGB2_BRIGHTNESS_MAX   0x0FFFu

◆ UTS7SEGB2_BRIGHTNESS_MIN

#define UTS7SEGB2_BRIGHTNESS_MIN   0x0000u

UT-S 7-SEG B 2 brightness range data values.

Specified brightness range data values of UT-S 7-SEG B 2 Click driver.

◆ UTS7SEGB2_BYTE_LOW

#define UTS7SEGB2_BYTE_LOW   0x00FFu

◆ UTS7SEGB2_DECIMAL_NUM_MAX

#define UTS7SEGB2_DECIMAL_NUM_MAX
Value:
#define UTS7SEGB2_BASE_NUM_SYS_DECIMAL
Definition uts7segb2.h:165

◆ UTS7SEGB2_DUODECIMAL_NUM_MAX

#define UTS7SEGB2_DUODECIMAL_NUM_MAX
Value:

◆ UTS7SEGB2_HEXADECIMAL_NUM_MAX

#define UTS7SEGB2_HEXADECIMAL_NUM_MAX
Value:

◆ UTS7SEGB2_NIBBLE_HIGH

#define UTS7SEGB2_NIBBLE_HIGH   0x00F0u

◆ UTS7SEGB2_NIBBLE_LOW

#define UTS7SEGB2_NIBBLE_LOW   0x000Fu

UT-S 7-SEG B 2 data bitmask.

Specified data bit masks of UT-S 7-SEG B 2 Click driver.

◆ UTS7SEGB2_NONARY_NUM_MAX

#define UTS7SEGB2_NONARY_NUM_MAX
Value:
#define UTS7SEGB2_BASE_NUM_SYS_NONARY
Definition uts7segb2.h:161

◆ UTS7SEGB2_OCTAL_NUM_MAX

#define UTS7SEGB2_OCTAL_NUM_MAX
Value:
#define UTS7SEGB2_BASE_NUM_SYS_OCTAL
Definition uts7segb2.h:157

◆ UTS7SEGB2_QUATERNARY_NUM_MAX

#define UTS7SEGB2_QUATERNARY_NUM_MAX
Value:

◆ UTS7SEGB2_QUINARY_NUM_MAX

#define UTS7SEGB2_QUINARY_NUM_MAX
Value:
#define UTS7SEGB2_BASE_NUM_SYS_QUINARY
Definition uts7segb2.h:145

◆ UTS7SEGB2_SEG_ALL

#define UTS7SEGB2_SEG_ALL   0x01FFFFFFl

◆ UTS7SEGB2_SEG_BIT_MASK

#define UTS7SEGB2_SEG_BIT_MASK   0x01FFFFFFl

◆ UTS7SEGB2_SEG_DIS14_SEG0

#define UTS7SEGB2_SEG_DIS14_SEG0   0x00000001l

UT-S 7-SEG B 2 segment bitmask data values.

Specified segment bitmask data values of UT-S 7-SEG B 2 Click driver.

◆ UTS7SEGB2_SEG_DIS14_SEG1

#define UTS7SEGB2_SEG_DIS14_SEG1   0x00000002l

◆ UTS7SEGB2_SEG_DIS14_SEG2

#define UTS7SEGB2_SEG_DIS14_SEG2   0x00000004l

◆ UTS7SEGB2_SEG_DIS14_SEG3

#define UTS7SEGB2_SEG_DIS14_SEG3   0x00000008l

◆ UTS7SEGB2_SEG_DIS14_SEG4

#define UTS7SEGB2_SEG_DIS14_SEG4   0x00000010l

◆ UTS7SEGB2_SEG_DIS14_SEG5

#define UTS7SEGB2_SEG_DIS14_SEG5   0x00000020l

◆ UTS7SEGB2_SEG_DIS14_SEG6

#define UTS7SEGB2_SEG_DIS14_SEG6   0x00000040l

◆ UTS7SEGB2_SEG_DIS14_SEG7

#define UTS7SEGB2_SEG_DIS14_SEG7   0x00000080l

◆ UTS7SEGB2_SEG_DIS25_SEG0

#define UTS7SEGB2_SEG_DIS25_SEG0   0x00000100l

◆ UTS7SEGB2_SEG_DIS25_SEG1

#define UTS7SEGB2_SEG_DIS25_SEG1   0x00000200l

◆ UTS7SEGB2_SEG_DIS25_SEG2

#define UTS7SEGB2_SEG_DIS25_SEG2   0x00000400l

◆ UTS7SEGB2_SEG_DIS25_SEG3

#define UTS7SEGB2_SEG_DIS25_SEG3   0x00000800l

◆ UTS7SEGB2_SEG_DIS25_SEG4

#define UTS7SEGB2_SEG_DIS25_SEG4   0x00001000l

◆ UTS7SEGB2_SEG_DIS25_SEG5

#define UTS7SEGB2_SEG_DIS25_SEG5   0x00002000l

◆ UTS7SEGB2_SEG_DIS25_SEG6

#define UTS7SEGB2_SEG_DIS25_SEG6   0x00004000l

◆ UTS7SEGB2_SEG_DIS25_SEG7

#define UTS7SEGB2_SEG_DIS25_SEG7   0x00008000l

◆ UTS7SEGB2_SEG_DIS36_SEG0

#define UTS7SEGB2_SEG_DIS36_SEG0   0x00010000l

◆ UTS7SEGB2_SEG_DIS36_SEG1

#define UTS7SEGB2_SEG_DIS36_SEG1   0x00020000l

◆ UTS7SEGB2_SEG_DIS36_SEG2

#define UTS7SEGB2_SEG_DIS36_SEG2   0x00040000l

◆ UTS7SEGB2_SEG_DIS36_SEG3

#define UTS7SEGB2_SEG_DIS36_SEG3   0x00080000l

◆ UTS7SEGB2_SEG_DIS36_SEG4

#define UTS7SEGB2_SEG_DIS36_SEG4   0x00100000l

◆ UTS7SEGB2_SEG_DIS36_SEG5

#define UTS7SEGB2_SEG_DIS36_SEG5   0x00200000l

◆ UTS7SEGB2_SEG_DIS36_SEG6

#define UTS7SEGB2_SEG_DIS36_SEG6   0x00400000l

◆ UTS7SEGB2_SEG_DIS36_SEG7

#define UTS7SEGB2_SEG_DIS36_SEG7   0x00800000l

◆ UTS7SEGB2_SEG_NUM_END

#define UTS7SEGB2_SEG_NUM_END   23

◆ UTS7SEGB2_SEG_NUM_POS

#define UTS7SEGB2_SEG_NUM_POS   24

◆ UTS7SEGB2_SEG_NUM_START

#define UTS7SEGB2_SEG_NUM_START   0

UT-S 7-SEG B 2 segment position number data values.

Specified segment position number data values of UT-S 7-SEG B 2 Click driver.

◆ UTS7SEGB2_SENARY_NUM_MAX

#define UTS7SEGB2_SENARY_NUM_MAX
Value:
#define UTS7SEGB2_BASE_NUM_SYS_SENARY
Definition uts7segb2.h:149

◆ UTS7SEGB2_SEPTENARY_NUM_MAX

#define UTS7SEGB2_SEPTENARY_NUM_MAX
Value:

◆ UTS7SEGB2_SET_DATA_SAMPLE_EDGE

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

◆ UTS7SEGB2_SET_DATA_SAMPLE_MIDDLE

#define UTS7SEGB2_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ UTS7SEGB2_TERNARY_NUM_MAX

#define UTS7SEGB2_TERNARY_NUM_MAX
Value:
#define UTS7SEGB2_BASE_NUM_SYS_TERNARY
Definition uts7segb2.h:137

◆ UTS7SEGB2_TOP_SEG_DOT_LEFT

#define UTS7SEGB2_TOP_SEG_DOT_LEFT   0x04

◆ UTS7SEGB2_TOP_SEG_DOT_MIDDLE

#define UTS7SEGB2_TOP_SEG_DOT_MIDDLE   0x02

◆ UTS7SEGB2_TOP_SEG_DOT_RIGHT

#define UTS7SEGB2_TOP_SEG_DOT_RIGHT   0x01

◆ UTS7SEGB2_TOP_SEG_NO_DOT

#define UTS7SEGB2_TOP_SEG_NO_DOT   0x00

UT-S 7-SEG B 2 dots bitmask data values.

Specified dots bitmask data values of UT-S 7-SEG B 2 Click driver.

◆ UTS7SEGB2_UNDECIMAL_NUM_MAX

#define UTS7SEGB2_UNDECIMAL_NUM_MAX
Value:

◆ UTS7SEGB2_WORD_BIT_POS_0

#define UTS7SEGB2_WORD_BIT_POS_0   0x0001u

◆ UTS7SEGB2_WORD_BIT_POS_14

#define UTS7SEGB2_WORD_BIT_POS_14   0x4000u

◆ UTS7SEGB2_WORD_BIT_POS_15

#define UTS7SEGB2_WORD_BIT_POS_15   0x8000u