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 efbcd775f1cd9807b5432cb759c3e8d9b4a54878..d810cd4cf3c0e47a4c5424926fd9af43ef70adf6 100644 (file)
 #define AO_CC1120_INT_PORT     (&stm_gpioc)
 #define AO_CC1120_INT_PIN      14
 
 #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     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
 
 /*
  * Profiling Viterbi decoding