Searched refs:prescaler (Results 1 – 7 of 7) sorted by relevance
35 spi_prescaler_t prescaler) { in spi_init() argument44 regs->CR1 = cpol | cpha | bit_order | prescaler | SPI_CR1_SSM; in spi_init()
318 status_t stm32_timer_capture_setup(stm32_timer_capture_t *tc, int timer, uint16_t prescaler) { in stm32_timer_capture_setup() argument319 assert(prescaler > 0); in stm32_timer_capture_setup()336 tc->config->regs->PSC = prescaler > 0 ? prescaler - 1 : 0; in stm32_timer_capture_setup()
99 uint16_t prescaler; /**< Prescaler. */ member115 .prescaler = RTC_FREQ_TO_PRESCALER(32768), \
39 status_t stm32_timer_capture_setup(stm32_timer_capture_t *tc, int timer, uint16_t prescaler);
72 spi_prescaler_t prescaler);
727 uint32_t prescaler = (uint32_t)frequency; in nrf_timer_us_to_ticks() local728 uint64_t ticks = ((time_us * 16ULL) >> prescaler); in nrf_timer_us_to_ticks()738 uint32_t prescaler = (uint32_t)frequency; in nrf_timer_ms_to_ticks() local739 uint64_t ticks = ((time_ms * 16000ULL) >> prescaler); in nrf_timer_ms_to_ticks()
89 nrf_rtc_prescaler_set(p_instance->p_reg, p_config->prescaler); in nrfx_rtc_init()
Completed in 14 milliseconds