libpruio
0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
P8.bi
Go to the documentation of this file.
1
13
14
' Load convenience macros.
15
#INCLUDE ONCE
"../pruio/pruio_pins.bi"
16
17
' pin 01, GND
18
' pin 02, GND
19
20
' ZCZ ball R9 (emmc)
21
M(P8_03) =
CHR
( _
22
0 + I_O _
' gpmc_ad6
23
, 1 + I_O _
' mmc1_dat6
24
) & GPIO_DEF
25
26
' ZCZ ball T9 (emmc)
27
M(P8_04) =
CHR
( _
28
0 + I_O _
' gpmc_ad7
29
, 1 + I_O _
' mmc1_dat7
30
) & GPIO_DEF
31
32
' ZCZ ball R8 (emmc)
33
M(P8_05) =
CHR
( _
34
0 + I_O _
' gpmc_ad2
35
, 1 + I_O _
' mmc1_dat2
36
) & GPIO_DEF
37
38
' ZCZ ball T8 (emmc)
39
M(P8_06) =
CHR
( _
40
0 + I_O _
' gpmc_ad3
41
, 1 + I_O _
' mmc1_dat3
42
) & GPIO_DEF
43
44
' ZCZ ball R7
45
M(P8_07) =
CHR
( _
46
0 + _O_ _
' gpmc_advn_ale
47
, 2 + TMRi _
' timer4_in
48
, 2 + TMRo _
' timer4_pwm_out
49
) & GPIO_DEF
50
51
' ZCZ ball T7
52
M(P8_08) =
CHR
( _
53
0 + _O_ _
' gpmc_oen_ren
54
, 2 + TMRi _
' timer7_in
55
, 2 + TMRo _
' timer7_pwm_out
56
) & GPIO_DEF
57
58
' ZCZ ball T6
59
M(P8_09) =
CHR
( _
60
0 + _O_ _
' gpmc_be0n_cle
61
, 2 + TMRi _
' timer5_in
62
, 2 + TMRo _
' timer5_pwm_out
63
) & GPIO_DEF
64
65
' ZCZ ball U6
66
M(P8_10) =
CHR
( _
67
0 + _O_ _
' gpmc_wen
68
, 2 + TMRi _
' timer6_in
69
, 2 + TMRo _
' timer6_pwm_out
70
) & GPIO_DEF
71
72
' ZCZ ball R12
73
M(P8_11) =
CHR
( _
74
0 + I_O _
' gpmc_ad13
75
, 1 + _O_ _
' lcd_data18
76
, 2 + I_O _
' mmc1_dat5
77
, 3 + I_O _
' mmc2_dat1
78
, 4 + QEPi _
' eQEP2B_in
79
, 5 + _O_ _
' pr1_mii0_txd1
80
, 6 + _O_ _
' pr1_pru0_pru_r30_15
81
) & GPIO_DEF
82
83
' ZCZ ball T12
84
M(P8_12) =
CHR
( _
85
0 + I_O _
' gpmc_ad12
86
, 1 + _O_ _
' lcd_data19
87
, 2 + I_O _
' mmc1_dat4
88
, 3 + I_O _
' mmc2_dat0
89
, 4 + QEPi _
' eQEP2A_in
90
, 5 + _O_ _
' pr1_mii0_txd2
91
, 6 + _O_ _
' pr1_pru0_pru_r30_14
92
) & GPIO_DEF
93
94
' ZCZ ball T10
95
M(P8_13) =
CHR
( _
96
0 + I_O _
' gpmc_ad9
97
, 1 + _O_ _
' lcd_data22
98
, 2 + I_O _
' mmc1_dat1
99
, 3 + I_O _
' mmc2_dat5
100
, 4 + _O_ _
' ehrpwm2B
101
, 5 + _I_ _
' pr1_mii0_col
102
) & GPIO_DEF
103
104
' ZCZ ball T11
105
M(P8_14) =
CHR
( _
106
0 + I_O _
' gpmc_ad10
107
, 1 + _O_ _
' lcd_data21
108
, 2 + I_O _
' mmc1_dat2
109
, 3 + I_O _
' mmc2_dat6
110
, 4 + _I_ _
' ehrpwm2_tripzone_input
111
, 5 + _O_ _
' pr1_mii0_txen
112
) & GPIO_DEF
113
114
' ZCZ ball U13
115
M(P8_15) =
CHR
( _
116
0 + I_O _
' gpmc_ad15
117
, 1 + _O_ _
' lcd_data16
118
, 2 + I_O _
' mmc1_dat7
119
, 3 + I_O _
' mmc2_dat3
120
, 4 + QEPi _
' eQEP2_strobe_in
121
, 4 + QEPo _
' eQEP2_strobe_out
122
, 5 + CAPi _
' pr1_ecap0_ecap_capin
123
, 5 + CAPo _
' pr1_ecap0_ecap_apwm_o
124
, 6 + _I_ _
' pr1_pru0_pru_r31_15
125
) & GPIO_DEF
126
127
' ZCZ ball V13
128
M(P8_16) =
CHR
( _
129
0 + I_O _
' gpmc_ad14
130
, 1 + _O_ _
' lcd_data17
131
, 2 + I_O _
' mmc1_dat6
132
, 3 + I_O _
' mmc2_dat2
133
, 4 + QEPi _
' eQEP2_index_in
134
, 4 + QEPo _
' eQEP2_index_out
135
, 5 + _O_ _
' pr1_mii0_txd0
136
, 6 + _I_ _
' pr1_pru0_pru_r31_14
137
) & GPIO_DEF
138
139
' ZCZ ball U12
140
M(P8_17) =
CHR
( _
141
0 + I_O _
' gpmc_ad11
142
, 1 + _O_ _
' lcd_data20
143
, 2 + I_O _
' mmc1_dat3
144
, 3 + I_O _
' mmc2_dat7
145
, 4 + _O_ _
' ehrpwm0_synco
146
, 5 + _O_ _
' pr1_mii0_txd3
147
) & GPIO_DEF
148
149
' ZCZ ball V12
150
M(P8_18) =
CHR
( _
151
0 + I_O _
' gpmc_clk
152
, 1 + _O_ _
' lcd_memory_clk
153
, 2 + _I_ _
' gpmc_wait1
154
, 3 + I_O _
' mmc2_clk
155
, 4 + _I_ _
' pr1_mii1_crs
156
, 5 + _O_ _
' pr1_mdio_mdclk
157
, 6 + I_O _
' mcasp0_fsr
158
) & GPIO_DEF
159
160
' ZCZ ball U10
161
M(P8_19) =
CHR
( _
162
0 + I_O _
' gpmc_ad8
163
, 1 + _O_ _
' lcd_data23
164
, 2 + I_O _
' mmc1_dat0
165
, 3 + I_O _
' mmc2_dat4
166
, 4 + _O_ _
' ehrpwm2A
167
, 5 + _I_ _
' pr1_mii_mt0_clk
168
) & GPIO_DEF
169
170
' ZCZ ball V9 (emmc)
171
M(P8_20) =
CHR
( _
172
0 + _O_ _
' gpmc_csn2
173
, 1 + _O_ _
' gpmc_be1n
174
, 2 + I_O _
' mmc1_cmd
175
, 3 + _I_ _
' pr1_edio_data_in7
176
, 4 + _O_ _
' pr1_edio_data_out7
177
, 5 + _O_ _
' pr1_pru1_pru_r30_13
178
, 6 + _I_ _
' pr1_pru1_pru_r31_13
179
) & GPIO_DEF
180
181
' ZCZ ball U9 (emmc)
182
M(P8_21) =
CHR
( _
183
0 + _O_ _
' gpmc_csn1
184
, 1 + I_O _
' gpmc_clk
185
, 2 + I_O _
' mmc1_clk
186
, 3 + _I_ _
' pr1_edio_data_in6
187
, 4 + _O_ _
' pr1_edio_data_out6
188
, 5 + _O_ _
' pr1_pru1_pru_r30_12
189
, 6 + _I_ _
' pr1_pru1_pru_r31_12
190
) & GPIO_DEF
191
192
' ZCZ ball V8 (emmc)
193
M(P8_22) =
CHR
( _
194
0 + I_O _
' gpmc_ad5
195
, 1 + I_O _
' mmc1_dat5
196
) & GPIO_DEF
197
198
' ZCZ ball U8 (emmc)
199
M(P8_23) =
CHR
( _
200
0 + I_O _
' gpmc_ad4
201
, 1 + I_O _
' mmc1_dat4
202
) & GPIO_DEF
203
204
' ZCZ ball V7 (emmc)
205
M(P8_24) =
CHR
( _
206
0 + I_O _
' gpmc_ad1
207
, 1 + I_O _
' mmc1_dat1
208
) & GPIO_DEF
209
210
' ZCZ ball U7 (emmc)
211
M(P8_25) =
CHR
( _
212
0 + I_O _
' gpmc_ad0
213
, 1 + I_O _
' mmc1_dat0
214
) & GPIO_DEF
215
216
' ZCZ ball V6
217
M(P8_26) =
CHR
( _
218
0 + _O_ _
' gpmc_csn0
219
) & GPIO_DEF
220
221
' ZCZ ball U5 (hdmi)
222
M(P8_27) =
CHR
( _
223
0 + _O_ _
' lcd_vsync
224
, 1 + _O_ _
' gpmc_a8
225
, 2 + _O_ _
' gpmc_a1
226
, 3 + _I_ _
' pr1_edio_data_in2
227
, 4 + _O_ _
' pr1_edio_data_out2
228
, 5 + _O_ _
' pr1_pru1_pru_r30_8
229
, 6 + _I_ _
' pr1_pru1_pru_r31_8
230
) & GPIO_DEF
231
232
' ZCZ ball V5 (hdmi)
233
M(P8_28) =
CHR
( _
234
0 + _O_ _
' lcd_pclk
235
, 1 + _O_ _
' gpmc_a10
236
, 2 + _I_ _
' pr1_mii0_crs
237
, 3 + _I_ _
' pr1_edio_data_in4
238
, 4 + _O_ _
' pr1_edio_data_out4
239
, 5 + _O_ _
' pr1_pru1_pru_r30_10
240
, 6 + _I_ _
' pr1_pru1_pru_r31_10
241
) & GPIO_DEF
242
243
' ZCZ ball R5
244
M(P8_29) =
CHR
( _
245
0 + _O_ _
' lcd_hsync
246
, 1 + _O_ _
' gpmc_a9
247
, 2 + _O_ _
' gpmc_a2
248
, 3 + _I_ _
' pr1_edio_data_in3
249
, 4 + _O_ _
' pr1_edio_data_out3
250
, 5 + _O_ _
' pr1_pru1_pru_r30_9
251
, 6 + _I_ _
' pr1_pru1_pru_r31_9
252
) & GPIO_DEF
253
254
' ZCZ ball R6 (hdmi)
255
M(P8_30) =
CHR
( _
256
0 + _O_ _
' lcd_ac_bias_en
257
, 1 + _O_ _
' gpmc_a11
258
, 2 + _I_ _
' pr1_mii1_crs
259
, 3 + _I_ _
' pr1_edio_data_in5
260
, 4 + _O_ _
' pr1_edio_data_out5
261
, 5 + _O_ _
' pr1_pru1_pru_r30_11
262
, 6 + _I_ _
' pr1_pru1_pru_r30_11
263
) & GPIO_DEF
264
265
' ZCZ ball V4 (hdmi)
266
M(P8_31) =
CHR
( _
267
0 + I_O _
' lcd_data14
268
, 1 + _O_ _
' gpmc_a18
269
, 2 + QEPi _
' eQEP1_index_in
270
, 2 + QEPo _
' eQEP1_index_out
271
, 3 + I_O _
' mcasp0_axr1
272
, 4 + _I_ _
' uart5_rxd
273
, 5 + _I_ _
' pr1_mii_mr0_clk
274
, 6 + _I_ _
' uart5_ctsn
275
) & GPIO_DEF
276
277
' ZCZ ball T5 (hdmi)
278
M(P8_32) =
CHR
( _
279
0 + I_O _
' lcd_data15
280
, 1 + _O_ _
' gpmc_a19
281
, 2 + QEPi _
' eQEP1_strobe_in
282
, 2 + QEPo _
' eQEP1_strobe_out
283
, 3 + I_O _
' mcasp0_ahclkx
284
, 4 + I_O _
' mcasp0_axr3
285
, 5 + _I_ _
' pr1_mii0_rxdv
286
, 6 + _O_ _
' uart5_rtsn
287
) & GPIO_DEF
288
289
' ZCZ ball V3 (hdmi)
290
M(P8_33) =
CHR
( _
291
0 + I_O _
' lcd_data13
292
, 1 + _O_ _
' gpmc_a17
293
, 2 + QEPi _
' eQEP1B_in
294
, 3 + I_O _
' mcasp0_fsr
295
, 4 + I_O _
' mcasp0_axr3
296
, 5 + _I_ _
' pr1_mii0_rxer
297
, 6 + _O_ _
' uart4_rtsn
298
) & GPIO_DEF
299
300
' ZCZ ball U4 (hdmi)
301
M(P8_34) =
CHR
( _
302
0 + I_O _
' lcd_data11
303
, 1 + _O_ _
' gpmc_a15
304
, 2 + _O_ _
' ehrpwm1B
305
, 3 + I_O _
' mcasp0_ahclkr
306
, 4 + I_O _
' mcasp0_axr2
307
, 5 + _I_ _
' pr1_mii0_rxd0
308
, 6 + _O_ _
' uart3_rtsn
309
) & GPIO_DEF
310
311
' ZCZ ball V2 (hdmi)
312
M(P8_35) =
CHR
( _
313
0 + I_O _
' lcd_data12
314
, 1 + _O_ _
' gpmc_a16
315
, 2 + QEPi _
' eQEP1A_in
316
, 3 + I_O _
' mcasp0_aclkr
317
, 4 + I_O _
' mcasp0_axr2
318
, 5 + _I_ _
' pr1_mii0_rxlink
319
, 6 + _I_ _
' uart4_ctsn
320
) & GPIO_DEF
321
322
' ZCZ ball U3 (hdmi)
323
M(P8_36) =
CHR
( _
324
0 + I_O _
' lcd_data10
325
, 1 + _O_ _
' gpmc_a14
326
, 2 + _O_ _
' ehrpwm1A
327
, 3 + I_O _
' mcasp0_axr0
328
, 5 + _I_ _
' pr1_mii0_rxd1
329
, 6 + _I_ _
' uart3_ctsn
330
) & GPIO_DEF
331
332
' ZCZ ball U1 (hdmi)
333
M(P8_37) =
CHR
( _
334
0 + I_O _
' lcd_data8
335
, 1 + _O_ _
' gpmc_a12
336
, 2 + _I_ _
' ehrpwm1_tripzone_input
337
, 3 + I_O _
' mcasp0_aclkx
338
, 4 + _O_ _
' uart5_txd
339
, 5 + _I_ _
' pr1_mii0_rxd3
340
, 6 + _I_ _
' uart2_ctsn
341
) & GPIO_DEF
342
343
' ZCZ ball U2 (hdmi)
344
M(P8_38) =
CHR
( _
345
0 + I_O _
' lcd_data9
346
, 1 + _O_ _
' gpmc_a13
347
, 2 + _O_ _
' ehrpwm0_synco
348
, 3 + I_O _
' mcasp0_fsx
349
, 4 + _I_ _
' uart5_rxd
350
, 5 + _I_ _
' pr1_mii0_rxd2
351
, 6 + _O_ _
' uart2_rtsn
352
) & GPIO_DEF
353
354
' ZCZ ball T3 (hdmi)
355
M(P8_39) =
CHR
( _
356
0 + I_O _
' lcd_data6
357
, 1 + _O_ _
' gpmc_a6
358
, 2 + _I_ _
' pr1_edio_data_in6
359
, 3 + QEPi _
' eQEP2_index_in
360
, 3 + QEPo _
' eQEP2_index_out
361
, 4 + _O_ _
' pr1_edio_data_out6
362
, 5 + _O_ _
' pr1_pru1_pru_r30_6
363
, 6 + _I_ _
' pr1_pru1_pru_r31_6
364
) & GPIO_DEF
365
366
' ZCZ ball T4 (hdmi)
367
M(P8_40) =
CHR
( _
368
0 + I_O _
' lcd_data7
369
, 1 + _O_ _
' gpmc_a7
370
, 2 + _I_ _
' pr1_edio_data_in7
371
, 3 + QEPi _
' eQEP2_strobe_in
372
, 3 + QEPo _
' eQEP2_strobe_out
373
, 4 + _O_ _
' pr1_edio_data_out7
374
, 5 + _O_ _
' pr1_pru1_pru_r30_7
375
, 6 + _I_ _
' pr1_pru1_pru_r31_7
376
) & GPIO_DEF
377
378
' ZCZ ball T1 (hdmi)
379
M(P8_41) =
CHR
( _
380
0 + I_O _
' lcd_data4
381
, 1 + _O_ _
' gpmc_a4
382
, 2 + _O_ _
' pr1_mii0_txd1
383
, 3 + QEPi _
' eQEP2A_in
384
, 5 + _O_ _
' pr1_pru1_pru_r30_4
385
, 6 + _I_ _
' pr1_pru1_pru_r31_4
386
) & GPIO_DEF
387
388
' ZCZ ball T2 (hdmi)
389
M(P8_42) =
CHR
( _
390
0 + I_O _
' lcd_data5
391
, 1 + _O_ _
' gpmc_a5
392
, 2 + _O_ _
' pr1_mii0_txd0
393
, 3 + QEPi _
' eQEP2B_in
394
, 5 + _O_ _
' pr1_pru1_pru_r30_5
395
, 6 + _I_ _
' pr1_pru1_pru_r31_5
396
) & GPIO_DEF
397
398
' ZCZ ball R3 (hdmi)
399
M(P8_43) =
CHR
( _
400
0 + I_O _
' lcd_data2
401
, 1 + _O_ _
' gpmc_a2
402
, 2 + _O_ _
' pr1_mii0_txd3
403
, 3 + _I_ _
' ehrpwm2_tripzone_input
404
, 5 + _O_ _
' pr1_pru1_pru_r30_2
405
, 6 + _I_ _
' pr1_pru1_pru_r31_2
406
) & GPIO_DEF
407
408
' ZCZ ball R4 (hdmi)
409
M(P8_44) =
CHR
( _
410
0 + I_O _
' lcd_data3
411
, 1 + _O_ _
' gpmc_a3
412
, 2 + _O_ _
' pr1_mii0_txd2
413
, 3 + _O_ _
' ehrpwm0_synco
414
, 5 + _O_ _
' pr1_pru1_pru_r30_3
415
, 6 + _I_ _
' pr1_pru1_pru_r31_3
416
) & GPIO_DEF
417
418
' ZCZ ball R1 (hdmi)
419
M(P8_45) =
CHR
( _
420
0 + I_O _
' lcd_data0
421
, 1 + _O_ _
' gpmc_a0
422
, 2 + _I_ _
' pr1_mii_mt0_clk
423
, 3 + _O_ _
' ehrpwm2A
424
, 5 + _O_ _
' pr1_pru1_pru_r30_0
425
, 6 + _I_ _
' pr1_pru1_pru_r31_0
426
) & GPIO_DEF
427
428
' ZCZ ball R2 (hdmi)
429
M(P8_46) =
CHR
( _
430
0 + I_O _
' lcd_data1
431
, 1 + _O_ _
' gpmc_a1
432
, 2 + _O_ _
' pr1_mii0_txen
433
, 3 + _O_ _
' ehrpwm2B
434
, 5 + _O_ _
' pr1_pru1_pru_r30_1
435
, 6 + _I_ _
' pr1_pru1_pru_r31_1
436
) & GPIO_DEF
437
438
src
config
P8.bi
Generated on Thu May 11 2023 12:42:51 for libpruio by
1.9.1