summaryrefslogtreecommitdiff
path: root/cc1111.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-25 14:43:23 -0700
committerKeith Packard <keithp@keithp.com>2009-04-25 14:43:23 -0700
commit7bc3d9962872850e7b420221cf689db16b4305cc (patch)
tree093d8daeca290f7bcd2c3aee374bb5df582b6048 /cc1111.h
parente45fce7f82d704d677f84c69b0e07588d109d780 (diff)
Place CPU in P0 state while idle
Diffstat (limited to 'cc1111.h')
-rw-r--r--cc1111.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cc1111.h b/cc1111.h
index 10d446c0..2045c716 100644
--- a/cc1111.h
+++ b/cc1111.h
@@ -96,6 +96,11 @@ sfr at 0x9A IEN2; /* Interrupt Enable 2 Register */
#define SLEEP_MODE_PM3 (3 << 0)
#define SLEEP_MODE_MASK (3 << 0)
+/* PCON 0x87 */
+sfr at 0x87 PCON; /* Power Mode Control Register */
+
+#define PCON_IDLE (1 << 0)
+
/*
* TCON
*/