Skip to content

Commit b925451

Browse files
committed
Update links with lowercase
1 parent a6035d7 commit b925451

File tree

6 files changed

+19
-17
lines changed

6 files changed

+19
-17
lines changed

Language/Functions/Communication/SPI.adoc

+9-9
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ To read more about Arduino and SPI, you can visit the https://docs.arduino.cc/le
3636

3737
[float]
3838
=== Functions
39-
link:../SPI/SPISettings[SPISettings] +
40-
link:../SPI/begin[begin()] +
41-
link:../SPI/beginTransaction[beginTransaction()] +
42-
link:../SPI/end[end()] +
43-
link:../SPI/setBitOrder[setBitOrder()] +
44-
link:../SPI/setClockDivider[setClockDivider()] +
45-
link:../SPI/setDataMode[setDataMode()] +
46-
link:../SPI/transfer[transfer()] +
47-
link:../SPI/usingInterrupt[usingInterrupt()]
39+
link:../spi/spisettings[SPISettings] +
40+
link:../spi/begin[begin()] +
41+
link:../spi/begintransaction[beginTransaction()] +
42+
link:../spi/end[end()] +
43+
link:../spi/setbitorder[setBitOrder()] +
44+
link:../spi/setclockdivider[setClockDivider()] +
45+
link:../spi/setdatamode[setDataMode()] +
46+
link:../spi/transfer[transfer()] +
47+
link:../spi/usinginterrupt[usingInterrupt()]
4848

4949
'''
5050

Language/Functions/Communication/SPI/SPISettings.adoc

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,13 @@ If any of your settings are variables, you may create a SPISettings object to ho
2222
`SPI.beginTransaction(SPISettings(14000000, MSBFIRST, SPI_MODE0))`
2323
Note: Best if all 3 settings are constants
2424

25-
`SPISettings mySettting(speedMaximum, dataOrder, dataMode)`
25+
`SPISettings mySetting(speedMaximum, dataOrder, dataMode)`
2626
Note: Best when any setting is a variable''
2727

2828

2929
[float]
3030
=== Parameters
31+
3132
`speedMaximum`: The maximum speed of communication. For a SPI chip rated up to 20 MHz, use 20000000. +
3233
`dataOrder`: MSBFIRST or LSBFIRST +
3334
`dataMode`: SPI_MODE0, SPI_MODE1, SPI_MODE2, or SPI_MODE3

Language/Functions/Communication/SPI/beginTransaction.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: SPI.beginTransaction()
1111

1212
[float]
1313
=== Description
14-
Initializes the SPI bus using the defined link:SPISettings[SPISettings].
14+
Initializes the SPI bus using the defined link:../spisettings[SPISettings].
1515

1616

1717
[float]
@@ -21,7 +21,7 @@ Initializes the SPI bus using the defined link:SPISettings[SPISettings].
2121

2222
[float]
2323
=== Parameters
24-
mySettings: the chosen settings according to link:SPISettings[SPISettings].
24+
mySettings: the chosen settings according to link:../spisettings[SPISettings].
2525

2626

2727
[float]

Language/Functions/Communication/SPI/setBitOrder.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: SPI.setBitOrder()
1111

1212
[float]
1313
=== Description
14-
This function should not be used in new projects. Use link:SPISettings[SPISettings]. with link:beginTransaction[SPI.beginTransaction()]. to configure SPI parameters.
14+
This function should not be used in new projects. Use link:../spisettings[SPISettings]. with link:../begintransaction[SPI.beginTransaction()]. to configure SPI parameters.
1515

1616
Sets the order of the bits shifted out of and into the SPI bus, either LSBFIRST (least-significant bit first) or MSBFIRST (most-significant bit first).
1717

Language/Functions/Communication/SPI/setClockDivider.adoc

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ title: SPI.setClockDivider()
1111

1212
[float]
1313
=== Description
14-
This function should not be used in new projects. Use link:SPISettings[SPISettings]. with link:beginTransaction[SPI.beginTransaction()]. to configure SPI parameters.
14+
This function should not be used in new projects. Use link:../spisettings[SPISettings]. with link:../begintransaction[SPI.beginTransaction()]. to configure SPI parameters.
1515

1616
Sets the SPI clock divider relative to the system clock. On AVR based boards, the dividers available are 2, 4, 8, 16, 32, 64 or 128. The default setting is SPI_CLOCK_DIV4, which sets the SPI clock to one-quarter the frequency of the system clock (4 Mhz for the boards at 16 MHz).
1717

@@ -27,6 +27,7 @@ Sets the SPI clock divider relative to the system clock. On AVR based boards, th
2727
=== Parameters
2828

2929
divider (only AVR boards):
30+
3031
* SPI_CLOCK_DIV2
3132
* SPI_CLOCK_DIV4
3233
* SPI_CLOCK_DIV8
@@ -35,8 +36,8 @@ divider (only AVR boards):
3536
* SPI_CLOCK_DIV64
3637
* SPI_CLOCK_DIV128
3738

38-
chipSelectPin: peripheral device CS pin (Arduino Due only)
39-
divider: a number from 1 to 255 (Arduino Due only)
39+
*chipSelectPin*: peripheral device CS pin (Arduino Due only)
40+
*divider*: a number from 1 to 255 (Arduino Due only)
4041

4142
[float]
4243
=== Returns

Language/Functions/Communication/SPI/setDataMode.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ title: SPI.setDataMode()
1010

1111
[float]
1212
=== Description
13-
This function should not be used in new projects. Use link:SPISettings[SPISettings]. with link:beginTransaction[SPI.beginTransaction()]. to configure SPI parameters.
13+
This function should not be used in new projects. Use link:../spisettings[SPISettings]. with link:../begintransaction[SPI.beginTransaction()]. to configure SPI parameters.
1414

1515
Sets the SPI data mode: that is, clock polarity and phase. See the Wikipedia article on http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus:[SPI] for details.
1616

0 commit comments

Comments
 (0)