Reference.SPIEnd History

Hide minor edits - Show changes to output

September 17, 2012, at 06:38 PM by Cristian -Vacuum- Maglie -
Changed lines 9-10 from:
A slave select pin allows several devices to share the SPI connection. It is connected to the slave select or chip select pin of an SPI device. If a slave select pin is specified in the call to end(), the SPI communication with the specified device is going to be closed.
to:
''Extended method for Arduino Due''\\
If you specify one of the Arduino Due's Slave Select (SS) pin in the call to end(), the specified pin is disconnected from the SPI interface and is available again as a general I/O. More info on extended methods: [[DueExtendedSPI | Due Extended SPI usage]]

Deleted line 22:
(:cell width=150px:) None
Deleted line 28:
September 04, 2012, at 03:06 PM by Federico -
Added lines 9-10:
A slave select pin allows several devices to share the SPI connection. It is connected to the slave select or chip select pin of an SPI device. If a slave select pin is specified in the call to end(), the SPI communication with the specified device is going to be closed.
September 04, 2012, at 03:04 PM by Federico -
Changed lines 19-20 from:
(:cell width=400px:) None
(:cellnr width=400px:) slaveSelectPin
to:
(:cell width=150px:) None
(:cellnr width=150px:) slaveSelectPin:
(:cell width=240px:) slave device SS pin
August 31, 2012, at 12:16 PM by Federico -
Changed lines 10-12 from:
(:table border=0 cellpadding=5 cellspacing=0 width=50%:)
(:cell width=200px:) SPI.end()
(:cellnr width=200px:) SPI.end(slaveSelectPin)
to:
(:table border=0 cellpadding=5 cellspacing=0 width=80%:)
(:cell width=400px:) SPI.end()
(:cellnr width=400px:) SPI.end(slaveSelectPin)
Changed lines 18-20 from:
(:table border=0 cellpadding=5 cellspacing=0 width=50%:)
(:cell width=200px:) None
(:cellnr width=200px:) slaveSelectPin
to:
(:table border=0 cellpadding=5 cellspacing=0 width=80%:)
(:cell width=400px:) None
(:cellnr width=400px:) slaveSelectPin
August 30, 2012, at 04:11 PM by Federico -
Changed lines 10-18 from:

SPI.end()

{+''Arduino Due only:''+}

SPI.end(SS_pin)

In the extended mode as for the [[Reference/SPIBegin | begin()]] method you can choose to which device close the SPI communication by specifying the Slave Select pin number on which the device is physically connected. For further information, please read the page of the [[Reference/DueExtendedSPI | Extended SPI mode]].
to:
(:table border=0 cellpadding=5 cellspacing=0 width=50%:)
(:cell width=200px:) SPI.end()
(:cellnr width=200px:) SPI.end(slaveSelectPin)
(:cell:) (''Arduino Due only'')
(:tableend:)

Added lines 18-26:
(:table border=0 cellpadding=5 cellspacing=0 width=50%:)
(:cell width=200px:) None
(:cellnr width=200px:) slaveSelectPin
(:cell:) (''Arduino Due only'')
(:tableend:)



!!!!Returns
Deleted lines 28-35:
{+''Arduino Due only:''+}

SS_pin: is the pin number on which the slave SPI device is connected. The only available pins for this mode are digital pins: 4, 10, 52.


!!!!Returns
None
August 30, 2012, at 01:25 PM by Federico -
Added lines 13-18:
{+''Arduino Due only:''+}

SPI.end(SS_pin)

In the extended mode as for the [[Reference/SPIBegin | begin()]] method you can choose to which device close the SPI communication by specifying the Slave Select pin number on which the device is physically connected. For further information, please read the page of the [[Reference/DueExtendedSPI | Extended SPI mode]].
Added lines 22-26:
{+''Arduino Due only:''+}

SS_pin: is the pin number on which the slave SPI device is connected. The only available pins for this mode are digital pins: 4, 10, 52.

August 10, 2010, at 04:08 AM by David A. Mellis -
Added lines 1-20:
[[SPI]]

!!end()

!!!!Description

Disables the SPI bus (leaving pin modes unchanged).

!!!!Syntax

SPI.end()

!!!!Parameters
None

!!!!Returns
None

!!!!See also
* [[SPIBegin | begin]]()

Share