thunder 2.0.0.0
Register addresses

Macros

#define THUNDER_REG_CONFIG_0   0x00
 
#define THUNDER_REG_CONFIG_1   0x01
 
#define THUNDER_REG_CONFIG_2   0x02
 
#define THUNDER_REG_CONFIG_3_INTERR   0x03
 
#define THUNDER_REG_ENERGY_LIGHTNING_LSBYTE   0x04
 
#define THUNDER_REG_ENERGY_LIGHTNING_MSBYTE   0x05
 
#define THUNDER_REG_ENERGY_LIGHTNING_MMSBYTE   0x06
 
#define THUNDER_REG_DISTANCE   0x07
 
#define THUNDER_REG_INTERR_PIN_CONFIG   0x08
 
#define THUNDER_REG_LDLUT_1   0x09
 
#define THUNDER_REG_LDLUT_2   0x0A
 
#define THUNDER_REG_LDLUT_3   0x0B
 
#define THUNDER_REG_LDLUT_4   0x0C
 
#define THUNDER_REG_LDLUT_5   0x0D
 
#define THUNDER_REG_LDLUT_6   0x0E
 
#define THUNDER_REG_LDLUT_7   0x0F
 
#define THUNDER_REG_LDLUT_8   0x10
 
#define THUNDER_REG_LDLUT_9   0x11
 
#define THUNDER_REG_LDLUT_10   0x12
 
#define THUNDER_REG_LDLUT_11   0x13
 
#define THUNDER_REG_LDLUT_12   0x14
 
#define THUNDER_REG_LDLUT_13   0x15
 
#define THUNDER_REG_LDLUT_14   0x16
 
#define THUNDER_REG_LDLUT_15   0x17
 
#define THUNDER_REG_LDLUT_16   0x18
 
#define THUNDER_REG_LDLUT_17   0x19
 
#define THUNDER_REG_LDLUT_18   0x1A
 
#define THUNDER_REG_LDLUT_19   0x1B
 
#define THUNDER_REG_LDLUT_20   0x1C
 
#define THUNDER_REG_LDLUT_21   0x1D
 
#define THUNDER_REG_LDLUT_22   0x1E
 
#define THUNDER_REG_LDLUT_23   0x1F
 
#define THUNDER_REG_LDLUT_24   0x20
 
#define THUNDER_REG_LDLUT_25   0x21
 
#define THUNDER_REG_LDLUT_26   0x22
 
#define THUNDER_REG_LDLUT_27   0x23
 
#define THUNDER_REG_LDLUT_28   0x24
 
#define THUNDER_REG_LDLUT_29   0x25
 
#define THUNDER_REG_LDLUT_30   0x26
 
#define THUNDER_REG_LDLUT_31   0x27
 
#define THUNDER_REG_LDLUT_32   0x28
 
#define THUNDER_REG_LDLUT_33   0x29
 
#define THUNDER_REG_LDLUT_34   0x2A
 
#define THUNDER_REG_LDLUT_35   0x2B
 
#define THUNDER_REG_LDLUT_36   0x2C
 
#define THUNDER_REG_LDLUT_37   0x2D
 
#define THUNDER_REG_LDLUT_38   0x2E
 
#define THUNDER_REG_LDLUT_39   0x2F
 
#define THUNDER_REG_LDLUT_40   0x30
 
#define THUNDER_REG_LDLUT_41   0x31
 
#define THUNDER_REG_LDLUT_42   0x32
 
#define THUNDER_REG_RESET   0x3C
 
#define THUNDER_REG_CALIB   0x3D
 

Detailed Description

Macro Definition Documentation

◆ THUNDER_REG_CALIB

#define THUNDER_REG_CALIB   0x3D

◆ THUNDER_REG_CONFIG_0

#define THUNDER_REG_CONFIG_0   0x00

◆ THUNDER_REG_CONFIG_1

#define THUNDER_REG_CONFIG_1   0x01

◆ THUNDER_REG_CONFIG_2

#define THUNDER_REG_CONFIG_2   0x02

◆ THUNDER_REG_CONFIG_3_INTERR

#define THUNDER_REG_CONFIG_3_INTERR   0x03

◆ THUNDER_REG_DISTANCE

#define THUNDER_REG_DISTANCE   0x07

◆ THUNDER_REG_ENERGY_LIGHTNING_LSBYTE

#define THUNDER_REG_ENERGY_LIGHTNING_LSBYTE   0x04

◆ THUNDER_REG_ENERGY_LIGHTNING_MMSBYTE

#define THUNDER_REG_ENERGY_LIGHTNING_MMSBYTE   0x06

◆ THUNDER_REG_ENERGY_LIGHTNING_MSBYTE

#define THUNDER_REG_ENERGY_LIGHTNING_MSBYTE   0x05

