Loading...
Searching...
No Matches
waspmote_pinmap.h File Reference

Mapping from MCU pins to Waspmote pins. More...

Detailed Description

Mapping from MCU pins to Waspmote pins.

You can use the defines in this file for simplified interaction with the Waspmote specific pin names.

Author
Francisco Acosta franc.nosp@m.isco.nosp@m..acos.nosp@m.ta@i.nosp@m.nria..nosp@m.fr

Definition in file waspmote_pinmap.h.

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

Go to the source code of this file.

Mapping of MCU pins to Waspomte board pins

#define USB_XBEE_RX   GPIO_PIN(PORT_E, 0)
 
#define USB_XBEE_TX   GPIO_PIN(PORT_E, 1)
 
#define DIGITAL1   GPIO_PIN(PORT_E, 3)
 
#define DIGITAL0   GPIO_PIN(PORT_E, 4)
 
#define DIGITAL7   GPIO_PIN(PORT_C, 4)
 
#define DIGITAL8   GPIO_PIN(PORT_C, 5)
 
#define DIGITAL6   GPIO_PIN(PORT_C, 6)
 
#define DIGITAL5   GPIO_PIN(PORT_C, 7)
 
#define DIGITAL2   GPIO_PIN(PORT_A, 2)
 
#define DIGITAL4   GPIO_PIN(PORT_A, 3)
 
#define DIGITAL3   GPIO_PIN(PORT_A, 4)
 
#define MUX_USB_XBEE   GPIO_PIN(PORT_D, 5)
 
#define LED0   GPIO_PIN(PORT_F, 4)
 
#define LED1   GPIO_PIN(PORT_C, 1)
 
#define ANA0   GPIO_PIN(PORT_F, 1)
 
#define ANA1   GPIO_PIN(PORT_F, 2)
 
#define ANA2   GPIO_PIN(PORT_F, 3)
 
#define ANA3   GPIO_PIN(PORT_F, 4)
 
#define ANA4   GPIO_PIN(PORT_F, 5)
 
#define ANA5   GPIO_PIN(PORT_F, 6)
 
#define ANA6   GPIO_PIN(PORT_F, 7)
 
#define BAT_MONITOR   GPIO_PIN(PORT_F, 0)
 
#define XBEE_PW   GPIO_PIN(PORT_A, 1)
 
#define MUX_PW   GPIO_PIN(PORT_D, 7)
 
#define SENS_PW_5V   GPIO_PIN(PORT_E, 5)
 
#define BAT_MONITOR_PW   GPIO_PIN(PORT_A, 6)
 
#define SENS_PW_3V3   GPIO_PIN(PORT_E, 2)
 
#define MEM_PW   GPIO_PIN(PORT_A, 5)
 
#define SD_PRESENT   GPIO_PIN(PORT_C, 0)
 
#define SD_SS   GPIO_PIN(PORT_B, 0)
 
#define SD_SCK   GPIO_PIN(PORT_B, 1)
 
#define SD_MOSI   GPIO_PIN(PORT_B, 2)
 
#define SD_MISO   GPIO_PIN(PORT_B, 3)
 
#define HIB_PIN   GPIO_PIN(PORT_B, 4)
 
#define SOCKET0_SS   GPIO_PIN(PORT_B, 5)
 
#define GPS_PW   GPIO_PIN(PORT_A, 0)
 
#define MUX_0   GPIO_PIN(PORT_B, 6)
 
#define MUX_1   GPIO_PIN(PORT_B, 7)
 
#define RDY_ACC   GPIO_PIN(PORT_E, 6)
 
#define RST_RTC   GPIO_PIN(PORT_E, 7)
 
#define I2C_SCL   GPIO_PIN(PORT_D, 0)
 
#define I2C_SDA   GPIO_PIN(PORT_D, 1)
 
#define GPRS_PW   GPIO_PIN(PORT_C, 3)
 
#define MUX_RX   GPIO_PIN(PORT_D, 2)
 
#define MUX_TX   GPIO_PIN(PORT_D, 3)
 
#define XBEE_MON   GPIO_PIN(PORT_A, 7)
 
#define GPRS_PIN   GPIO_PIN(PORT_C, 2)
 
#define XBEE_SLEEP   GPIO_PIN(PORT_D, 4)
 
#define RTC_PW   GPIO_PIN(PORT_G, 2)
 
#define RTC_SLEEP   GPIO_PIN(PORT_G, 1)
 
#define LOW_BAT_MON   GPIO_PIN(PORT_G, 0)
 

Macro Definition Documentation

◆ ANA0

#define ANA0   GPIO_PIN(PORT_F, 1)

Definition at line 50 of file waspmote_pinmap.h.

◆ ANA1

#define ANA1   GPIO_PIN(PORT_F, 2)

Definition at line 51 of file waspmote_pinmap.h.

◆ ANA2

#define ANA2   GPIO_PIN(PORT_F, 3)

Definition at line 52 of file waspmote_pinmap.h.

◆ ANA3

#define ANA3   GPIO_PIN(PORT_F, 4)

Definition at line 53 of file waspmote_pinmap.h.

◆ ANA4

#define ANA4   GPIO_PIN(PORT_F, 5)

Definition at line 54 of file waspmote_pinmap.h.

◆ ANA5

#define ANA5   GPIO_PIN(PORT_F, 6)

Definition at line 55 of file waspmote_pinmap.h.

◆ ANA6

#define ANA6   GPIO_PIN(PORT_F, 7)

Definition at line 56 of file waspmote_pinmap.h.

◆ BAT_MONITOR

#define BAT_MONITOR   GPIO_PIN(PORT_F, 0)

Definition at line 57 of file waspmote_pinmap.h.

◆ BAT_MONITOR_PW

#define BAT_MONITOR_PW   GPIO_PIN(PORT_A, 6)

Definition at line 61 of file waspmote_pinmap.h.

◆ DIGITAL0

#define DIGITAL0   GPIO_PIN(PORT_E, 4)

Definition at line 39 of file waspmote_pinmap.h.

◆ DIGITAL1

#define DIGITAL1   GPIO_PIN(PORT_E, 3)

Definition at line 38 of file waspmote_pinmap.h.

◆ DIGITAL2

#define DIGITAL2   GPIO_PIN(PORT_A, 2)

Definition at line 44 of file waspmote_pinmap.h.

◆ DIGITAL3

#define DIGITAL3   GPIO_PIN(PORT_A, 4)

Definition at line 46 of file waspmote_pinmap.h.

◆ DIGITAL4

#define DIGITAL4   GPIO_PIN(PORT_A, 3)

Definition at line 45 of file waspmote_pinmap.h.

◆ DIGITAL5

#define DIGITAL5   GPIO_PIN(PORT_C, 7)

Definition at line 43 of file waspmote_pinmap.h.

◆ DIGITAL6

#define DIGITAL6   GPIO_PIN(PORT_C, 6)

Definition at line 42 of file waspmote_pinmap.h.

◆ DIGITAL7

#define DIGITAL7   GPIO_PIN(PORT_C, 4)

Definition at line 40 of file waspmote_pinmap.h.

◆ DIGITAL8

#define DIGITAL8   GPIO_PIN(PORT_C, 5)

Definition at line 41 of file waspmote_pinmap.h.

◆ GPRS_PIN

#define GPRS_PIN   GPIO_PIN(PORT_C, 2)

Definition at line 82 of file waspmote_pinmap.h.

◆ GPRS_PW

#define GPRS_PW   GPIO_PIN(PORT_C, 3)

Definition at line 78 of file waspmote_pinmap.h.

◆ GPS_PW

#define GPS_PW   GPIO_PIN(PORT_A, 0)

Definition at line 71 of file waspmote_pinmap.h.

◆ HIB_PIN

#define HIB_PIN   GPIO_PIN(PORT_B, 4)

Definition at line 69 of file waspmote_pinmap.h.

◆ I2C_SCL

#define I2C_SCL   GPIO_PIN(PORT_D, 0)

Definition at line 76 of file waspmote_pinmap.h.

◆ I2C_SDA

#define I2C_SDA   GPIO_PIN(PORT_D, 1)

Definition at line 77 of file waspmote_pinmap.h.

◆ LED0

#define LED0   GPIO_PIN(PORT_F, 4)

