zephyr/drivers/timer
Adam Kondraciuk 2cd2d5fef3 tests: drivers: timer: grtc: Fix GRTC test
The `z_nrf_grtc_timer_get_ticks()` function converts system ticks
to GRTC ticks. It gets the current system tick to calculate an
absolute GRTC value. The same does the test function to provide
an argument to be converted. If the system tick occurs between those
`sys_clock_tick_get()` calls the `z_nrf_grtc_timer_get_ticks()` will
take into account the newer tick while the test estimate bases on
the old tick value. Due to that the maximum result error is 1 system
tick minus 1 GRTC tick which equals (`CYC_PER_TICK` - 1) for GRTC
ticks.

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2024-05-28 18:53:39 +02:00
..
altera_avalon_timer_hal.c
ambiq_stimer.c drivers: timer: Add support for Apollo3 SoCs system timer (STIMER) 2024-05-07 18:57:19 +02:00
apic_timer.c
apic_tsc.c drivers: apic_tsc: Use toolchain cpuid() 2024-05-17 09:30:27 +02:00
arcv2_timer0.c
arm_arch_timer.c arm_arch_timer: fix maximum allowed cycles between reports 2024-05-07 21:22:12 -04:00
cc13xx_cc26xx_rtc_timer.c
CMakeLists.txt drivers: timer: Add timer driver to Renesas SmartBond(tm) 2024-04-25 16:17:53 +02:00
cortex_m_systick.c Revert "timer: cortex_m_systick: handle cycle count overflow with idle timer" 2023-11-30 10:05:22 +01:00
esp32_sys_timer.c soc: esp32xx: refactor clock and RTC subsystems 2024-05-27 01:37:18 -07:00
gecko_burtc_timer.c
hpet.c x86: revert removing soc.h from atom soc 2024-03-04 20:07:30 +01:00
intel_adsp_timer.c intel_adsp: power: SoC restores the clock 2024-05-27 02:10:03 -07:00
ite_it8xxx2_timer.c drivers: timer: it8xxx2: enhances the accuracy of hw cycle calculation 2024-03-15 17:11:33 -04:00
Kconfig drivers: timer: Add timer driver to Renesas SmartBond(tm) 2024-04-25 16:17:53 +02:00
Kconfig.altera_avalon
Kconfig.ambiq drivers: timer: Add support for Apollo3 SoCs system timer (STIMER) 2024-05-07 18:57:19 +02:00
Kconfig.arcv2
Kconfig.arm_arch
Kconfig.cavs
Kconfig.cc13xx_cc26xx_rtc
Kconfig.cortex_m_systick
Kconfig.esp32 drivers: systimer: Removed mention to ESP32C3 2024-03-27 15:18:45 +00:00
Kconfig.gecko hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.ite_it8xxx2
Kconfig.leon_gptimer
Kconfig.litex
Kconfig.mchp_xec_rtos
Kconfig.mcux_gpt
Kconfig.mcux_lptmr
Kconfig.mcux_os drivers: timer: NXP OS Timer updated for low power modes 2024-03-25 09:35:51 +01:00
Kconfig.mips_cp0
Kconfig.native_posix drivers/timer native: Replace native_posix with native_posix/sim 2023-12-07 10:39:31 +00:00
Kconfig.npcx_itim
Kconfig.nrf_grtc tests: drivers: timer: grtc: Fix GRTC test 2024-05-28 18:53:39 +02:00
Kconfig.nrf_rtc drivers: timer: move SYSTEM_CLOCK_WAIT to Kconfig.nrf_xrtc 2024-01-30 21:00:44 +00:00
Kconfig.nrf_xrtc drivers: timer: add GRTC driver 2024-01-30 21:00:44 +00:00
Kconfig.rcar_cmt
Kconfig.riscv_machine
Kconfig.rv32m1_lptmr
Kconfig.sam0_rtc
Kconfig.smartbond drivers: timer: Add timer driver to Renesas SmartBond(tm) 2024-04-25 16:17:53 +02:00
Kconfig.stm32_lptim drivers: timer: stm32 lptim: add support for backup standby timer 2024-01-25 08:55:02 +01:00
Kconfig.x86 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.xlnx_psttc
Kconfig.xtensa
leon_gptimer.c
litex_timer.c drivers: timer: litex: add missing include 2024-01-19 15:13:53 +00:00
mchp_xec_rtos_timer.c hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
mcux_gpt_timer.c
mcux_lptmr_timer.c
mcux_os_timer.c drivers: timer: NXP OS Timer updated for low power modes 2024-03-25 09:35:51 +01:00
mips_cp0_timer.c
native_posix_timer.c drivers/timer native: Replace native_posix with native_posix/sim 2023-12-07 10:39:31 +00:00
npcx_itim_timer.c
nrf_grtc_timer.c drivers: timer: grtc: Update GRTC driver 2024-05-28 18:53:39 +02:00
nrf_rtc_timer.c drivers: timer: nrf_rtc_timer: Change HAL to HALY in RTC timer driver 2023-12-14 09:28:15 +01:00
rcar_cmt_timer.c
riscv_machine_timer.c riscv_machine_timer: fix maximum allowed cycles between reports 2024-05-07 21:22:12 -04:00
rv32m1_lptmr_timer.c
sam0_rtc_timer.c
smartbond_timer.c smartbond_timer: Fix convertion of watchdog value to LP clock ticks 2024-05-28 17:49:29 +02:00
stm32_lptim_timer.c stm32: power: SoC restores the clock 2024-05-27 02:10:03 -07:00
sys_clock_init.c
xlnx_psttc_timer_priv.h
xlnx_psttc_timer.c
xtensa_sys_timer.c