User manual

45
Detection list
Table 20: Detection list bank
Offset
length
Type
Description
0
4
uint32_t
Timestamp: in ms since the power up
4
2
uint16_t
Number of detection (N)
6
2
uint16_t
Current percentage of light source
power
8
4
uint32_t
Acquisition options
12
N *
detection
structure
size
Array of
detection
structure
Start of detection list array
Refer to Table 21 for details.
Table 21: Detection structure size
Offset
length
Type
Description
0
4
uint32_t
Distance expressed in distance scale
To convert to meters, the distance
must be divided by the distance scale.
4
4
uint32_t
Amplitude expressed in raw amplitude
scale
To convert the amplitude to count, it
must be divided by the amplitude
scale.
Amplitude = Contents of this
register/(Amplitude Scale Register +
8192)
8
2
uint16_t
Segment number
10
2
uint16_t
Bit-field detection flags:
Bit 0: Detection is valid (will
always be set)
Bit 1: Detection was the result of
object demerging
Bit 2: Reserved
Bit 3: Detection is saturated