libpruio
0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
SD.bi
Go to the documentation of this file.
1
14
15
' Load convenience macros.
16
#INCLUDE ONCE
"../pruio/pruio_pins.bi"
17
18
' ZCZ ball F18 (MMC0_DAT2)
19
M(SD_01) =
CHR
( _
20
0 + I_O _
' mmc0_dat2
21
, 1 + I_O _
' gpmc_a21
22
, 2 + _O_ _
' uart4_rtsn
23
, 3 + I_O _
' timer6
24
, 4 + _I_ _
' uart1_dsrn
25
, 5 + _O_ _
' pr1_pru0_pru_r30_9
26
, 6 + _I_ _
' pr1_pru0_pru_r31_9
27
) & GPIO_DEF
28
29
' ZCZ ball F17 (MMC0_DAT3)
30
M(SD_02) =
CHR
( _
31
0 + I_O _
' mmc0_dat3
32
, 1 + I_O _
' gpmc_a20
33
, 2 + _I_ _
' uart4_ctsn
34
, 3 + I_O _
' timer5
35
, 4 + _I_ _
' uart1_dcdn
36
, 5 + _O_ _
' pr1_pru0_pru_r30_8
37
, 6 + _I_ _
' pr1_pru0_pru_r31_8
38
) & GPIO_DEF
39
40
' ZCZ ball G18 (MMC0_CMD)
41
M(SD_03) =
CHR
( _
42
0 + I_O _
' mmc0_cmd
43
, 1 + I_O _
' gpmc_a25
44
, 2 + _O_ _
' uart3_rtsn
45
, 3 + _O_ _
' uart2_txd
46
, 4 + _I_ _
' dcan1_rx
47
, 5 + _O_ _
' pr1_pru0_pru_r30_13
48
, 6 + _I_ _
' pr1_pru0_pru_r31_13
49
) & GPIO_DEF
50
51
' pin 4, -
52
53
' ZCZ ball G17 (MMC0_CLK)
54
M(SD_05) =
CHR
( _
55
0 + I_O _
' mmc0_clk
56
, 1 + I_O _
' gpmc_a24
57
, 2 + _I_ _
' uart3_ctsn
58
, 3 + _I_ _
' uart2_rxd
59
, 4 + _O_ _
' dcan1_tx
60
, 5 + _O_ _
' pr1_pru0_pru_r30_12
61
, 6 + _I_ _
' pr1_pru0_pru_r31_12
62
) & GPIO_DEF
63
64
' pin 6, -
65
66
' ZCZ ball G16 (MMC0_DAT0)
67
M(SD_07) =
CHR
( _
68
0 + I_O _
' mmc0_dat0
69
, 1 + I_O _
' gpmc_a23
70
, 2 + _O_ _
' uart5_rtsn
71
, 3 + _O_ _
' uart3_txd
72
, 4 + _I_ _
' uart1_rin
73
, 5 + _O_ _
' pr1_pru0_pru_r30_11
74
, 6 + _I_ _
' pr1_pru0_pru_r31_11
75
) & GPIO_DEF
76
77
' ZCZ ball G15 (MMC0_DAT1)
78
M(SD_08) =
CHR
( _
79
0 + I_O _
' mmc0_dat1
80
, 1 + I_O _
' gpmc_a22
81
, 2 + _I_ _
' uart5_ctsn
82
, 3 + _I_ _
' uart3_rxd
83
, 4 + _O_ _
' uart1_dtrn
84
, 5 + _O_ _
' pr1_pru0_pru_r30_10
85
, 6 + _I_ _
' pr1_pru0_pru_r31_10
86
) & GPIO_DEF
87
88
89
' pin 9, -
90
91
' ZCZ ball C15 (SPI0_CS1)
92
M(SD_10) =
CHR
( _
93
0 + I_O _
' spi0_cs1
94
, 1 + _I_ _
' uart3_rxd
95
, 2 + CAPo _
' eCAP1_in_PWM1_out
96
, 3 + _O_ _
' mmc0_pow
97
, 4 + _I_ _
' xdma_event_intr2
98
, 5 + _I_ _
' mmc0_sdcd
99
, 6 + I_O _
' EMU4
100
) & GPIO_DEF
101
102
src
config
SD.bi
Generated on Thu May 11 2023 12:42:51 for libpruio by
1.9.1