Sending 10 bits using arduino SPI

Thank you SO much for help.

can you please verify is this right if yes than its not working.if not can you please
modify the code i want the mode to be 1 or 0 or 2 or 3.
i have tried mode=0b00000000 as well.

int DATA=0b1111111111;

byte mode = 1; //put the mode number here.

byte firstbyte=(mode << 4)|(DATA>>6);
byte secondbyte=DATA<<2 ;

SPI.transfer16(firstbyte);
SPI.transfer16(secondbyte);