zephyr/drivers/counter
Jason Wright 7e02a0379f drivers: counter native: Add top value conf and multi channel support
The counter_native_posix driver currently does not support top value
configuration, i.e. `ctr_set_top_value` returns `-ENOTSUP`. This commit
adds support for top value configuration, and with the counter API now
fully implemented, adds `counter` to `supported` peripherals for
native_posix target.
It also resolves an existing bug in which the
counter ISR did not reset upon reaching `TOP_VALUE`.
And adds support for multiple channels

Signed-off-by: Jason Wright <jason@jpw.nyc>
Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-10-23 13:38:43 +02:00
..
CMakeLists.txt
Kconfig
Kconfig.ace
Kconfig.ambiq
Kconfig.andes_atcpit100
Kconfig.cmos
Kconfig.dtmr_cmsdk_apb
Kconfig.dw
Kconfig.esp32_rtc
Kconfig.esp32_tmr
Kconfig.gd32
Kconfig.gecko
Kconfig.ifx_cat1
Kconfig.imx_epit
Kconfig.maxim_ds3231
Kconfig.mcp7940n
Kconfig.mcux_ctimer
Kconfig.mcux_gpt
Kconfig.mcux_lpc_rtc
Kconfig.mcux_lptmr
Kconfig.mcux_pit
Kconfig.mcux_qtmr
Kconfig.mcux_rtc
Kconfig.mcux_snvs
Kconfig.native_posix drivers: counter native: Add top value conf and multi channel support 2023-10-23 13:38:43 +02:00
Kconfig.nrfx
Kconfig.nxp_s32 counter: nxp_s32_sys_timer: use clock control APIs 2023-09-29 16:29:31 +02:00
Kconfig.rpi_pico
Kconfig.sam
Kconfig.sam0
Kconfig.smartbond_timer
Kconfig.stm32_rtc counter: stm32 rtc: handle sub second registers 2023-09-26 15:05:35 +02:00
Kconfig.stm32_timer
Kconfig.tmr_cmsdk_apb
Kconfig.xec
Kconfig.xlnx
counter_ace_v1x_art.c
counter_ace_v1x_art_regs.h
counter_ace_v1x_rtc.c
counter_ace_v1x_rtc_regs.h
counter_ambiq_timer.c
counter_andes_atcpit100.c
counter_cmos.c
counter_dw_timer.c
counter_esp32_rtc.c
counter_esp32_tmr.c
counter_gd32_timer.c
counter_gecko_rtcc.c
counter_gecko_stimer.c
counter_handlers.c
counter_ifx_cat1.c
counter_imx_epit.c
counter_ll_stm32_rtc.c counter: stm32 rtc: improve readability 2023-09-26 15:05:35 +02:00
counter_ll_stm32_timer.c
counter_mchp_xec.c
counter_mcux_ctimer.c
counter_mcux_gpt.c
counter_mcux_lpc_rtc.c
counter_mcux_lptmr.c
counter_mcux_pit.c counter: nxp_pit: use clock control to obtain module's clock rate 2023-09-22 09:23:30 +02:00
counter_mcux_qtmr.c
counter_mcux_rtc.c
counter_mcux_snvs.c
counter_native_posix.c drivers: counter native: Add top value conf and multi channel support 2023-10-23 13:38:43 +02:00
counter_nrfx_rtc.c
counter_nrfx_timer.c
counter_nxp_s32_sys_timer.c counter: nxp_s32_sys_timer: use clock control APIs 2023-09-29 16:29:31 +02:00
counter_rpi_pico_timer.c
counter_sam0_tc32.c
counter_sam_tc.c
counter_smartbond_timer.c drivers: counter: Fix Smartbond counter get_rate 2023-09-20 20:17:11 +01:00
counter_timer_shell.c
counter_xlnx_axi_timer.c
dualtimer_cmsdk_apb.h
maxim_ds3231.c
rtc_mcp7940n.c
timer_cmsdk_apb.h
timer_dtmr_cmsdk_apb.c
timer_tmr_cmsdk_apb.c