All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pruio_pins.bi File Reference

Pre-defined macros to handle the beagle bone header pins. More...

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

Go to the source code of this file.

## Macros

#define | P8_03 /* 6 */
| CPU ball number for pin 3 on header 8 (emmc2)
#define | P8_04 /* 7 */
| CPU ball number for pin 4 on header 8 (emmc2)
#define | P8_05 /* 2 */
| CPU ball number for pin 5 on header 8 (emmc2)
#define | P8_06 /* 3 */
| CPU ball number for pin 6 on header 8 (emmc2)
#define | P8_07 /* 36 */
| CPU ball number for pin 7 on header 8.
#define | P8_08 /* 37 */
| CPU ball number for pin 8 on header 8.
#define | P8_09 /* 39 */
| CPU ball number for pin 9 on header 8.
#define | P8_10 /* 38 */
| CPU ball number for pin 10 on header 8.
#define | P8_11 /* 13 */
| CPU ball number for pin 11 on header 8.
#define | P8_12 /* 12 */
| CPU ball number for pin 12 on header 8.
#define | P8_13 /* 9 */
| CPU ball number for pin 13 on header 8.
#define | P8_14 /* 10 */
| CPU ball number for pin 14 on header 8.
#define | P8_15 /* 15 */
| CPU ball number for pin 15 on header 8.
#define | P8_16 /* 14 */
| CPU ball number for pin 16 on header 8.
#define | P8_17 /* 11 */
| CPU ball number for pin 17 on header 8.
#define | P8_18 /* 35 */
| CPU ball number for pin 18 on header 8.
#define | P8_19 /* 8 */
| CPU ball number for pin 19 on header 8.
#define | P8_20 /* 33 */
| CPU ball number for pin 20 on header 8 (emmc2)
#define | P8_21 /* 32 */
| CPU ball number for pin 21 on header 8 (emmc2)
#define | P8_22 /* 5 */
| CPU ball number for pin 22 on header 8 (emmc2)
#define | P8_23 /* 4 */
| CPU ball number for pin 23 on header 8 (emmc2)
#define | P8_24 /* 1 */
| CPU ball number for pin 24 on header 8 (emmc2)
#define | P8_25 /* 0 */
| CPU ball number for pin 25 on header 8 (emmc2)
#define | P8_26 /* 31 */
| CPU ball number for pin 26 on header 8.
#define | P8_27 /* 56 */
| CPU ball number for pin 27 on header 8 (hdmi)
#define | P8_28 /* 58 */
| CPU ball number for pin 28 on header 8 (hdmi)
#define | P8_29 /* 57 */
| CPU ball number for pin 29 on header 8 (hdmi)
#define | P8_30 /* 59 */
| CPU ball number for pin 30 on header 8 (hdmi)
#define | P8_31 /* 54 */
| CPU ball number for pin 31 on header 8 (hdmi)
#define | P8_32 /* 55 */
| CPU ball number for pin 32 on header 8 (hdmi)
#define | P8_33 /* 53 */
| CPU ball number for pin 33 on header 8 (hdmi)
#define | P8_34 /* 51 */
| CPU ball number for pin 34 on header 8 (hdmi)
#define | P8_35 /* 52 */
| CPU ball number for pin 35 on header 8 (hdmi)
#define | P8_36 /* 50 */
| CPU ball number for pin 36 on header 8 (hdmi)
#define | P8_37 /* 48 */
| CPU ball number for pin 37 on header 8 (hdmi)
#define | P8_38 /* 49 */
| CPU ball number for pin 38 on header 8 (hdmi)
#define | P8_39 /* 46 */
| CPU ball number for pin 39 on header 8 (hdmi)
#define | P8_40 /* 47 */
| CPU ball number for pin 40 on header 8 (hdmi)
#define | P8_41 /* 44 */
| CPU ball number for pin 41 on header 8 (hdmi)
#define | P8_42 /* 45 */
| CPU ball number for pin 42 on header 8 (hdmi)
#define | P8_43 /* 42 */
| CPU ball number for pin 43 on header 8 (hdmi)
#define | P8_44 /* 43 */
| CPU ball number for pin 44 on header 8 (hdmi)
#define | P8_45 /* 40 */
| CPU ball number for pin 45 on header 8 (hdmi)
#define | P8_46 /* 41 */
| CPU ball number for pin 46 on header 8 (hdmi)
#define | P9_11 /* 28 */
| CPU ball number for pin 11 on header 9.
#define | P9_12 /* 30 */
| CPU ball number for pin 12 on header 9.
#define | P9_13 /* 29 */
| CPU ball number for pin 13 on header 9.
#define | P9_14 /* 18 */
| CPU ball number for pin 14 on header 9.
#define | P9_15 /* 16 */
| CPU ball number for pin 15 on header 9.
#define | P9_16 /* 19 */
| CPU ball number for pin 16 on header 9.
#define | P9_17 /* 87 */
| CPU ball number for pin 17 on header 9.
#define | P9_18 /* 86 */
| CPU ball number for pin 18 on header 9.
#define | P9_19 /* 95 */
| CPU ball number for pin 19 on header 9 (i2c2)
#define | P9_20 /* 94 */
| CPU ball number for pin 20 on header 9 (i2c2)
#define | P9_21 /* 85 */
| CPU ball number for pin 21 on header 9.
#define | P9_22 /* 84 */
| CPU ball number for pin 22 on header 9.
#define | P9_23 /* 17 */
| CPU ball number for pin 23 on header 9.
#define | P9_24 /* 97 */
| CPU ball number for pin 24 on header 9.
#define | P9_25 /* 107 */
| CPU ball number for pin 25 on header 9 (mcasp0)
#define | P9_26 /* 96 */
| CPU ball number for pin 26 on header 9.
#define | P9_27 /* 105 */
| CPU ball number for pin 27 on header 9.
#define | P9_28 /* 103 */
| CPU ball number for pin 28 on header 9 (mcasp0)
#define | P9_29 /* 101 */
| CPU ball number for pin 29 on header 9 (mcasp0)
#define | P9_30 /* 102 */
| CPU ball number for pin 30 on header 9.
#define | P9_31 /* 100 */
| CPU ball number for pin 31 on header 9 (mcasp0)
#define | P9_41 /* 109 */
| CPU ball number for pin 41 on header 9.
#define | P9_42 /* 89 */
| CPU ball number for pin 42 on header 9.
#define | P9_39 /* AIN0 */
| number of analog line on pin 39 on header 9
#define | P9_40 /* AIN1 */
| number of analog line on pin 40 on header 9
#define | P9_37 /* AIN2 */
| number of analog line on pin 37 on header 9
#define | P9_38 /* AIN3 */
| number of analog line on pin 38 on header 9
#define | P9_33 /* AIN4 */
| number of analog line on pin 33 on header 9
#define | P9_36 /* AIN5 */
| number of analog line on pin 36 on header 9
#define | P9_35 /* AIN6 */
| number of analog line on pin 35 on header 9
#define | AIN0 /* 1 */
| default step number of analog line AIN-0
#define | AIN1 /* 2 */
| default step number of analog line AIN-1
#define | AIN2 /* 3 */
| default step number of analog line AIN-2
#define | AIN3 /* 4 */
| default step number of analog line AIN-3
#define | AIN4 /* 5 */
| default step number of analog line AIN-4
#define | AIN5 /* 6 */
| default step number of analog line AIN-5
#define | AIN6 /* 7 */
| default step number of analog line AIN-6
#define | AIN7 /* 8 */
| default step number of analog line AIN-7 (internal, no pin)

