The Arduino Micro (I believe the Leonardo as well, but I don't own one) has an SS pin right beside the MOSI pin.
By looking at the port mapping http://arduino.cc/en/Hacking/PinMapping32u4 it seems that pin (phisycal pin 8) is mapped onto bit 0 of PORTB.
Do I have to go for direct http://arduino.cc/en/Reference/PortManipulation if I want to use the micro as a SPI slave or is there a way to reference the SS pin in a portable way like we do for analog and digital pins?
DDRB = DDRB | B00000001 // PB0 as OUTPUT PORTB = PORTB | B00000001 // PB0 as HIGH
I have a library supporting SPI in slave mode, but it is written to use digital pins: is there a way to refer to the micro SS in a way compatible with digitalWrite and digitalRead functions?