Viki Shi:
修改相位/极性的就是改这个
typedef enum {SPI_POL0_PHA0 = 0,/*!< SPI mode Polarity 0 Phase 0 */SPI_POL0_PHA1 = 1,/*!< SPI mode Polarity 0 Phase 1 */SPI_POL1_PHA0 = 2,/*!< SPI mode Polarity 1 Phase 0 */SPI_POL1_PHA1 = 3,/*!< SPI mode Polarity 1 Phase 1 */SPI_TI= 4,/*!< TI mode (not supported on allimplementations) */SPI_MW= 5/*!< Micro-wire mode (not supported on allimplementations) */ } SPI_FrameFormat;