| 数据搜索系统,热门电子元器件搜索 |
|
STCF04 数据表(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STCF04 数据表(HTML) 23 Page - STMicroelectronics |
|
23 / 43 page ![]() STCF04 Description of the internal registers Doc ID 022927 Rev 3 23/43 9 Description of the internal registers Note: All the registers can be read only when the PWR_ON bit is 1. Reading any register when PWR_ON = 0, gives 0 regardless of the real value of the register. This concerns command and feature registers in Monitoring mode and Shutdown + NTC mode. 9.1 Commands (CMD_REG) 00(hex) 9.1.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 (Idle mode). As long as PWR_ON=0, only the I²C interface is active, minimizing Shutdown mode power consumption. 9.1.2 FLASH_ON This bit is AND-ed with the FLASH pin to generate the internal signal FL_ON that activates Flash mode. In this way, both soft-triggering and hard-triggering of the flash are possible. If soft-triggering (through I²C) is chosen, the FLASH pin is not used and must be kept HIGH (tied to VBAT). If hard-triggering is chosen, then the FLASH pin must be connected to a microprocessor I/O devoted to flash timing control, and the FLASH_ON bit must be set in advance. Both triggering modes can benefit from the internal flash time counter, which uses the FLASH_ON bit and can work either as a safety shutdown timer or as a flash duration timer. Flash mode can start only if PWR_ON=1. The LED current is controlled by the value set by the FDIM_0~2 of the DIM_REG. 9.1.3 TCH_ON Torch on: when set to 1 from Idle mode, the STCF04 enters Torch mode. The LED current is controlled by the value set by the TDIM_0~3 of the TORCH_REG. Table 9. I²C register mapping Register name SUB address (hex) Operation Description CMD_REG 00 R / W Commands FL_REG 01 R / W Flash register AUX_REG 02 R / W Auxiliary LED STAT_REG 03 R only Status register FTR_REG 04 R / W Features TRCH_REG 05 R / W Torch register Table 10. Command register CMD_REG (Write mode) MSB LSB SUB ADD=00 PWR_ON FLASH_ON TCH_ON NTC_ON TCHV_H CHRG MONTR N/A Power-ON RESET value 0 0 0 0000 0 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |