Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
waspmote_pinmap.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 INRIA
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
22
#ifndef WASPMOTE_PINMAP_H
23
#define WASPMOTE_PINMAP_H
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
/*
34
* DESCRIPTION WASP API PIN PORT PIN
35
*/
36
#define USB_XBEE_RX GPIO_PIN(PORT_E, 0)
37
#define USB_XBEE_TX GPIO_PIN(PORT_E, 1)
38
#define DIGITAL1 GPIO_PIN(PORT_E, 3)
39
#define DIGITAL0 GPIO_PIN(PORT_E, 4)
40
#define DIGITAL7 GPIO_PIN(PORT_C, 4)
41
#define DIGITAL8 GPIO_PIN(PORT_C, 5)
42
#define DIGITAL6 GPIO_PIN(PORT_C, 6)
43
#define DIGITAL5 GPIO_PIN(PORT_C, 7)
44
#define DIGITAL2 GPIO_PIN(PORT_A, 2)
45
#define DIGITAL4 GPIO_PIN(PORT_A, 3)
46
#define DIGITAL3 GPIO_PIN(PORT_A, 4)
47
#define MUX_USB_XBEE GPIO_PIN(PORT_D, 5)
48
#define LED0 GPIO_PIN(PORT_F, 4)
49
#define LED1 GPIO_PIN(PORT_C, 1)
50
#define ANA0 GPIO_PIN(PORT_F, 1)
51
#define ANA1 GPIO_PIN(PORT_F, 2)
52
#define ANA2 GPIO_PIN(PORT_F, 3)
53
#define ANA3 GPIO_PIN(PORT_F, 4)
54
#define ANA4 GPIO_PIN(PORT_F, 5)
55
#define ANA5 GPIO_PIN(PORT_F, 6)
56
#define ANA6 GPIO_PIN(PORT_F, 7)
57
#define BAT_MONITOR GPIO_PIN(PORT_F, 0)
58
#define XBEE_PW GPIO_PIN(PORT_A, 1)
59
#define MUX_PW GPIO_PIN(PORT_D, 7)
60
#define SENS_PW_5V GPIO_PIN(PORT_E, 5)
61
#define BAT_MONITOR_PW GPIO_PIN(PORT_A, 6)
62
#define SENS_PW_3V3 GPIO_PIN(PORT_E, 2)
63
#define MEM_PW GPIO_PIN(PORT_A, 5)
64
#define SD_PRESENT GPIO_PIN(PORT_C, 0)
65
#define SD_SS GPIO_PIN(PORT_B, 0)
66
#define SD_SCK GPIO_PIN(PORT_B, 1)
67
#define SD_MOSI GPIO_PIN(PORT_B, 2)
68
#define SD_MISO GPIO_PIN(PORT_B, 3)
69
#define HIB_PIN GPIO_PIN(PORT_B, 4)
70
#define SOCKET0_SS GPIO_PIN(PORT_B, 5)
71
#define GPS_PW GPIO_PIN(PORT_A, 0)
72
#define MUX_0 GPIO_PIN(PORT_B, 6)
73
#define MUX_1 GPIO_PIN(PORT_B, 7)
74
#define RDY_ACC GPIO_PIN(PORT_E, 6)
75
#define RST_RTC GPIO_PIN(PORT_E, 7)
76
#define I2C_SCL GPIO_PIN(PORT_D, 0)
77
#define I2C_SDA GPIO_PIN(PORT_D, 1)
78
#define GPRS_PW GPIO_PIN(PORT_C, 3)
79
#define MUX_RX GPIO_PIN(PORT_D, 2)
80
#define MUX_TX GPIO_PIN(PORT_D, 3)
81
#define XBEE_MON GPIO_PIN(PORT_A, 7)
82
#define GPRS_PIN GPIO_PIN(PORT_C, 2)
83
#define XBEE_SLEEP GPIO_PIN(PORT_D, 4)
84
#define RTC_PW GPIO_PIN(PORT_G, 2)
85
#define RTC_SLEEP GPIO_PIN(PORT_G, 1)
86
#define LOW_BAT_MON GPIO_PIN(PORT_G, 0)
89
#ifdef __cplusplus
90
}
91
#endif
92
93
#endif
/* WASPMOTE_PINMAP_H */
Generated on Fri Nov 15 2024 22:46:35 by
1.9.8