Searched refs:SPI_SSPCR0_SCR_BITS (Results 1 – 3 of 3) sorted by relevance
67 … hw_write_masked(&spi_get_hw(spi)->cr0, (postdiv - 1) << SPI_SSPCR0_SCR_LSB, SPI_SSPCR0_SCR_BITS); in spi_set_baudrate()78 uint postdiv = ((spi_get_const_hw(spi)->cr0 & SPI_SSPCR0_SCR_BITS) >> SPI_SSPCR0_SCR_LSB) + 1; in spi_get_baudrate()
29 #define SPI_SSPCR0_SCR_BITS _u(0x0000ff00) macro