Searched refs:clock_phase (Results 1 – 2 of 2) sorted by relevance
209 spi_init_struct.clock_phase = SPI_CLOCK_PHASE_1EDGE; in configure()213 spi_init_struct.clock_phase = SPI_CLOCK_PHASE_2EDGE; in configure()217 spi_init_struct.clock_phase = SPI_CLOCK_PHASE_1EDGE; in configure()221 spi_init_struct.clock_phase = SPI_CLOCK_PHASE_2EDGE; in configure()
685 static inline void spi_set_clock_phase(SPI_Type *ptr, spi_sclk_sampling_clk_edges_t clock_phase) in spi_set_clock_phase() argument687 ptr->TRANSFMT = (ptr->TRANSFMT & ~SPI_TRANSFMT_CPHA_MASK) | SPI_TRANSFMT_CPHA_SET(clock_phase); in spi_set_clock_phase()
Completed in 7 milliseconds