◆ THUNDER_REG_INTERR_PIN_CONFIG

#define THUNDER_REG_INTERR_PIN_CONFIG   0x08

◆ THUNDER_REG_LDLUT_1

#define THUNDER_REG_LDLUT_1   0x09

◆ THUNDER_REG_LDLUT_10

#define THUNDER_REG_LDLUT_10   0x12

◆ THUNDER_REG_LDLUT_11

#define THUNDER_REG_LDLUT_11   0x13

◆ THUNDER_REG_LDLUT_12

#define THUNDER_REG_LDLUT_12   0x14

◆ THUNDER_REG_LDLUT_13

#define THUNDER_REG_LDLUT_13   0x15

◆ THUNDER_REG_LDLUT_14

#define THUNDER_REG_LDLUT_14   0x16

◆ THUNDER_REG_LDLUT_15

#define THUNDER_REG_LDLUT_15   0x17

◆ THUNDER_REG_LDLUT_16

#define THUNDER_REG_LDLUT_16   0x18

◆ THUNDER_REG_LDLUT_17

#define THUNDER_REG_LDLUT_17   0x19

◆ THUNDER_REG_LDLUT_18

#define THUNDER_REG_LDLUT_18   0x1A

◆ THUNDER_REG_LDLUT_19

#define THUNDER_REG_LDLUT_19   0x1B

◆ THUNDER_REG_LDLUT_2

#define THUNDER_REG_LDLUT_2   0x0A

◆ THUNDER_REG_LDLUT_20

#define THUNDER_REG_LDLUT_20   0x1C

◆ THUNDER_REG_LDLUT_21

#define THUNDER_REG_LDLUT_21   0x1D

◆ THUNDER_REG_LDLUT_22

#define THUNDER_REG_LDLUT_22   0x1E

◆ THUNDER_REG_LDLUT_23

#define THUNDER_REG_LDLUT_23   0x1F

◆ THUNDER_REG_LDLUT_24

#define THUNDER_REG_LDLUT_24   0x20

◆ THUNDER_REG_LDLUT_25

#define THUNDER_REG_LDLUT_25   0x21

◆ THUNDER_REG_LDLUT_26

#define THUNDER_REG_LDLUT_26   0x22

◆ THUNDER_REG_LDLUT_27

#define THUNDER_REG_LDLUT_27   0x23

◆ THUNDER_REG_LDLUT_28

#define THUNDER_REG_LDLUT_28   0x24

◆ THUNDER_REG_LDLUT_29

#define THUNDER_REG_LDLUT_29   0x25

◆ THUNDER_REG_LDLUT_3

#define THUNDER_REG_LDLUT_3   0x0B

◆ THUNDER_REG_LDLUT_30

#define THUNDER_REG_LDLUT_30   0x26

◆ THUNDER_REG_LDLUT_31

#define THUNDER_REG_LDLUT_31   0x27

◆ THUNDER_REG_LDLUT_32

#define THUNDER_REG_LDLUT_32   0x28

◆ THUNDER_REG_LDLUT_33

#define THUNDER_REG_LDLUT_33   0x29

◆ THUNDER_REG_LDLUT_34

#define THUNDER_REG_LDLUT_34   0x2A

◆ THUNDER_REG_LDLUT_35

#define THUNDER_REG_LDLUT_35   0x2B

◆ THUNDER_REG_LDLUT_36

#define THUNDER_REG_LDLUT_36   0x2C

◆ THUNDER_REG_LDLUT_37

#define THUNDER_REG_LDLUT_37   0x2D

◆ THUNDER_REG_LDLUT_38

#define THUNDER_REG_LDLUT_38   0x2E

◆ THUNDER_REG_LDLUT_39

#define THUNDER_REG_LDLUT_39   0x2F

◆ THUNDER_REG_LDLUT_4

#define THUNDER_REG_LDLUT_4   0x0C

◆ THUNDER_REG_LDLUT_40

#define THUNDER_REG_LDLUT_40   0x30

◆ THUNDER_REG_LDLUT_41

#define THUNDER_REG_LDLUT_41   0x31

◆ THUNDER_REG_LDLUT_42

#define THUNDER_REG_LDLUT_42   0x32

◆ THUNDER_REG_LDLUT_5

#define THUNDER_REG_LDLUT_5   0x0D

◆ THUNDER_REG_LDLUT_6

#define THUNDER_REG_LDLUT_6   0x0E

◆ THUNDER_REG_LDLUT_7

#define THUNDER_REG_LDLUT_7   0x0F

◆ THUNDER_REG_LDLUT_8

#define THUNDER_REG_LDLUT_8   0x10

◆ THUNDER_REG_LDLUT_9

#define THUNDER_REG_LDLUT_9   0x11

◆ THUNDER_REG_RESET

#define THUNDER_REG_RESET   0x3C