#include <avr/pgmspace.h>


Go to the source code of this file.
Defines | |
| #define | USB_XBEE_RX 0 |
| #define | USB_XBEE_TX 1 |
| #define | DIGITAL1 2 |
| #define | DIGITAL0 3 |
| #define | DIGITAL7 4 |
| #define | DIGITAL8 5 |
| #define | DIGITAL6 6 |
| #define | DIGITAL5 7 |
| #define | DIGITAL2 8 |
| #define | DIGITAL4 9 |
| #define | DIGITAL3 10 |
| #define | DIGITAL9 11 |
| #define | LED0 12 |
| #define | LED1 13 |
| #define | ANA0 14 |
| #define | ANA1 15 |
| #define | ANA2 16 |
| #define | ANA3 17 |
| #define | ANA4 18 |
| #define | ANA5 19 |
| #define | ANA6 20 |
| #define | BAT_MONITOR 21 |
| #define | XBEE_PW 22 |
| #define | XBEE_SLEEP 23 |
| #define | SENS_PW_5V 24 |
| #define | BAT_MONITOR_PW 25 |
| #define | SENS_PW_3V3 26 |
| #define | MEM_PW 27 |
| #define | SD_PRESENT 28 |
| #define | SD_SS 29 |
| #define | SD_SCK 30 |
| #define | SD_MOSI 31 |
| #define | SD_MISO 32 |
| #define | SERID_PW 33 |
| #define | SERID_IN 34 |
| #define | GPS_PW 35 |
| #define | MUX0 36 |
| #define | MUX1 37 |
| #define | RDY_ACC 38 |
| #define | RST_RTC 39 |
| #define | I2C_SCL 40 |
| #define | I2C_SDA 41 |
| #define | GPRS_PW 42 |
| #define | MUX_RX 43 |
| #define | MUX_TX 44 |
| #define | BOOT_PIN 45 |
| #define | GPRS_PIN 46 |
| #define | MUX_PW 47 |
| #define | RTC_PW 48 |
| #define | RTC_SLEEP 49 |
| #define | LOW_BAT_MON 50 |
| #define | NOT_A_PIN 0 |
| #define | NOT_A_PORT 0 |
| #define | NOT_ON_TIMER 0 |
| #define | TIMER0A 1 |
| #define | TIMER0B 2 |
| #define | TIMER1A 3 |
| #define | TIMER1B 4 |
| #define | TIMER2 5 |
| #define | TIMER2A 6 |
| #define | TIMER2B 7 |
| #define | TIMER3A 8 |
| #define | TIMER3B 9 |
| #define | TIMER3C 10 |
| #define | digitalPinToPort(P) ( pgm_read_byte( digital_pin_to_port_PGM + (P) ) ) |
| #define | digitalPinToBitMask(P) ( pgm_read_byte( digital_pin_to_bit_mask_PGM + (P) ) ) |
| #define | digitalPinToTimer(P) ( pgm_read_byte( digital_pin_to_timer_PGM + (P) ) ) |
| #define | analogInPinToBit(P) (P) |
| #define | portOutputRegister(P) ( (volatile uint8_t *)( pgm_read_byte( port_to_output_PGM + (P))) ) |
| #define | portInputRegister(P) ( (volatile uint8_t *)( pgm_read_byte( port_to_input_PGM + (P))) ) |
| #define | portModeRegister(P) ( (volatile uint8_t *)( pgm_read_byte( port_to_mode_PGM + (P))) ) |
Variables | |
| const uint8_t PROGMEM | port_to_mode_PGM [] |
| const uint8_t PROGMEM | port_to_input_PGM [] |
| const uint8_t PROGMEM | port_to_output_PGM [] |
| const uint8_t PROGMEM | digital_pin_to_port_PGM [] |
| const uint8_t PROGMEM | digital_pin_to_bit_PGM [] |
| const uint8_t PROGMEM | digital_pin_to_bit_mask_PGM [] |
| const uint8_t PROGMEM | digital_pin_to_timer_PGM [] |
| #define ANA0 14 |
| #define ANA1 15 |
Definition at line 46 of file pins_waspmote.h.
| #define ANA2 16 |
Definition at line 47 of file pins_waspmote.h.
| #define ANA3 17 |
Definition at line 48 of file pins_waspmote.h.
| #define ANA4 18 |
Definition at line 49 of file pins_waspmote.h.
| #define ANA5 19 |
Definition at line 50 of file pins_waspmote.h.
| #define ANA6 20 |
Definition at line 51 of file pins_waspmote.h.
| #define analogInPinToBit | ( | P | ) | (P) |
| #define BAT_MONITOR 21 |
Definition at line 52 of file pins_waspmote.h.
| #define BAT_MONITOR_PW 25 |
Definition at line 56 of file pins_waspmote.h.
Referenced by WaspPWR::getBatteryLevel(), and WaspPWR::switchesOFF().
| #define BOOT_PIN 45 |
Definition at line 76 of file pins_waspmote.h.
| #define DIGITAL0 3 |
| #define DIGITAL1 2 |
Definition at line 33 of file pins_waspmote.h.
Referenced by WaspSensorGas::pulse(), WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), and WaspSensorGas::WaspSensorGas().
| #define DIGITAL2 8 |
Definition at line 39 of file pins_waspmote.h.
Referenced by WaspSensorAgr::readPluviometer(), WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), and WaspSensorGas::WaspSensorGas().
| #define DIGITAL3 10 |
Definition at line 41 of file pins_waspmote.h.
Referenced by WaspSensorGas::pulse(), WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), and WaspSensorGas::WaspSensorGas().
| #define DIGITAL4 9 |
Definition at line 40 of file pins_waspmote.h.
Referenced by WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), and WaspSensorGas::WaspSensorGas().
| #define DIGITAL5 7 |
Definition at line 38 of file pins_waspmote.h.
Referenced by WaspSensorGas::pulse(), WaspSensorEvent::readValue(), WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), and WaspSensorGas::WaspSensorGas().
| #define DIGITAL6 6 |
Definition at line 37 of file pins_waspmote.h.
Referenced by WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), and WaspSensorGas::WaspSensorGas().
| #define DIGITAL7 4 |
Definition at line 35 of file pins_waspmote.h.
Referenced by WaspSensorGas::pulse(), WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), and WaspSensorGas::WaspSensorGas().
| #define DIGITAL8 5 |
Definition at line 36 of file pins_waspmote.h.
Referenced by WaspSensorGas::setSensorMode(), WaspSensorAgr::WaspSensorAgr(), and WaspSensorEvent::WaspSensorEvent().
| #define DIGITAL9 11 |
| #define digitalPinToBitMask | ( | P | ) | ( pgm_read_byte( digital_pin_to_bit_mask_PGM + (P) ) ) |
Definition at line 114 of file pins_waspmote.h.
Referenced by digitalRead(), digitalWrite(), pinMode(), and pulseIn().
| #define digitalPinToPort | ( | P | ) | ( pgm_read_byte( digital_pin_to_port_PGM + (P) ) ) |
Definition at line 113 of file pins_waspmote.h.
Referenced by digitalRead(), digitalWrite(), pinMode(), and pulseIn().
| #define digitalPinToTimer | ( | P | ) | ( pgm_read_byte( digital_pin_to_timer_PGM + (P) ) ) |
Definition at line 115 of file pins_waspmote.h.
Referenced by analogWrite(), digitalRead(), and digitalWrite().
| #define GPRS_PIN 46 |
Definition at line 77 of file pins_waspmote.h.
| #define GPRS_PW 42 |
| #define GPS_PW 35 |
Definition at line 66 of file pins_waspmote.h.
Referenced by WaspGPS::setMode(), and WaspPWR::switchesOFF().
| #define I2C_SCL 40 |
| #define I2C_SDA 41 |
| #define LED0 12 |
| #define LED1 13 |
| #define LOW_BAT_MON 50 |
Definition at line 81 of file pins_waspmote.h.
| #define MEM_PW 27 |
Definition at line 58 of file pins_waspmote.h.
Referenced by WaspSD::begin(), WaspSD::setMode(), and WaspPWR::switchesOFF().
| #define MUX0 36 |
Definition at line 67 of file pins_waspmote.h.
Referenced by WaspUtils::setMux(), WaspUtils::setMuxAux1(), WaspUtils::setMuxAux2(), WaspUtils::setMuxGPRS(), and WaspUtils::setMuxGPS().
| #define MUX1 37 |
Definition at line 68 of file pins_waspmote.h.
Referenced by WaspUtils::setMux(), WaspUtils::setMuxAux1(), WaspUtils::setMuxAux2(), WaspUtils::setMuxGPRS(), and WaspUtils::setMuxGPS().
| #define MUX_PW 47 |
Definition at line 78 of file pins_waspmote.h.
Referenced by WaspUtils::setMux(), WaspUtils::setMuxAux1(), WaspUtils::setMuxAux2(), WaspUtils::setMuxGPRS(), WaspUtils::setMuxGPS(), and WaspPWR::switchesOFF().
| #define MUX_RX 43 |
| #define MUX_TX 44 |
| #define NOT_A_PIN 0 |
Definition at line 83 of file pins_waspmote.h.
Referenced by digitalRead(), digitalWrite(), and pinMode().
| #define NOT_A_PORT 0 |
Definition at line 84 of file pins_waspmote.h.
| #define NOT_ON_TIMER 0 |
| #define portInputRegister | ( | P | ) | ( (volatile uint8_t *)( pgm_read_byte( port_to_input_PGM + (P))) ) |
| #define portModeRegister | ( | P | ) | ( (volatile uint8_t *)( pgm_read_byte( port_to_mode_PGM + (P))) ) |
| #define portOutputRegister | ( | P | ) | ( (volatile uint8_t *)( pgm_read_byte( port_to_output_PGM + (P))) ) |
| #define RDY_ACC 38 |
Definition at line 69 of file pins_waspmote.h.
| #define RST_RTC 39 |
| #define RTC_PW 48 |
Definition at line 79 of file pins_waspmote.h.
Referenced by WaspRTC::setMode(), and WaspPWR::switchesOFF().
| #define RTC_SLEEP 49 |
| #define SD_MISO 32 |
| #define SD_MOSI 31 |
| #define SD_PRESENT 28 |
| #define SD_SCK 30 |
| #define SD_SS 29 |
| #define SENS_PW_3V3 26 |
Definition at line 57 of file pins_waspmote.h.
Referenced by WaspSensorPrototyping::setBoardMode(), WaspSensorGas::setBoardMode(), WaspSensorEvent::setBoardMode(), WaspSensorAgr::setBoardMode(), WaspPWR::setSensorPower(), WaspPWR::switchesOFF(), WaspSensorAgr::WaspSensorAgr(), WaspSensorEvent::WaspSensorEvent(), WaspSensorGas::WaspSensorGas(), and WaspSensorPrototyping::WaspSensorPrototyping().
| #define SENS_PW_5V 24 |
Definition at line 55 of file pins_waspmote.h.
Referenced by WaspSensorPrototyping::setBoardMode(), WaspSensorGas::setBoardMode(), WaspSensorAgr::setBoardMode(), WaspPWR::setSensorPower(), WaspPWR::switchesOFF(), WaspSensorAgr::WaspSensorAgr(), WaspSensorGas::WaspSensorGas(), and WaspSensorPrototyping::WaspSensorPrototyping().
| #define SERID_IN 34 |
Definition at line 65 of file pins_waspmote.h.
| #define SERID_PW 33 |
| #define TIMER0A 1 |
| #define TIMER0B 2 |
| #define TIMER1A 3 |
| #define TIMER1B 4 |
| #define TIMER2 5 |
| #define TIMER2A 6 |
| #define TIMER2B 7 |
| #define TIMER3A 8 |
| #define TIMER3B 9 |
| #define TIMER3C 10 |
Definition at line 96 of file pins_waspmote.h.
| #define USB_XBEE_RX 0 |
Definition at line 31 of file pins_waspmote.h.
| #define USB_XBEE_TX 1 |
Definition at line 32 of file pins_waspmote.h.
| #define XBEE_PW 22 |
Definition at line 53 of file pins_waspmote.h.
Referenced by WaspXBee::begin(), WaspBT::OFF(), WaspBT::ON(), and WaspXBee::setMode().
| #define XBEE_SLEEP 23 |
Definition at line 54 of file pins_waspmote.h.
Referenced by WaspXBeeXSC::sleep(), WaspXBeeCore::sleep(), WaspXBeeCore::synchronization(), WaspXBeeXSC::wake(), and WaspXBeeCore::wake().
| const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[] |
Definition at line 166 of file pins_waspmote.c.
| const uint8_t PROGMEM digital_pin_to_bit_PGM[] |
| const uint8_t PROGMEM digital_pin_to_port_PGM[] |
Definition at line 111 of file pins_waspmote.c.
| const uint8_t PROGMEM digital_pin_to_timer_PGM[] |
Definition at line 222 of file pins_waspmote.c.
| const uint8_t PROGMEM port_to_input_PGM[] |
Definition at line 100 of file pins_waspmote.c.
| const uint8_t PROGMEM port_to_mode_PGM[] |
Definition at line 78 of file pins_waspmote.c.
| const uint8_t PROGMEM port_to_output_PGM[] |
Definition at line 89 of file pins_waspmote.c.
1.5.6