Place CPU in P0 state while idle
[fw/altos] / cc1111.h
index 10d446c0c908b075414e32c15aaa0790a8bceb31..2045c71640a490e22cda2626f541f5d1c14c5cb0 100644 (file)
--- 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
  */