# SPI Format
Sets the SPI format
```sig
pins.spiFormat(8, 3);
```
## Parameters
* ``bits``,
* ``mode``,
## See also
[SPI](https://developer.mbed.org/handbook/SPI)