zephyr/drivers/timer
Mulin Chao 440d9dc5d4 driver: itim: npcx: check ITEN bit to prevent return fake error.
During polling ITEN bit to make sure ITIM timer is enabled, we might
have the chance that npcx_itim_evt_enable() return fake error when
timeout expired but ITEN bit is set already if CONFIG_ZERO_LATENCY_IRQS
is enabled. (Since SVCall's interrupt priority is not the highest, the
other interrupts with IRQ_ZERO_LATENCY flag could preempt CPU resource
at this moment.)

In order to prevent return fake error code, this CL adjusts the check
conditions for ITEN bit and timeout.

Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2021-04-22 18:03:06 -04:00
..
CMakeLists.txt drivers: timer: add R-Car cmt driver 2021-04-22 10:38:45 +02:00
Kconfig drivers: timer: add R-Car cmt driver 2021-04-22 10:38:45 +02:00
Kconfig.stm32_lptim drivers: timer: st_stm32: add lptimer management to stm32l5 series 2021-03-26 18:06:01 -04:00
altera_avalon_timer_hal.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
apic_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
arcv2_timer0.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
arm_arch_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
cavs_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
cc13x2_cc26x2_rtc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
cortex_m_systick.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
hpet.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
ite_it8xxx2_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
leon_gptimer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
litex_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
mchp_xec_rtos_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
mcux_os_timer.c drivers: timer: Add MCUX OS timer 2021-04-21 20:40:24 -04:00
native_posix_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
npcx_itim_timer.c driver: itim: npcx: check ITEN bit to prevent return fake error. 2021-04-22 18:03:06 -04:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Change type of channel argument 2021-03-25 15:54:49 +01:00
rcar_cmt_timer.c drivers: timer: add R-Car cmt driver 2021-04-22 10:38:45 +02:00
riscv_machine_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
rv32m1_lptmr_timer.c clock: rename z_timer_cycle_get_32 -> sys_clock_cycle_get_32 2021-03-19 11:22:17 -04:00
sam0_rtc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
stm32_lptim_timer.c drivers: timer: st_stm32: add lptimer management to stm32l5 series 2021-03-26 18:06:01 -04:00
sys_clock_init.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
xlnx_psttc_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00
xlnx_psttc_timer_priv.h
xtensa_sys_timer.c drivers: device: do not reuse tag name 'device' 2021-03-22 19:48:14 -04:00