Definition at line 48 of file waspmote_pinmap.h.

◆ LED1

#define LED1   GPIO_PIN(PORT_C, 1)

Definition at line 49 of file waspmote_pinmap.h.

◆ LOW_BAT_MON

#define LOW_BAT_MON   GPIO_PIN(PORT_G, 0)

Definition at line 86 of file waspmote_pinmap.h.

◆ MEM_PW

#define MEM_PW   GPIO_PIN(PORT_A, 5)

Definition at line 63 of file waspmote_pinmap.h.

◆ MUX_0

#define MUX_0   GPIO_PIN(PORT_B, 6)

Definition at line 72 of file waspmote_pinmap.h.

◆ MUX_1

#define MUX_1   GPIO_PIN(PORT_B, 7)

Definition at line 73 of file waspmote_pinmap.h.

◆ MUX_PW

#define MUX_PW   GPIO_PIN(PORT_D, 7)

Definition at line 59 of file waspmote_pinmap.h.

◆ MUX_RX

#define MUX_RX   GPIO_PIN(PORT_D, 2)

Definition at line 79 of file waspmote_pinmap.h.

◆ MUX_TX

#define MUX_TX   GPIO_PIN(PORT_D, 3)

Definition at line 80 of file waspmote_pinmap.h.

◆ MUX_USB_XBEE

#define MUX_USB_XBEE   GPIO_PIN(PORT_D, 5)

Definition at line 47 of file waspmote_pinmap.h.

◆ RDY_ACC

#define RDY_ACC   GPIO_PIN(PORT_E, 6)

Definition at line 74 of file waspmote_pinmap.h.

◆ RST_RTC

#define RST_RTC   GPIO_PIN(PORT_E, 7)

Definition at line 75 of file waspmote_pinmap.h.

◆ RTC_PW

#define RTC_PW   GPIO_PIN(PORT_G, 2)

Definition at line 84 of file waspmote_pinmap.h.

◆ RTC_SLEEP

#define RTC_SLEEP   GPIO_PIN(PORT_G, 1)

Definition at line 85 of file waspmote_pinmap.h.

◆ SD_MISO

#define SD_MISO   GPIO_PIN(PORT_B, 3)

Definition at line 68 of file waspmote_pinmap.h.

◆ SD_MOSI

#define SD_MOSI   GPIO_PIN(PORT_B, 2)

Definition at line 67 of file waspmote_pinmap.h.

◆ SD_PRESENT

#define SD_PRESENT   GPIO_PIN(PORT_C, 0)

Definition at line 64 of file waspmote_pinmap.h.

◆ SD_SCK

#define SD_SCK   GPIO_PIN(PORT_B, 1)

Definition at line 66 of file waspmote_pinmap.h.

◆ SD_SS

#define SD_SS   GPIO_PIN(PORT_B, 0)

Definition at line 65 of file waspmote_pinmap.h.

◆ SENS_PW_3V3

#define SENS_PW_3V3   GPIO_PIN(PORT_E, 2)

Definition at line 62 of file waspmote_pinmap.h.

◆ SENS_PW_5V

#define SENS_PW_5V   GPIO_PIN(PORT_E, 5)

Definition at line 60 of file waspmote_pinmap.h.

◆ SOCKET0_SS

#define SOCKET0_SS   GPIO_PIN(PORT_B, 5)

Definition at line 70 of file waspmote_pinmap.h.

◆ USB_XBEE_RX

#define USB_XBEE_RX   GPIO_PIN(PORT_E, 0)

Definition at line 36 of file waspmote_pinmap.h.

◆ USB_XBEE_TX

#define USB_XBEE_TX   GPIO_PIN(PORT_E, 1)

Definition at line 37 of file waspmote_pinmap.h.

◆ XBEE_MON

#define XBEE_MON   GPIO_PIN(PORT_A, 7)

Definition at line 81 of file waspmote_pinmap.h.

◆ XBEE_PW

#define XBEE_PW   GPIO_PIN(PORT_A, 1)

Definition at line 58 of file waspmote_pinmap.h.

◆ XBEE_SLEEP

#define XBEE_SLEEP   GPIO_PIN(PORT_D, 4)

Definition at line 83 of file waspmote_pinmap.h.