| Electronic Components Datasheet Search |
|
AN3223 Datasheet(PDF) 10 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3223 Datasheet(HTML) 10 Page - STMicroelectronics |
|
10 / 29 page ![]() Internal registers AN3223 10/29 Doc ID 17553 Rev 2 4 Internal registers 4.1 Accessing the internal registers There are six internal registers in the STCF04 (which are the COMMAND, FLASH, AUX_LED, STATUS, FEATURE, and TORCH registers). The STATUS register is read-only. The COMMAND and FEATURE registers can be accessed in any operation mode. All the other registers can be accessed in any mode, except in Shutdown, Shutdown + NTC, and Monitoring mode. When the device enters Shutdown mode, the FLASH, AUX_LED, STATUS, and TORCH registers are cleared. The COMMAND and FEATURE register values remain untouched when entering Shutdown mode, however reading their value gives 0 when the bit PWR_ON = 0. Table 2 shows the accessibility of each register in all operation modes. In other words, whenever the PWR_ON bit in the COMMAND register is set to zero, then only the COMMAND and FEATURE registers can be accessed. It is necessary to set the PWR_ON bit to 1 to access all the registers. Table 2. Accessibility of internal registers Register Address Mode Shutdown value Power-ON reset value Shutdown and Monitoring Idle, Charging, Flash, Torch and AUX LED COMMAND 00 Read / Write Read / Write Untouched Cleared FLASH 01 Inaccessible Read / Write Cleared Cleared AUX_LED 02 Inaccessible Read / Write Cleared Cleared STATUS 03 Inaccessible Read only Cleared Cleared FEATURE 04 Read / Write Read / Write Untouched Cleared TORCH 05 Inaccessible Read / Write Cleared Cleared |
|
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 |