altos: Add new MARC status pin interrupt bits to megadongle
authorKeith Packard <keithp@keithp.com>
Mon, 17 Dec 2012 00:08:33 +0000 (16:08 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 17 Dec 2012 00:08:33 +0000 (16:08 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>

src/megadongle-v0.1/ao_pins.h

index efbcd77..d810cd4 100644 (file)
 #define AO_CC1120_INT_PORT     (&stm_gpioc)
 #define AO_CC1120_INT_PIN      14
 
+#define AO_CC1120_MCU_WAKEUP_PORT      (&stm_gpioc)
+#define AO_CC1120_MCU_WAKEUP_PIN       (0)
+
 #define AO_CC1120_INT_GPIO     2
+#define AO_CC1120_INT_GPIO_IOCFG       CC1120_IOCFG2
+
+#define AO_CC1120_MARC_GPIO    3
+#define AO_CC1120_MARC_GPIO_IOCFG      CC1120_IOCFG3
 
 /*
  * Profiling Viterbi decoding