3.1.1 Metrology State Control
State control bits input to Metrology module from application code.
Name: | STATE_CTRL |
Offset: | Metrology_Reg_In[0] |
Property: | Read-Write |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
Access | |||||||||
Reset |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
Access | |||||||||
Reset |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
Access | |||||||||
Reset |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
STATE_CTRL[3:0] | |||||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset |
Bits 3:0 – STATE_CTRL[3:0]
State control bits input to Metrology module from application code. Refer to Interface in Initialization Stage for a detailed
description.
Note: Before entering in a Low-Power
mode the Core 0 application should reset the metrology to disable the internal
regulator of the ATSENSE. This action reduces the consumption in Low-Power mode.
The Core 0 appplication should follow these steps:
- Write a '0' in the
"STATE_CTRL" control register.
- Wait until the "STATUS"
status register changes to "RESET".
- Continue with the
procedure to switch to a Low-Power mode.
- Write a '0' in the "STATE_CTRL" control register.
- Wait until the "STATUS" status register changes to "RESET".
- Continue with the procedure to switch to a Low-Power mode.
Value | Name | Description |
---|---|---|
0x0 | RESET | Reset metrology module, reset ATSENSE and halt metrology filters. |
0x1 | INIT | Input control registers are initialized and metrology can initialize itself. |
0x2 | RUN | Metrology filters are free to run, and outputs are updated at commanded rate. |
OTHERS | RESERVED | Reserved values |