## Variables

UInt8 | P8_Pins [...]
| Array of CPU ball numbers for all pins on header P8.
UInt8 | P9_Pins [...]
| Array of CPU ball numbers for all digital pins on header P9. More...
UInt8 | EMMC2_Pins [...]
| Array of CPU ball numbers for emmc2 pin group on header P8. More...
UInt8 | HDMI_Pins [...]
| Array of CPU ball numbers for hdmi pin group on header P8. More...
UInt8 | I2C1_Pins [...]
| Array of CPU ball numbers for i2c1 pin group on header P9. More...
UInt8 | I2C2_Pins [...]
| Array of CPU ball numbers for i2c2 pin group on header P9. More...
UInt8 | MCASP0_Pins [...]
| Array of CPU ball numbers for mcasp0 pin group on header P9. More...

## Detailed Description

Pre-defined macros to handle the beagle bone header pins.

This file contains macros and arrays to easy handle the header pins and pin groups of the beaglebone hardware. Instead of searching the CPU ball number in lists, you can use one of these macros named after the header and pin number (ie pin 3 of header P8 is named P8_03).

The file also contains pre-defined arrays for the pin groups of the beaglebone black hardware. The arrays include all CPU ball numbers that belong to a subsystem like the EMMC2 or HDMI and can be used to adress all related pins as one group.

Definition in file pruio_pins.bi.

## Variable Documentation

UInt8 EMMC2_Pins[...]

Initial value:
= {
6
, 7
, 2
, 3
, 33
, 32
, 5
, 4
, 1
, 0
}

Array of CPU ball numbers for emmc2 pin group on header P8.

Definition at line 259 of file pruio_pins.bi.

UInt8 HDMI_Pins[...]

Initial value:
= {
56
, 58
, 57
, 59
, 54
, 55
, 53
, 51
, 52
, 50
, 48
, 49
, 46
, 47
, 44
, 45
, 42
, 43
, 40
, 41
}

Array of CPU ball numbers for hdmi pin group on header P8.

Definition at line 273 of file pruio_pins.bi.

UInt8 I2C1_Pins[...]

Initial value:
= {
87
, 86
}

Array of CPU ball numbers for i2c1 pin group on header P9.

Definition at line 297 of file pruio_pins.bi.

UInt8 I2C2_Pins[...]

Initial value:
= {
95
, 94
}

Array of CPU ball numbers for i2c2 pin group on header P9.

Definition at line 303 of file pruio_pins.bi.

UInt8 MCASP0_Pins[...]

Initial value:
= {
107
, 103
, 101
, 100
}

Array of CPU ball numbers for mcasp0 pin group on header P9.

Definition at line 309 of file pruio_pins.bi.

UInt8 P9_Pins[...]

Initial value:
= {
28
, 30
, 29
, 18
, 16
, 19
, 87
, 86
, 95
, 94
, 85
, 84
, 17
, 97
, 107
, 96
, 105
, 103
, 101
, 102
, 100
, 109
, 89
}

Array of CPU ball numbers for all digital pins on header P9.

Definition at line 232 of file pruio_pins.bi.