Home
last modified time | relevance | path

Searched refs:prescaler (Results 1 – 7 of 7) sorted by relevance

/lk-master/platform/stm32f0xx/
A Dspi.c35 spi_prescaler_t prescaler) { in spi_init() argument
44 regs->CR1 = cpol | cpha | bit_order | prescaler | SPI_CR1_SSM; in spi_init()
A Dtimer_capture.c318 status_t stm32_timer_capture_setup(stm32_timer_capture_t *tc, int timer, uint16_t prescaler) { in stm32_timer_capture_setup() argument
319 assert(prescaler > 0); in stm32_timer_capture_setup()
336 tc->config->regs->PSC = prescaler > 0 ? prescaler - 1 : 0; in stm32_timer_capture_setup()
/lk-master/external/platform/nrfx/drivers/include/
A Dnrfx_rtc.h99 uint16_t prescaler; /**< Prescaler. */ member
115 .prescaler = RTC_FREQ_TO_PRESCALER(32768), \
/lk-master/platform/stm32f0xx/include/platform/
A Dtimer_capture.h39 status_t stm32_timer_capture_setup(stm32_timer_capture_t *tc, int timer, uint16_t prescaler);
A Dspi.h72 spi_prescaler_t prescaler);
/lk-master/external/platform/nrfx/hal/
A Dnrf_timer.h727 uint32_t prescaler = (uint32_t)frequency; in nrf_timer_us_to_ticks() local
728 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() local
739 uint64_t ticks = ((time_ms * 16000ULL) >> prescaler); in nrf_timer_ms_to_ticks()
/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_rtc.c89 nrf_rtc_prescaler_set(p_instance->p_reg, p_config->prescaler); in nrfx_rtc_init()

Completed in 14 milliseconds