WaspConstants.h File Reference

#include "pins_waspmote.h"

Include dependency graph for WaspConstants.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define IPADC   1
#define IPTWI   2
#define IPSPI   4
#define IPUSART0   8
#define IPUSART1   16
#define IPTIM0   1
#define IPTIM1   2
#define IPTIM2   4
#define IPTIM3   8
#define PGPS   1
#define PSD   2
#define PACC   4
#define PXBEE   8
#define PRTC   16
#define PUSB   32
#define PSID   64
#define PSLOW_CLK   128
#define PGPRS   1
#define ANALOG0   0
#define ANALOG1   1
#define ANALOG2   2
#define ANALOG3   3
#define ANALOG4   4
#define ANALOG5   5
#define ANALOG6   6
#define ANALOG7   7
#define HAI_INT   1
#define LAI_INT   2
#define ACC_INT   4
#define BAT_INT   8
#define RTC_INT   16
#define WTD_INT   32
#define TIM0_INT   64
#define TIM1_INT   128
#define TIM2_INT   256
#define PIN_INT   512
#define UART0_INT   1024
#define UART1_INT   2048
#define SENS_INT   4096
#define ANE_INT   8192
#define PLV_INT   16384
#define HIB_INT   32768
#define HAI_POS   0
#define LAI_POS   1
#define ACC_POS   2
#define BAT_POS   3
#define RTC_POS   4
#define WTD_POS   5
#define TIM0_POS   6
#define TIM1_POS   7
#define TIM2_POS   8
#define PIN_POS   9
#define UART0_POS   10
#define UART1_POS   11
#define SENS_POS   12
#define SENS2_POS   13
#define ACC_INT_ACT   2
#define ACC_INT_PIN_MON   RDY_ACC
#define HAI_INT_ACT   2
#define HAI_INT_PIN_MON   I2C_SDA
#define LAI_INT_ACT   3
#define LAI_INT_PIN_MON   I2C_SDA
#define BAT_INT_ACT   3
#define BAT_INT_PIN_MON   LOW_BAT_MON
#define RTC_INT_ACT   2
#define RTC_INT_PIN_MON   RST_RTC
#define WTD_INT_ACT   4
#define WTD_INT_PIN_MON   DIGITAL0
#define UART1_INT_ACT   2
#define UART1_INT_PIN_MON   GPRS_PIN
#define SENS_INT_ACT   2
#define SENS_INT_PIN_MON   DIGITAL2
#define SENS_INT_CLK_REG   DIGITAL7
#define SENS_INT_DO   DIGITAL1
#define SENS_INT_ENABLE   DIGITAL8
#define SENS_INT_CLK_INH   DIGITAL3
#define ANE_INT_ACT   2
#define PLV_INT_ACT   3
#define SENS2_INT_PIN_MON   DIGITAL5
#define SENS2_INT_PIN2_MON   DIGITAL3
#define MAX_ARGS   20
#define MAX_ARG_LENGTH   16


Define Documentation

#define ACC_INT   4

#define ACC_INT_ACT   2

Definition at line 135 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define ACC_INT_PIN_MON   RDY_ACC

Definition at line 136 of file WaspConstants.h.

Referenced by enableInterrupts(), and onHAIwakeUP().

#define ACC_POS   2

Definition at line 121 of file WaspConstants.h.

Referenced by onHAIwakeUP().

#define ANALOG0   0

Definition at line 85 of file WaspConstants.h.

#define ANALOG1   1

#define ANALOG2   2

#define ANALOG3   3

#define ANALOG4   4

#define ANALOG5   5

#define ANALOG6   6

#define ANALOG7   7

#define ANE_INT   8192

#define ANE_INT_ACT   2

Definition at line 165 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define BAT_INT   8

#define BAT_INT_ACT   3

Definition at line 144 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define BAT_INT_PIN_MON   LOW_BAT_MON

Definition at line 145 of file WaspConstants.h.

Referenced by enableInterrupts(), and onLAIwakeUP().

#define BAT_POS   3

Definition at line 122 of file WaspConstants.h.

Referenced by onLAIwakeUP().

#define HAI_INT   1

Definition at line 101 of file WaspConstants.h.

Referenced by disableInterrupts(), enableInterrupts(), and onHAIwakeUP().

#define HAI_INT_ACT   2

Definition at line 138 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define HAI_INT_PIN_MON   I2C_SDA

Definition at line 139 of file WaspConstants.h.

Referenced by onHAIwakeUP().

#define HAI_POS   0

Definition at line 119 of file WaspConstants.h.

Referenced by onHAIwakeUP().

#define HIB_INT   32768

Definition at line 116 of file WaspConstants.h.

Referenced by WaspPWR::ifHibernate().

#define IPADC   1

Definition at line 50 of file WaspConstants.h.

Referenced by resetIPF_(), and setIPF_().

#define IPSPI   4

Definition at line 52 of file WaspConstants.h.

Referenced by resetIPF_(), and setIPF_().

#define IPTIM0   1

Definition at line 58 of file WaspConstants.h.

#define IPTIM1   2

Definition at line 59 of file WaspConstants.h.

#define IPTIM2   4

Definition at line 60 of file WaspConstants.h.

#define IPTIM3   8

Definition at line 61 of file WaspConstants.h.

#define IPTWI   2

Definition at line 51 of file WaspConstants.h.

