Home
last modified time | relevance | path

Searched refs:spi_frequency (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_gecko_eusart.c48 uint32_t spi_frequency; in spi_eusart_config() local
57 &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()
Dspi_gecko_usart.c123 uint32_t spi_frequency; in spi_config() local
130 &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()
Dspi_rpi_pico_pio.c125 uint32_t spi_frequency) in spi_pico_pio_clock_divisor() argument
127 return (float)clock_freq / (float)(cycles * spi_frequency); in spi_pico_pio_clock_divisor()