SPI between 2 Arduinos one as master and one as slave

Does anybody know how to do this with ATSAMD21 based boards?

I am stumbling at setting up the slave, I think the following:

// turn on SPI in slave mode
SPCR |= _BV(SPE);

Apply only to ATMEGA based boards?