25.2.3.2 I/O Lines and Connections
The SPI signals (MOSI, MISO, SCK, SS) are either inputs or outputs, depending on whether the SPI is in Master or Slave mode, as described in the Signal Description.
Using the I/O lines requires configuration of the I/O pins as described in the Signal Description.