Z-World Fox LP3500 User Manual - page 50
44
Fox (LP3500)
Sets the LP3500 operating power.
PARAMETERS
mode
is the operating mode based on the following macros.
NOTE:
When using modes 6–10, be sure to call
hitwd()
explicitly since periodic inter-
rupts, which incorporate a virtual watchdog, are disabled in these modes.
Table 2 provides more specific information on the LP3500’s capabilities associated with these and other
software-defined modes.
RETURN VALUE
0 if valid parameter
-1 if invalid parameter
SEE ALSO
devPowerSet, rdPowerState, setPowerState, VccMonitor
int powerMode(int mode);
Mode
Description
Typical Current
Consumption
Debug
Capable?
1
CCLK = PCLK = MainOsc = 7.3728 MHz
5–16 mA
Yes
2
CCLK = PCLK = MainOsc/2 = 3.6864 MHz
3
CCLK = PCLK = MainOsc/4 = 1.8423 MHz
4
CCLK = PCLK = MainOsc/6 = 1.2288 MHz
No
5
CCLK = PCLK = MainOsc/8 = 0.9216 MHz
6
CCLK = PCLK = 32.768 kHz
2 mA
7
CCLK = PCLK = 32.768 kHz/2 = 16.384 kHz
8
CCLK = PCLK = 32.768 kHz/4 = 8.192 kHz
9
CCLK = PCLK = 32.768 kHz/8 = 4.096 kHz
10
CCLK = PCLK = 32.768 kHz/16 = 2.048 kHz