| Electronic Components Datasheet Search |
|
AN2827 Datasheet(PDF) 24 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2827 Datasheet(HTML) 24 Page - STMicroelectronics |
|
24 / 30 page ![]() Examples of register setup for each mode AN2827 24/30 Doc ID 15047 Rev 1 8.2 Example 2: 15 mA torch The value of TDIM (4 bits) must be set to 0x0 to set-up the current source to the chosen value. The PWR_ON bit of the command register must be set to 1. The TRIG_EN bit of the command register must be set to 1. The TCH_ON bit of the command register must be set to 0. The NTC_ON bit of the command register can be set to any value because NTC is automatically ON when the torch mode is active. Setting this bit to 0 will not switch off the NTC. Four bytes must be written to the STCF05 to run the torch mode. The duration of the torch mode is "unlimited". Torch mode is terminated by setting the TCH_ON bit in the COMMAND register to 0. Termination of the torch mode can be done by writing the following data to the STCF05. Terminating torch mode puts the STCF05 into READY mode. Table 15. COMMAND register data for torch mode CMD_REG PWR_ON TRIG_EN TCH_ON NTC_ON FTIM_3 FTIM_2 FTIM_1 FTIM_0 1011 0000 MSB LSB Table 16. DIMMING register data for torch mode DIM_REG N/A TDIM_2 TDIM_1 TDIM_0 N/A FDIM_2 FDIM_1 FDIM_0 0000 0000 MSB LSB Table 17. I²C data packet to activate torch mode Byte Hex Binary Comment 1 62 01100010 Device address + R/W bit 2 00 00000000 Command register address 3 B0 10110000 Data of the command register 4 00 00000000 Data of the dimming register Table 18. I²C data packet for terminating torch mode Byte Hex Binary Comment 1 62 01100010 Device address + R/W bit 2 00 00000000 Command register address 3 80 10000000 Data of the command register |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |