easy2log© RT0005 Technical Information Manual
24
BIN_ENA_TIME_STORE register (RW)
Register
Address
Op.
Default
BIN_ENA_TIME_STORE
0x12
RW
0x0000
The register is composed by the following fields:
15
…
2
1
0
BIN15_EN
…
BIN02_EN
BIN01_EN
BIN00_EN
0
0
0
0
0
Default
BINX_EN: if the BINX_EN bit (X = 0..15) is set to 1 the timestamps (2 words - Unix time format) of sampled values which
are in the range of bin X are saved into the logging memory. Default condition is 0 for all flags.
Example:
In case both the sample value and the sample time need to be stored in the log area the sequence of
the logged data in the memory is the following:
Address
Data (16 bit)
0x08A
Sample 1: Temperature value
0x08B
Sample 1: Time (low)
(*)
0x08C
Sample 1: Time (high)
(*)
0x08D
Sample 2: Temperature value
….
….
(*)Time is expressed in Unix format and need 2 words for a single sample.
Tab. 3.3: Temperature/Time memory organization
BIN_HLIMIT registers (RW – 16 words)
Register
Address
Op.
Default
BIN_HLIMIT_0
0x13
RW
0x08C0
BIN_HLIMIT_1
0x14
RW
0x0000
...
...
..
0x0000
BIN_HLIMIT_15
0x22
RW
0x0000
These registers are used to set the upper limit for the corresponding histogram bin. The lower level corresponds to the
upper level of the previous bin. The lower level of the first bin is fixed to the lower limit of the sensor.
The temperature T in °C is expressed in fixed point 8.5 notation T
fixedpoint
using the formula:
C
T
C
if
C
T
C
if
T
T
T
fixedpo
0
20
70
0
32
8192
32
int
(3)
Some sample values are shown in the table below:
T(°C)
T
fixedpoint
-20
7552
-0,25
8184
0
0
70
2240