/* Fills each SPI_InitType member with its default value.  */
void SPI_StructInit(SPI_InitType *InitStruct)
/* Fills each SPI_InitType member with its default value.  */
void SPI_StructInit(SPI_InitType *InitStruct)
{
  InitStruct->ClockDivision = SPI_CLKDIV_2;
  InitStruct->CSNSoft = SPI_CSNSOFT_DISABLE;
  InitStruct->Mode = SPI_MODE_MASTER;
  InitStruct->SPH = SPI_SPH_0;
  InitStruct->SPO = SPI_SPO_0;
  InitStruct->SWAP = SPI_SWAP_DISABLE; 
}