Reference.SPISetDataMode History

Hide minor edits - Show changes to markup

September 17, 2012, at 06:32 PM by Cristian -Vacuum- Maglie -
Changed lines 10-11 from:

If one of the Arduino Due's Slave Select (SS) pin is specified in the call to setDataMode(), the data mode setting is applied only to the device connected to the specified SS pin. More info on extended methods: Due Extended SPI usage

to:

If you specify one of the Arduino Due's Slave Select (SS) pin in the call to setDataMode(), the data mode setting is applied only to the device connected to the specified SS pin. More info on extended methods: Due Extended SPI usage

September 17, 2012, at 05:37 PM by Cristian -Vacuum- Maglie -
Changed lines 9-11 from:

Arduino Due
A slave select pin on the Due allows several devices to share the SPI connection. If a slave select pin is specified in the call to setDataMode(), the data mode setting is applied only to the device connected to the specified SS pin.

to:

Extended method for Arduino Due
If one of the Arduino Due's Slave Select (SS) pin is specified in the call to setDataMode(), the data mode setting is applied only to the device connected to the specified SS pin. More info on extended methods: Due Extended SPI usage

Deleted lines 36-37:

Example

Changed lines 38-39 from:
to:
September 11, 2012, at 09:59 PM by Scott Fitzgerald -
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 setDataMode(), the data mode setting is applied only to the device connected to the specified slave select pin.

to:

Arduino Due
A slave select pin on the Due allows several devices to share the SPI connection. If a slave select pin is specified in the call to setDataMode(), the data mode setting is applied only to the device connected to the specified SS pin.

September 04, 2012, at 03:38 PM by Federico -
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 setDataMode(), the data mode setting is assigned only to the selected device.

to:

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 setDataMode(), the data mode setting is applied only to the device connected to the specified slave select pin.

September 03, 2012, at 04:28 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 setDataMode(), the data mode setting is assigned only to the selected device.

August 31, 2012, at 12:11 PM by Federico -
Changed lines 19-20 from:
to:
Changed lines 25-26 from:
to:
August 31, 2012, at 11:52 AM by Federico -
Changed lines 11-12 from:

SPI.setDataMode(mode)

to:
Changed lines 18-19 from:

mode: SPI_MODE0, SPI_MODE1, SPI_MODE2, or SPI_MODE3

to:
August 10, 2010, at 04:16 AM by David A. Mellis -
Added lines 1-22:

SPI

setDataMode()

Description

Sets the SPI data mode: that is, clock polarity and phase. See the Wikipedia article on SPI for details.

Syntax

SPI.setDataMode(mode)

Parameters

mode: SPI_MODE0, SPI_MODE1, SPI_MODE2, or SPI_MODE3

Returns

None

Example

See also

Share