Description of internal registers
STCF03
20/35
8
Description of internal registers
8.1 PWR_ON
When set, it activates all analog and power internal blocks including the NTC supporting
circuit, and the device is ready to operate (Ready Mode). As long as PWR_ON=0, only the
I
2
C interface is active, minimizing Stand-by Mode power consumption.
8.2 TRIG_EN
This bit is AND-ed with the TRIG pin to generate the internal signal FL_ON that activates
Flash Mode. By this way, both soft-triggering and hard-triggering of the Flash are made
possible. If soft-triggering (through I
2
C) is chosen, the TRIG pin is not used and must be
kept HIGH (VI). If hard-triggering is chosen, then the TRIG pin has to be connected to a µP
I/O devoted to Flash timing control, and the TRIG_EN bit must be set in advance. Both
triggering modes can benefit of the internal Flash Time Counter, that uses the TRIG_EN bit
and can work either as a safety shut-down timer or as a Flash duration timer. Flash mode
can start only if PWR_ON=1. LED current is controlled by the value set by the FDIM_0~3 of
the DIM_REG.
8.3 TCH_ON
When set from Ready Mode, the STCF03 enters the Torch mode. The LED current is
controlled by the value set by the TDIM_0~3 of the DIM_REG.
8.4 NTC_ON
In ready mode, the comparators that monitor the LED temperature are activated if NTC_ON
bit is set. NTC-related blocks are always active regardless of this bit in Torch mode and
Flash mode.
Table 9. I
2
C Register mapping function
Register name
SUB ADDRESS (hex)
Operation
CMD_REG
00
R / W
DIM_REG
01
R / W
AUX_REG
02
R / W
STAT_REG
03
R only
Table 10. Command register
CMD_REG
(write mode)
MSB
LSB
SUB ADD=00
PWR_ON
TRIG_EN
TCH_ON
NTC_ON
FTIM_3
FTIM_2
FTIM_1
FTIM_0
Power ON
RESET Value
0
0
0
0
0
0
0
0