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 drivers: counter: Add support for rpi_pico timer 2023-09-13 16:18:44 +02:00
Kconfig drivers: counter: Add support for rpi_pico timer 2023-09-13 16:18:44 +02:00
Kconfig.ace
Kconfig.ambiq drivers: counter: Add Ambiq counter driver 2023-08-07 16:12:58 +02:00
Kconfig.andes_atcpit100
Kconfig.cmos
Kconfig.dtmr_cmsdk_apb
Kconfig.dw drivers: counter: add snps apb timer 2023-08-16 10:20:31 +02:00
Kconfig.esp32_rtc
Kconfig.esp32_tmr
Kconfig.gd32
Kconfig.gecko drivers: counter: gecko: Add SYSRTC stimer support 2023-08-09 08:24:52 +00:00
Kconfig.ifx_cat1 drivers: counter: Add Infineon CAT1 counter driver 2023-07-26 09:10:31 +02:00
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 drivers: counter: Add support for rpi_pico timer 2023-09-13 16:18:44 +02:00
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 drivers: counter: Add Ambiq counter driver 2023-08-07 16:12:58 +02:00
counter_andes_atcpit100.c
counter_cmos.c
counter_dw_timer.c drivers: counter: add snps apb timer 2023-08-16 10:20:31 +02:00
counter_esp32_rtc.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
counter_esp32_tmr.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
counter_gd32_timer.c
counter_gecko_rtcc.c
counter_gecko_stimer.c drivers: counter: gecko: Add SYSRTC stimer support 2023-08-09 08:24:52 +00:00
counter_handlers.c
counter_ifx_cat1.c drivers: counter: cat1: Fix formatting issues 2023-08-10 08:13:11 +00:00
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 drivers: counter: stm32: void return value from reset_line_toggle_dt 2023-07-20 10:57:12 +00:00
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 drivers: counter: Add support for rpi_pico timer 2023-09-13 16:18:44 +02:00
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 drivers: counter: Add shell commands for timer 2023-08-16 10:20:31 +02:00
counter_xlnx_axi_timer.c
dualtimer_cmsdk_apb.h
maxim_ds3231.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
rtc_mcp7940n.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
timer_cmsdk_apb.h
timer_dtmr_cmsdk_apb.c
timer_tmr_cmsdk_apb.c