Referenced by resetIPF_(), and setIPF_().

#define IPUSART0   8

Definition at line 53 of file WaspConstants.h.

Referenced by beginSerial(), closeSerial(), resetIPF_(), and setIPF_().

#define IPUSART1   16

Definition at line 54 of file WaspConstants.h.

Referenced by beginSerial(), closeSerial(), resetIPF_(), and setIPF_().

#define LAI_INT   2

Definition at line 102 of file WaspConstants.h.

Referenced by disableInterrupts(), enableInterrupts(), and onLAIwakeUP().

#define LAI_INT_ACT   3

Definition at line 141 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define LAI_INT_PIN_MON   I2C_SDA

Definition at line 142 of file WaspConstants.h.

Referenced by onLAIwakeUP().

#define LAI_POS   1

Definition at line 120 of file WaspConstants.h.

Referenced by onLAIwakeUP().

#define MAX_ARG_LENGTH   16

Definition at line 171 of file WaspConstants.h.

Referenced by WaspUtils::clearArguments().

#define MAX_ARGS   20

#define PACC   4

Definition at line 73 of file WaspConstants.h.

#define PGPRS   1

Definition at line 81 of file WaspConstants.h.

#define PGPS   1

Definition at line 71 of file WaspConstants.h.

#define PIN_INT   512

Definition at line 110 of file WaspConstants.h.

#define PIN_POS   9

Definition at line 128 of file WaspConstants.h.

#define PLV_INT   16384

#define PLV_INT_ACT   3

Definition at line 166 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define PRTC   16

Definition at line 75 of file WaspConstants.h.

#define PSD   2

Definition at line 72 of file WaspConstants.h.

#define PSID   64

Definition at line 77 of file WaspConstants.h.

#define PSLOW_CLK   128

Definition at line 78 of file WaspConstants.h.

#define PUSB   32

Definition at line 76 of file WaspConstants.h.

#define PXBEE   8

Definition at line 74 of file WaspConstants.h.

#define RTC_INT   16

#define RTC_INT_ACT   2

Definition at line 147 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define RTC_INT_PIN_MON   RST_RTC

Definition at line 148 of file WaspConstants.h.

Referenced by enableInterrupts(), WaspPWR::ifHibernate(), and onHAIwakeUP().

#define RTC_POS   4

Definition at line 123 of file WaspConstants.h.

Referenced by onHAIwakeUP().

#define SENS2_INT_PIN2_MON   DIGITAL3

Definition at line 168 of file WaspConstants.h.

Referenced by enableInterrupts().

#define SENS2_INT_PIN_MON   DIGITAL5

Definition at line 167 of file WaspConstants.h.

Referenced by enableInterrupts().

#define SENS2_POS   13

Definition at line 132 of file WaspConstants.h.

Referenced by onHAIwakeUP(), and onLAIwakeUP().

#define SENS_INT   4096

#define SENS_INT_ACT   2

Definition at line 157 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define SENS_INT_CLK_INH   DIGITAL3

Definition at line 162 of file WaspConstants.h.

Referenced by WaspSensorEvent::loadInt().

#define SENS_INT_CLK_REG   DIGITAL7

Definition at line 159 of file WaspConstants.h.

Referenced by WaspSensorEvent::loadInt().

#define SENS_INT_DO   DIGITAL1

Definition at line 160 of file WaspConstants.h.

Referenced by WaspSensorEvent::loadInt().

#define SENS_INT_ENABLE   DIGITAL8

#define SENS_INT_PIN_MON   DIGITAL2

Definition at line 158 of file WaspConstants.h.

Referenced by enableInterrupts(), and onHAIwakeUP().

#define SENS_POS   12

Definition at line 131 of file WaspConstants.h.

Referenced by onHAIwakeUP().

#define TIM0_INT   64

Definition at line 107 of file WaspConstants.h.

#define TIM0_POS   6

Definition at line 125 of file WaspConstants.h.

#define TIM1_INT   128

Definition at line 108 of file WaspConstants.h.

#define TIM1_POS   7

Definition at line 126 of file WaspConstants.h.

#define TIM2_INT   256

Definition at line 109 of file WaspConstants.h.

#define TIM2_POS   8

Definition at line 127 of file WaspConstants.h.

#define UART0_INT   1024

Definition at line 111 of file WaspConstants.h.

#define UART0_POS   10

Definition at line 129 of file WaspConstants.h.

#define UART1_INT   2048

#define UART1_INT_ACT   2

Definition at line 153 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define UART1_INT_PIN_MON   GPRS_PIN

Definition at line 154 of file WaspConstants.h.

Referenced by enableInterrupts(), and onHAIwakeUP().

#define UART1_POS   11

Definition at line 130 of file WaspConstants.h.

Referenced by onHAIwakeUP().

#define WTD_INT   32

#define WTD_INT_ACT   4

Definition at line 150 of file WaspConstants.h.

Referenced by disableInterrupts(), and enableInterrupts().

#define WTD_INT_PIN_MON   DIGITAL0

Definition at line 151 of file WaspConstants.h.

Referenced by enableInterrupts(), ISR(), off_watchdog(), and onLAIwakeUP().

#define WTD_POS   5

Definition at line 124 of file WaspConstants.h.

Referenced by onLAIwakeUP().


Generated on Tue Jul 20 09:30:57 2010 for WaspmoteAPI by  doxygen 1.5.6