Searched refs:spi_frequency (Results 1 – 3 of 3) sorted by relevance
48 uint32_t spi_frequency; in spi_eusart_config() local57 &spi_frequency); in spi_eusart_config()62 spi_frequency /= 2; in spi_eusart_config()94 if (gecko_config->clock_frequency > spi_frequency) { in spi_eusart_config()98 spi_frequency = MIN(gecko_config->clock_frequency, spi_frequency); in spi_eusart_config()100 spi_frequency = MIN(config->frequency, spi_frequency); in spi_eusart_config()102 eusartInit.bitRate = spi_frequency; in spi_eusart_config()
123 uint32_t spi_frequency; in spi_config() local130 &spi_frequency); in spi_config()135 spi_frequency /= 2; in spi_config()137 spi_frequency = CMU_ClockFreqGet(gecko_config->clock) / 2; in spi_config()177 if (gecko_config->clock_frequency > spi_frequency) { in spi_config()181 spi_frequency = MIN(gecko_config->clock_frequency, spi_frequency); in spi_config()183 spi_frequency = MIN(config->frequency, spi_frequency); in spi_config()185 USART_BaudrateSyncSet(gecko_config->base, 0, spi_frequency); in spi_config()
125 uint32_t spi_frequency) in spi_pico_pio_clock_divisor() argument127 return (float)clock_freq / (float)(cycles * spi_frequency); in spi_pico_pio_clock_divisor()