uts7segb2 2.1.0.0
|
Settings for registers of UT-S 7-SEG B 2 Click driver. More...
Settings for registers of UT-S 7-SEG B 2 Click driver.
#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.
#define UTS7SEGB2_BASE_NUM_SYS_DECIMAL 10 |
#define UTS7SEGB2_BASE_NUM_SYS_DUODECIMAL 12 |
#define UTS7SEGB2_BASE_NUM_SYS_HEXADECIMAL 16 |
#define UTS7SEGB2_BASE_NUM_SYS_NONARY 9 |
#define UTS7SEGB2_BASE_NUM_SYS_OCTAL 8 |
#define UTS7SEGB2_BASE_NUM_SYS_QUATERNARY 4 |
#define UTS7SEGB2_BASE_NUM_SYS_QUINARY 5 |
#define UTS7SEGB2_BASE_NUM_SYS_SENARY 6 |
#define UTS7SEGB2_BASE_NUM_SYS_SEPTENARY 7 |
#define UTS7SEGB2_BASE_NUM_SYS_TERNARY 3 |
#define UTS7SEGB2_BASE_NUM_SYS_UNDECIMAL 11 |
#define UTS7SEGB2_BINARY_NUM_MAX |
#define UTS7SEGB2_BOTTOM_SEG_DOT_LEFT 0x08 |
#define UTS7SEGB2_BOTTOM_SEG_DOT_MIDDLE 0x10 |
#define UTS7SEGB2_BOTTOM_SEG_DOT_RIGHT 0x20 |
#define UTS7SEGB2_BOTTOM_SEG_NO_DOT 0x00 |
#define UTS7SEGB2_BRIGHTNESS_DEFAULT 0x07FFu |
#define UTS7SEGB2_BRIGHTNESS_MAX 0x0FFFu |
#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.
#define UTS7SEGB2_BYTE_LOW 0x00FFu |
#define UTS7SEGB2_DECIMAL_NUM_MAX |
#define UTS7SEGB2_DUODECIMAL_NUM_MAX |
#define UTS7SEGB2_HEXADECIMAL_NUM_MAX |
#define UTS7SEGB2_NIBBLE_HIGH 0x00F0u |
#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.
#define UTS7SEGB2_NONARY_NUM_MAX |
#define UTS7SEGB2_OCTAL_NUM_MAX |
#define UTS7SEGB2_QUATERNARY_NUM_MAX |
#define UTS7SEGB2_QUINARY_NUM_MAX |
#define UTS7SEGB2_SEG_ALL 0x01FFFFFFl |
#define UTS7SEGB2_SEG_BIT_MASK 0x01FFFFFFl |
#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.
#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_NUM_END 23 |
#define UTS7SEGB2_SEG_NUM_POS 24 |
#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.
#define UTS7SEGB2_SENARY_NUM_MAX |
#define UTS7SEGB2_SEPTENARY_NUM_MAX |
#define UTS7SEGB2_SET_DATA_SAMPLE_EDGE SET_SPI_DATA_SAMPLE_EDGE |
Data sample selection.
This macro sets data samples for SPI modules.
#define UTS7SEGB2_SET_DATA_SAMPLE_MIDDLE SET_SPI_DATA_SAMPLE_MIDDLE |
#define UTS7SEGB2_TERNARY_NUM_MAX |
#define UTS7SEGB2_TOP_SEG_DOT_LEFT 0x04 |
#define UTS7SEGB2_TOP_SEG_DOT_MIDDLE 0x02 |
#define UTS7SEGB2_TOP_SEG_DOT_RIGHT 0x01 |
#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.
#define UTS7SEGB2_UNDECIMAL_NUM_MAX |
#define UTS7SEGB2_WORD_BIT_POS_0 0x0001u |
#define UTS7SEGB2_WORD_BIT_POS_14 0x4000u |
#define UTS7SEGB2_WORD_BIT_POS_15 0x8000u |