c7seg2 2.1.0.0
7-SEG 2 Registers Settings

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

Macros

#define C7SEG2_SEGMENT_0   0
 7-SEG 2 segments setting.
 
#define C7SEG2_SEGMENT_1   1
 
#define C7SEG2_SEGMENT_2   2
 
#define C7SEG2_SEGMENTS_NUMBER   3
 
#define C7SEG2_SEGMENTS_DISABLED   0x0000u
 
#define C7SEG2_DP_NONE   0
 7-SEG 2 decimal point setting.
 
#define C7SEG2_DP_AT_SEGMENT_0   1
 
#define C7SEG2_DP_AT_SEGMENT_1   2
 
#define C7SEG2_DP_AT_SEGMENT_2   3
 
#define C7SEG2_DP_MASK   0x03
 
#define C7SEG2_DP_PIN_MASK   0x0010u
 
#define C7SEG2_REFRESH_RATE_US   7500
 7-SEG 2 refresh rate setting.
 
#define C7SEG2_REFRESH_RATE_DELAY   ( C7SEG2_REFRESH_RATE_US / 50 )
 
#define C7SEG2_DIGIT_0   0
 7-SEG 2 digits and numbers setting.
 
#define C7SEG2_DIGIT_1   1
 
#define C7SEG2_DIGIT_2   2
 
#define C7SEG2_DIGIT_3   3
 
#define C7SEG2_DIGIT_4   4
 
#define C7SEG2_DIGIT_5   5
 
#define C7SEG2_DIGIT_6   6
 
#define C7SEG2_DIGIT_7   7
 
#define C7SEG2_DIGIT_8   8
 
#define C7SEG2_DIGIT_9   9
 
#define C7SEG2_DIGITS_NUMBER   10
 
#define C7SEG2_MAX_NUMBER   999
 
#define C7SEG2_DEVICE_ID   0x12
 7-SEG 2 description setting.
 
#define C7SEG2_SW_RESET   0x80
 7-SEG 2 device state setting.
 
#define C7SEG2_ENABLE   0x01
 
#define C7SEG2_CURRENT_DEFAULT   15.0f
 7-SEG 2 current calculation setting.
 
#define C7SEG2_CURRENT_STEP_TO_HEX   12.75f
 
#define C7SEG2_DEVICE_ADDRESS   0x58
 7-SEG 2 device address setting.
 

Detailed Description

Settings for registers of 7-SEG 2 Click driver.

Macro Definition Documentation

◆ C7SEG2_CURRENT_DEFAULT

#define C7SEG2_CURRENT_DEFAULT   15.0f

7-SEG 2 current calculation setting.

Specified setting for current calculation selection of 7-SEG 2 Click driver.

◆ C7SEG2_CURRENT_STEP_TO_HEX

#define C7SEG2_CURRENT_STEP_TO_HEX   12.75f

◆ C7SEG2_DEVICE_ADDRESS

#define C7SEG2_DEVICE_ADDRESS   0x58

7-SEG 2 device address setting.

Specified setting for device slave address selection of 7-SEG 2 Click driver.

◆ C7SEG2_DEVICE_ID

#define C7SEG2_DEVICE_ID   0x12

7-SEG 2 description setting.

Specified setting for description of 7-SEG 2 Click driver.

◆ C7SEG2_DIGIT_0

#define C7SEG2_DIGIT_0   0

7-SEG 2 digits and numbers setting.

Specified setting for digits and numbers of 7-SEG 2 Click driver.

◆ C7SEG2_DIGIT_1

#define C7SEG2_DIGIT_1   1

◆ C7SEG2_DIGIT_2

#define C7SEG2_DIGIT_2   2

◆ C7SEG2_DIGIT_3

#define C7SEG2_DIGIT_3   3

◆ C7SEG2_DIGIT_4

#define C7SEG2_DIGIT_4   4

◆ C7SEG2_DIGIT_5

#define C7SEG2_DIGIT_5   5

◆ C7SEG2_DIGIT_6

#define C7SEG2_DIGIT_6   6

◆ C7SEG2_DIGIT_7

#define C7SEG2_DIGIT_7   7

◆ C7SEG2_DIGIT_8

#define C7SEG2_DIGIT_8   8

◆ C7SEG2_DIGIT_9

#define C7SEG2_DIGIT_9   9

◆ C7SEG2_DIGITS_NUMBER

#define C7SEG2_DIGITS_NUMBER   10

◆ C7SEG2_DP_AT_SEGMENT_0

#define C7SEG2_DP_AT_SEGMENT_0   1

◆ C7SEG2_DP_AT_SEGMENT_1

#define C7SEG2_DP_AT_SEGMENT_1   2

◆ C7SEG2_DP_AT_SEGMENT_2

#define C7SEG2_DP_AT_SEGMENT_2   3

◆ C7SEG2_DP_MASK

#define C7SEG2_DP_MASK   0x03

◆ C7SEG2_DP_NONE

#define C7SEG2_DP_NONE   0

7-SEG 2 decimal point setting.

Specified setting for decimal point of 7-SEG 2 Click driver.

◆ C7SEG2_DP_PIN_MASK

#define C7SEG2_DP_PIN_MASK   0x0010u

◆ C7SEG2_ENABLE

#define C7SEG2_ENABLE   0x01

◆ C7SEG2_MAX_NUMBER

#define C7SEG2_MAX_NUMBER   999

◆ C7SEG2_REFRESH_RATE_DELAY

#define C7SEG2_REFRESH_RATE_DELAY   ( C7SEG2_REFRESH_RATE_US / 50 )

◆ C7SEG2_REFRESH_RATE_US

#define C7SEG2_REFRESH_RATE_US   7500

7-SEG 2 refresh rate setting.

Specified setting for refresh rate of 7-SEG 2 Click driver.

◆ C7SEG2_SEGMENT_0

#define C7SEG2_SEGMENT_0   0

7-SEG 2 segments setting.

Specified setting for segments of 7-SEG 2 Click driver.

◆ C7SEG2_SEGMENT_1

#define C7SEG2_SEGMENT_1   1

◆ C7SEG2_SEGMENT_2

#define C7SEG2_SEGMENT_2   2

◆ C7SEG2_SEGMENTS_DISABLED

#define C7SEG2_SEGMENTS_DISABLED   0x0000u

◆ C7SEG2_SEGMENTS_NUMBER

#define C7SEG2_SEGMENTS_NUMBER   3

◆ C7SEG2_SW_RESET

#define C7SEG2_SW_RESET   0x80

7-SEG 2 device state setting.

Specified setting for device state of 7-SEG 2 Click driver.