RTEMS
5.1
bsps
arm
beagle
include
bsp
beagleboneblack.h
Go to the documentation of this file.
1
17
#ifndef LIBBSP_ARM_BEAGLE_BEAGLEBONEBLACK_H
18
#define LIBBSP_ARM_BEAGLE_BEAGLEBONEBLACK_H
19
20
/* In general GPIOs of BeagleBone Black/White can be addressed
21
* using two 46-pin dual-row expansion connectors P9 and P8,
22
* which are also known as Expansion A and Expansion B Connectors,
23
* respectively.
24
*
25
* Each Expansion Connector consists of 23 pins. So 2x23 pins would
26
* be available. It has 4 GPIO Banks each consists of 32 pins each.
27
* Toatal number of pins are 128 (32x4).
28
*
29
* So for mapping between generalized pin name and the unique pin
30
* numbers in this header file Macros are declared.
31
*/
32
33
/* USER LEDs of BeagleBone Black */
34
#define BBB_LED_USR0 53
/* USR LED0 */
35
#define BBB_LED_USR1 54
/* USR LED1 */
36
#define BBB_LED_USR2 55
/* USR LED2 */
37
#define BBB_LED_USR3 56
/* USR LED3 */
38
39
/* Header P8 of BeagleBone Black */
40
#define BBB_P8_7 66
/* GPIO2_2 */
41
#define BBB_P8_8 67
/* GPIO2_3 */
42
#define BBB_P8_9 69
/* GPIO2_5 */
43
#define BBB_P8_10 68
/* GPIO2_4 */
44
#define BBB_P8_11 45
/* GPIO1_13 */
45
#define BBB_P8_12 44
/* GPIO1_12 */
46
#define BBB_P8_13 23
/* GPIO0_23 */
47
#define BBB_P8_14 26
/* GPIO0_26 */
48
#define BBB_P8_15 47
/* GPIO1_15 */
49
#define BBB_P8_16 46
/* GPIO1_14 */
50
#define BBB_P8_17 27
/* GPIO0_27 */
51
#define BBB_P8_18 65
/* GPIO2_1 */
52
#define BBB_P8_19 22
/* GPIO0_22 */
53
#define BBB_P8_26 61
/* GPIO1_29 */
54
55
/* Header P9 of BeagleBone Black */
56
#define BBB_P9_11 30
/* GPIO0_30 */
57
#define BBB_P9_12 60
/* GPIO1_28 */
58
#define BBB_P9_13 31
/* GPIO0_31 */
59
#define BBB_P9_14 50
/* GPIO1_18 */
60
#define BBB_P9_15 48
/* GPIO1_16 */
61
#define BBB_P9_16 51
/* GPIO1_19 */
62
#define BBB_P9_17 5
/* GPIO0_5 */
63
#define BBB_P9_18 4
/* GPIO0_4 */
64
#define BBB_P9_23 49
/* GPIO1_17 */
65
#define BBB_P9_24 15
/* GPIO0_15 */
66
#define BBB_P9_26 14
/* GPIO1_14 */
67
#define BBB_P9_27 115
/* GPIO3_19 */
68
#define BBB_P9_30 112
/* GPIO3_16 */
69
#define BBB_P9_41 20
/* GPIO0_20 */
70
#define BBB_P9_42 7
/* GPIO0_7 */
71
72
#endif
/* LIBBSP_ARM_BEAGLE_GPIO_H */
Generated by
1.8.15