zephyr/drivers/timer
Jun Lin 2bda7b87ee driver: timer: npcx: bypass timer counter reading issue
Originally, when the timer's source clock is 32.768 kHz, the timer driver
uses two consecutive reads to ensure the timer reading is correct.
However, it is not robust enough due to an asynchronous timing issue in
the chip. The workaround is to add at least two NOPs between the
LDR and CMP instructions. This commit implements the workaround in the
assembly code to ensure it is not affected by the compiler toolchain
or optimization flags.

Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
2024-12-16 15:55:16 +01:00
..
altera_avalon_timer_hal.c
ambiq_stimer.c drivers: timer: ambiq: add clock source selection for stimer 2024-12-03 04:01:45 +01:00
apic_timer.c
apic_tsc.c
arcv2_timer0.c
arm_arch_timer.c
cc13xx_cc26xx_rtc_timer.c
CMakeLists.txt drivers: timer: Export sys_clock_cycle_get_64() implementations 2024-12-06 12:14:19 +01:00
cortex_m_systick.c
esp32_sys_timer.c drivers: esp32: Interrupts flags configuration 2024-08-22 14:25:25 -04:00
export.c drivers: timer: Export sys_clock_cycle_get_64() implementations 2024-12-06 12:14:19 +01:00
gecko_burtc_timer.c drivers: timer: gecko_burtc: Remove unused include 2024-11-26 15:42:02 -05:00
hpet.c
intel_adsp_timer.c
ite_it8xxx2_timer.c style: drivers: comply with MISRA C:2012 Rule 15.6 2024-09-11 07:40:35 -04:00
Kconfig drivers: add the ch32v00x systick driver 2024-11-26 14:41:46 +00:00
Kconfig.altera_avalon
Kconfig.ambiq
Kconfig.arcv2
Kconfig.arm_arch
Kconfig.cavs
Kconfig.cc13xx_cc26xx_rtc
Kconfig.cortex_m_systick
Kconfig.esp32 drivers: timer: esp32c2: Add support 2024-08-16 14:08:22 -04:00
Kconfig.gecko
Kconfig.ite_it8xxx2
Kconfig.leon_gptimer
Kconfig.litex
Kconfig.mchp_xec_rtos
Kconfig.mcux_gpt
Kconfig.mcux_lptmr
Kconfig.mcux_os
Kconfig.mec5 drivers: timer: mec5: Driver using Microchip RTOS timer as kernel tick 2024-10-22 20:41:32 +02:00
Kconfig.mips_cp0
Kconfig.mtk_adsp
Kconfig.native_posix drivers/timer native_posix: Allow without BOARD_NATIVE_POSIX 2024-10-01 10:47:55 +01:00
Kconfig.npcx_itim
Kconfig.nrf_grtc drivers: timer: nrf_grtc_timer: Align Zephyr to new AUTOEN read manner 2024-10-07 18:42:14 +02:00
Kconfig.nrf_rtc
Kconfig.nrf_xrtc
Kconfig.rcar_cmt
Kconfig.riscv_machine
Kconfig.rv32m1_lptmr
Kconfig.sam0_rtc soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.silabs drivers: timer: silabs: Add sleeptimer timer driver 2024-10-24 17:51:01 +02:00
Kconfig.smartbond
Kconfig.stm32_lptim
Kconfig.sy1xx_sys_timer driver: timer: Add support for sy1xx 2024-09-16 20:19:31 +02:00
Kconfig.ti_dm_timer
Kconfig.wch_ch32v00x drivers: add the ch32v00x systick driver 2024-11-26 14:41:46 +00:00
Kconfig.x86
Kconfig.xlnx_psttc
Kconfig.xtensa
leon_gptimer.c
litex_timer.c
mchp_mec5_ktimer.c drivers: timer: mec5: Driver using Microchip RTOS timer as kernel tick 2024-10-22 20:41:32 +02:00
mchp_xec_rtos_timer.c
mcux_gpt_timer.c
mcux_lptmr_timer.c
mcux_os_timer.c zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
mips_cp0_timer.c
mtk_adsp_timer.c boards/mediatek: Add mt8196_adsp 2024-11-28 20:51:50 +01:00
native_posix_timer.c
npcx_itim_timer.c driver: timer: npcx: bypass timer counter reading issue 2024-12-16 15:55:16 +01:00
nrf_grtc_timer.c drivers: timer: grtc: Add LFPRC as the source of GRTC 2024-11-27 21:06:20 +00:00
nrf_rtc_timer.c
rcar_cmt_timer.c
riscv_machine_timer.c
rv32m1_lptmr_timer.c
sam0_rtc_timer.c
silabs_sleeptimer_timer.c drivers: timer: silabs: Add sleeptimer timer driver 2024-10-24 17:51:01 +02:00
smartbond_timer.c zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
stm32_lptim_timer.c drivers: stm32 lptim driver with a exact LPTIM timeout value 2024-11-16 15:05:26 -05:00
sy1xx_sys_timer.c soc: sensry: udma, pad renaming 2024-11-16 15:06:43 -05:00
sys_clock_init.c
ti_dmtimer.c drivers: timer: Disable prescalar for TI DM Timer 2024-11-27 10:39:21 -05:00
wch_systick_ch32v00x.c drivers: add the ch32v00x systick driver 2024-11-26 14:41:46 +00:00
xlnx_psttc_timer_priv.h
xlnx_psttc_timer.c
xtensa_sys_timer.c