zephyr/drivers/watchdog
Steven Slupsky a18a73c19b drivers: wdt: sam0: fix register access in feed()
The wdt CLEAR register is a write synchronized register.
To avoid bus stall, check the status of SYNCBUSY before
accessing the register.

Use SYNCBUSY register for SAM E.
If the wdt is syncing, return -EAGAIN to avoid bus stall.

Signed-off-by: Steven Slupsky <sslupsky@gmail.com>
2020-07-11 12:40:18 -04:00
..
CMakeLists.txt
Kconfig
Kconfig.cmsdk_apb
Kconfig.esp32
Kconfig.gecko
Kconfig.mcux
Kconfig.nrfx
Kconfig.sam
Kconfig.sam0
Kconfig.stm32
Kconfig.xec
wdt_cmsdk_apb.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_esp32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_gecko.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_handlers.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_iwdg_stm32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_iwdg_stm32.h
wdt_mchp_xec.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_mcux_wdog.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_mcux_wdog32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_nrfx.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_sam.c drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
wdt_sam0.c drivers: wdt: sam0: fix register access in feed() 2020-07-11 12:40:18 -04:00
wdt_wwdg_stm32.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
wdt_wwdg_stm32.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00