text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```c
/*
*
*/
#include <zephyr/logging/log.h>
#include "mailbox.h"
LOG_MODULE_REGISTER(scmi_mbox);
static void scmi_mbox_cb(const struct device *mbox,
mbox_channel_id_t channel_id,
void *user_data,
struct mbox_msg *data)
{
struct scmi_channel *scmi_chan = user_data;
if (scmi_chan->cb)
scmi_chan->cb... | /content/code_sandbox/drivers/firmware/scmi/mailbox.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 702 |
```c
/*
*
*/
#include <zephyr/drivers/firmware/scmi/pinctrl.h>
DT_SCMI_PROTOCOL_DEFINE_NODEV(DT_INST(0, arm_scmi_pinctrl), NULL);
int scmi_pinctrl_settings_configure(struct scmi_pinctrl_settings *settings)
{
struct scmi_protocol *proto;
struct scmi_message msg, reply;
uint32_t config_num;
int32_t status, ret;
... | /content/code_sandbox/drivers/firmware/scmi/pinctrl.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 347 |
```unknown
# Atmel SAM WDT configuration
config WDT_SAM
bool "Atmel SAM MCU Family Watchdog (WDT) Driver"
default y
depends on DT_HAS_ATMEL_SAM_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable WDT driver for Atmel SAM MCUs.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.sam | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 69 |
```objective-c
/*
*
*/
#ifndef _ZEPHYR_DRIVERS_FIRMWARE_SCMI_MAILBOX_H_
#define _ZEPHYR_DRIVERS_FIRMWARE_SCMI_MAILBOX_H_
#include <zephyr/drivers/firmware/scmi/transport.h>
#include <zephyr/drivers/firmware/scmi/util.h>
#include <zephyr/drivers/firmware/scmi/shmem.h>
#include <zephyr/drivers/mbox.h>
#include <zephy... | /content/code_sandbox/drivers/firmware/scmi/mailbox.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,211 |
```unknown
# Watchdog configuration options
config WDT_MCUX_WDOG
bool "MCUX WDOG driver"
default y
depends on DT_HAS_NXP_KINETIS_WDOG_ENABLED
depends on CLOCK_CONTROL
help
Enable the mcux wdog driver.
config WDT_MCUX_WDOG32
bool "MCUX WDOG32 driver"
default y
depends on DT_HAS_NXP_KINETIS_WDOG32_ENABLED
... | /content/code_sandbox/drivers/watchdog/Kconfig.mcux | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 232 |
```unknown
#
config WDT_TI_TPS382X
bool "External TI TPS382x Watchdog (WDT) Driver"
default y
depends on DT_HAS_TI_TPS382X_ENABLED
depends on GPIO
help
Enable WDT driver for TI TPS382x. This is an external IC and requires
a GPIO connection from the processor.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.ti_tps382x | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```c
/*
*
*/
#define DT_DRV_COMPAT ti_cc13xx_cc26xx_watchdog
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <soc.h>
#include <errno.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_cc13xx_cc26xx);
/* Driverlib includes */
#include <driverlib/... | /content/code_sandbox/drivers/watchdog/wdt_cc13xx_cc26xx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,943 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_WATCHDOG_IWDG_STM32_H_
#define ZEPHYR_DRIVERS_WATCHDOG_IWDG_STM32_H_
#include <zephyr/types.h>
/**
* @brief Driver for Independent Watchdog (IWDG) for STM32 MCUs
*
* The driver targets all STM32 SoCs. For details please refer to
* an appropriate reference manual an... | /content/code_sandbox/drivers/watchdog/wdt_iwdg_stm32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 228 |
```c
/*
*
* Author: Adrian Warecki <adrian.warecki@intel.com>
*/
#define DT_DRV_COMPAT snps_designware_watchdog
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys_clock.h>
#include <zephyr/math/ilog2.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/drivers/clock_control.... | /content/code_sandbox/drivers/watchdog/wdt_dw.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,155 |
```unknown
# Ambiq SDK WDT
#
#
#
config WDT_AMBIQ
bool "AMBIQ WDT driver"
default y
depends on DT_HAS_AMBIQ_WATCHDOG_ENABLED
select AMBIQ_HAL
select AMBIQ_HAL_USE_WDT
help
Enable driver for Ambiq WDT.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.ambiq | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 68 |
```objective-c
/*
*
* Author: Adrian Warecki <adrian.warecki@intel.com>
*/
#ifndef ZEPHYR_DRIVERS_WATCHDOG_WDT_DW_H_
#define ZEPHYR_DRIVERS_WATCHDOG_WDT_DW_H_
#include <zephyr/sys/util.h>
/**
* @file
* @brief Synopsys Designware Watchdog driver
*
* The DW_apb_wdt is an APB slave peripheral that can be used to... | /content/code_sandbox/drivers/watchdog/wdt_dw.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5,379 |
```c
/*
*
*/
#define DT_DRV_COMPAT litex_watchdog
#include <zephyr/kernel.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/device.h>
#include <zephyr/sys_clock.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_litex, CONFIG_WDT_LOG_LEVEL);
#include <soc.h>
struct wdt_litex_data {
wdt_callback_t... | /content/code_sandbox/drivers/watchdog/wdt_litex.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,605 |
```c
/*
*
*/
#include <zephyr/drivers/watchdog.h>
#include <zephyr/internal/syscall_handler.h>
static inline int z_vrfy_wdt_setup(const struct device *dev, uint8_t options)
{
K_OOPS(K_SYSCALL_DRIVER_WDT(dev, setup));
return z_impl_wdt_setup(dev, options);
}
#include <zephyr/syscalls/wdt_setup_mrsh.c>
static inl... | /content/code_sandbox/drivers/watchdog/wdt_handlers.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 198 |
```c
/*
*
*/
#define DT_DRV_COMPAT ene_kb1200_watchdog
#include <zephyr/irq.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/watchdog.h>
#include <errno.h>
#include <reg/wdt.h>
/* Device config */
struct wdt_kb1200_config {
struct wdt_regs *wdt;
};
/* Device data */
struct wdt_kb1200_data {
wdt_callback_t... | /content/code_sandbox/drivers/watchdog/wdt_ene_kb1200.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,354 |
```unknown
# Kconfig Andes Watchdog configuration options
#
#
#
config WDT_ANDES_ATCWDT200
bool "Andes Watchdog driver"
default y
depends on DT_HAS_ANDESTECH_ATCWDT200_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
select COUNTER
help
Enable driver for the Andes Watchdog driver.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.andes_atcwdt200 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 75 |
```c
/*
*
*/
/**
* @brief Watchdog (WDT) Driver for SiFive Freedom
*/
#define DT_DRV_COMPAT sifive_wdt
#include <zephyr/kernel.h>
#include <soc.h>
#include <zephyr/drivers/watchdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(wdt_sifive);
... | /content/code_sandbox/drivers/watchdog/wdt_sifive.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,927 |
```unknown
# LiteX WDT configuration
config WDT_LITEX
bool "LiteX Watchdog (WDT) Driver"
default y
depends on DT_HAS_LITEX_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable WDT driver for LiteX.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.litex | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```c
/* wdt_xec.c - Microchip XEC watchdog driver */
#define DT_DRV_COMPAT microchip_xec_watchdog
/*
*
*/
#include <zephyr/irq.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_mchp_xec);
#include <zephyr/drivers/watchdog.h>
#include <soc.h>
#include <errno.h>
BUIL... | /content/code_sandbox/drivers/watchdog/wdt_mchp_xec.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,453 |
```objective-c
/*
*
* Author: Adrian Warecki <adrian.warecki@intel.com>
*/
#ifndef ZEPHYR_DRIVERS_WATCHDOG_WDT_INTEL_ADSP_H_
#define ZEPHYR_DRIVERS_WATCHDOG_WDT_INTEL_ADSP_H_
/*
* Get register offset for core
*/
#define DSPBRx_OFFSET(x) (0x0020 * (x))
/*
* DSPCxWDTCS
* DSP Core Watch Dog Timer Control & Statu... | /content/code_sandbox/drivers/watchdog/wdt_intel_adsp.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,219 |
```c
/*
*
*/
#define DT_DRV_COMPAT raspberrypi_pico_watchdog
#include <hardware/watchdog.h>
#include <hardware/structs/psm.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/sys_clock.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_rpi_pico, CONFIG_WDT_LOG... | /content/code_sandbox/drivers/watchdog/wdt_rpi_pico.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,530 |
```unknown
config WDT_NPM6001
bool "nPM6001 Watchdog driver"
default y
depends on DT_HAS_NORDIC_NPM6001_WDT_ENABLED
select I2C
select MFD
help
Enable nPM6001 Watchdog driver
config WDT_NPM6001_INIT_PRIORITY
int "nPM6001 Watchdog driver initialization priority"
depends on WDT_NPM6001
default 85
help
In... | /content/code_sandbox/drivers/watchdog/Kconfig.npm6001 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 111 |
```c
/*
*/
#define DT_DRV_COMPAT ite_it8xxx2_watchdog
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <errno.h>
#include <soc.h>
#include <zephyr/logging/log.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
LOG_MODULE_REGISTER(wdt_ite_it8xxx2);
#define IT8XXX2_WATCHDOG_MAGIC_BYTE 0x5c
#define WARN... | /content/code_sandbox/drivers/watchdog/wdt_ite_it8xxx2.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,371 |
```c
/*
* an affiliate of Cypress Semiconductor Corporation
*
*/
#define DT_DRV_COMPAT infineon_cat1_watchdog
#include "cyhal_wdt.h"
#include <zephyr/devicetree.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/kernel.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_infineon_cat1, CONFIG_WDT_LOG_... | /content/code_sandbox/drivers/watchdog/wdt_ifx_cat1.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 989 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_kinetis_wdog
#include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#include <fsl_wdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_mcux_wdog);
#define MIN_TIMEOUT 4
struct... | /content/code_sandbox/drivers/watchdog/wdt_mcux_wdog.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,248 |
```c
/*
* Driver for Xilinx AXI Timebase WDT core, as described in
* Xilinx document PG128.
*
* Note that the window mode of operation of the core is
* currently not supported. Also, only a full SoC reset is
* supported as a watchdog expiry action.
*
*/
#define DT_DRV_COMPAT xlnx_xps_timebase_wdt_1_00_a
#incl... | /content/code_sandbox/drivers/watchdog/wdt_xilinx_axi.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,079 |
```unknown
# Watchdog configuration options
#
#
config WDT_GECKO
bool "Gecko series Watchdog (WDOG) Driver"
default y
depends on DT_HAS_SILABS_GECKO_WDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
select SOC_GECKO_WDOG
help
Enable WDOG driver for Silicon Labs Gecko MCUs.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.gecko | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 77 |
```unknown
config WDT_CC13XX_CC26XX
bool "Watchdog Driver for CC13xx / CC26xx family of MCUs"
default y
depends on DT_HAS_TI_CC13XX_CC26XX_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable watchdog for CC13xx / CC26xx family of MCUs
config WDT_CC13XX_CC26XX_INITIAL_TIMEOUT
int "Value for initial WD... | /content/code_sandbox/drivers/watchdog/Kconfig.cc13xx_cc26xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 189 |
```c
/*
*
*/
#define DT_DRV_COMPAT espressif_esp32_xt_wdt
#include <soc/rtc_cntl_reg.h>
#include <hal/xt_wdt_hal.h>
#include <rom/ets_sys.h>
#include <string.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/esp32_clock_control.h>
#ifndef CONFI... | /content/code_sandbox/drivers/watchdog/xt_wdt_esp32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,307 |
```c
/*
*
* Based on wdt_mcux_wdog32.c, which is:
*
*/
#define DT_DRV_COMPAT nxp_lpc_wwdt
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <zephyr/sys_clock.h>
#include <fsl_wwdt.h>
#include <fsl_clock.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGIS... | /content/code_sandbox/drivers/watchdog/wdt_mcux_wwdt.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,437 |
```unknown
# STM32 IWDG configuration
config IWDG_STM32
bool "Independent Watchdog (IWDG) Driver for STM32 family of MCUs"
default y
depends on DT_HAS_ST_STM32_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable IWDG driver for STM32 line of MCUs
config IWDG_STM32_INITIAL_TIMEOUT
int "Value for IWDG... | /content/code_sandbox/drivers/watchdog/Kconfig.stm32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 286 |
```c
/*
*
* Author: Adrian Warecki <adrian.warecki@intel.com>
*/
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys_clock.h>
#include <zephyr/math/ilog2.h>
#include "wdt_dw_common.h"
#include "wdt_dw.h"
LOG_MODULE_REGISTER(wdt_dw_common, CONFIG_WDT_LOG_LEVEL);
#define WDT_D... | /content/code_sandbox/drivers/watchdog/wdt_dw_common.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 641 |
```unknown
config WDT_NXP_S32
bool "NXP S32 SWT driver"
default y
depends on DT_HAS_NXP_S32_SWT_ENABLED
select CLOCK_CONTROL
select NOCACHE_MEMORY if ARCH_HAS_NOCACHE_MEMORY_SUPPORT
help
Enable the Software Watchdog Timer (SWT) driver.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.nxp_s32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 67 |
```unknown
config WDT_MAX32
bool "MAX32 Watchdog (WDT) Driver"
default y
depends on DT_HAS_ADI_MAX32_WATCHDOG_ENABLED
help
Enable WDT driver for MAX32.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.max32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 47 |
```unknown
config WDT_SHELL
bool "Watchdog (WDT) shell"
depends on SHELL
help
Enable WDT shell.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.shell | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
# ESP32 WDT configuration
config WDT_ESP32
bool "ESP32 Watchdog (WDT) Driver"
default y
depends on DT_HAS_ESPRESSIF_ESP32_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable WDT driver for ESP32.
config WDT_XT_ESP32
bool "ESP32 Watchdog for External 32K Crystal Driver"
default y
depends... | /content/code_sandbox/drivers/watchdog/Kconfig.esp32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 118 |
```c
/*
*
*/
#define DT_DRV_COMPAT lowrisc_opentitan_aontimer
#include <zephyr/kernel.h>
#include <zephyr/sys/util.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_opentitan, CONFIG_WDT_LOG_LEVEL);
#define OT_REG_WDOG_REGWEN_OFFSET 0x10
#define OT_REG_WDOG_CTRL_OFFSE... | /content/code_sandbox/drivers/watchdog/wdt_opentitan.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,924 |
```c
/*
*
*/
#define DT_DRV_COMPAT arm_cmsdk_watchdog
/**
* @brief Driver for CMSDK APB Watchdog.
*/
#include <errno.h>
#include <soc.h>
#include <zephyr/arch/arm/nmi.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/sys/printk.h>
#include <zephyr/sys/reboot.h>
struct wdog_cmsdk_apb {
/* offset: 0x000 (... | /content/code_sandbox/drivers/watchdog/wdt_cmsdk_apb.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,623 |
```c
/*
*
*/
#include <stdlib.h>
#include <zephyr/shell/shell.h>
#include <zephyr/drivers/watchdog.h>
#define WDT_SETUP_HELP \
"Set up watchdog instance. Syntax:\n" \
"<device>"
#defin... | /content/code_sandbox/drivers/watchdog/wdt_shell.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,224 |
```unknown
# Intel TCO WDT support
config WDT_TCO
bool "Intel TCO Watchdog driver"
default y
depends on DT_HAS_INTEL_TCO_WDT_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable support for Intel TCO WDT driver.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.tco | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 61 |
```unknown
# NUMAKER Watchdog Driver configuration options
config WWDT_NUMAKER
bool "Nuvoton NUMAKER MCU Window Watchdog driver"
default y
depends on DT_HAS_NUVOTON_NUMAKER_WWDT_ENABLED
help
This option enables the Watchdog driver for Nuvoton NuMaker family of
processors.
Say y if you wish to enable NuMa... | /content/code_sandbox/drivers/watchdog/Kconfig.numaker | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 83 |
```c
/*
*
*/
#define DT_DRV_COMPAT espressif_esp32_watchdog
/* Include esp-idf headers first to avoid redefining BIT() macro */
#if defined(CONFIG_SOC_SERIES_ESP32C6)
#include <soc/lp_aon_reg.h>
#else
#include <soc/rtc_cntl_reg.h>
#endif
#include <soc/timer_group_reg.h>
#include <hal/mwdt_ll.h>
#include <hal/wdt_ha... | /content/code_sandbox/drivers/watchdog/wdt_esp32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,575 |
```unknown
# SiFive Freedom WDT configuration
config WDT_SIFIVE
bool "SiFive Watchdog (WDT) Driver"
default y
depends on DT_HAS_SIFIVE_WDT_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
This option enables WDT driver for SiFive Freedom.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.sifive | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 65 |
```c
/*
*
*/
#define DT_DRV_COMPAT silabs_gecko_wdog
#include <soc.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <em_wdog.h>
#include <em_cmu.h>
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(wdt_gecko, CONFIG_WDT_LOG_LEVEL);
#ifdef cmuClock_CORELE
#define C... | /content/code_sandbox/drivers/watchdog/wdt_gecko.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,163 |
```c
/*
*
*/
#define DT_DRV_COMPAT ambiq_watchdog
#include <zephyr/kernel.h>
#include <zephyr/drivers/watchdog.h>
#include <errno.h>
#include <am_mcu_apollo.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_ambiq, CONFIG_WDT_LOG_LEVEL);
typedef void (*ambiq_wdt_cfg_func_t)(void);
struct wdt_ambiq_confi... | /content/code_sandbox/drivers/watchdog/wdt_ambiq.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,491 |
```c
/*
*
*/
#define DT_DRV_COMPAT infineon_xmc4xxx_watchdog
#include <errno.h>
#include <stdint.h>
#include <soc.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <xmc_scu.h>
#include <xmc_wdt.h>
struct wdt_xmc4xxx_dev_data {
wdt_callback_t cb;
uint8_t mode;
bool timeout_valid;
bool i... | /content/code_sandbox/drivers/watchdog/wdt_xmc4xxx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,318 |
```unknown
config WDT_ITE_IT8XXX2
bool "ITE it8xxx2 Watchdog Timer (WDT) driver"
default y
depends on DT_HAS_ITE_IT8XXX2_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
This option enables the Watchdog Timer driver for ITE it8xxx2.
This driver supports only one channel that id is 0 and 16-bits
resol... | /content/code_sandbox/drivers/watchdog/Kconfig.it8xxx2 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 238 |
```c
/*
*
*/
#define DT_DRV_COMPAT ti_cc32xx_watchdog
#include <zephyr/drivers/watchdog.h>
#include <soc.h>
#include <errno.h>
/* Driverlib includes */
#include <inc/hw_types.h>
#include <inc/hw_wdt.h>
#include <driverlib/pin.h>
#include <driverlib/rom.h>
#include <driverlib/rom_map.h>
#include <driverlib/prcm.h>
... | /content/code_sandbox/drivers/watchdog/wdt_cc32xx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,399 |
```objective-c
/*
*
* Author: Adrian Warecki <adrian.warecki@intel.com>
*/
#ifndef ZEPHYR_DRIVERS_WATCHDOG_WDT_DW_COMMON_H_
#define ZEPHYR_DRIVERS_WATCHDOG_WDT_DW_COMMON_H_
#include <stdint.h>
/**
* @brief Check watchdog configuration options
*
* Check options value passed to a watchdog setup function. Returns... | /content/code_sandbox/drivers/watchdog/wdt_dw_common.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 441 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_imx_wdog
#include <zephyr/drivers/pinctrl.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/sys_clock.h>
#include <fsl_wdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(wdt_mcux_wdog);
#define WD... | /content/code_sandbox/drivers/watchdog/wdt_mcux_imx_wdog.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,185 |
```c
/*
*
*/
#define DT_DRV_COMPAT nuvoton_numaker_wwdt
#include <zephyr/kernel.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/clock_control_numaker.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
#include <soc.h>
#includ... | /content/code_sandbox/drivers/watchdog/wdt_wwdt_numaker.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,259 |
```c
/*
*
*/
#include <zephyr/sys/math_extras.h>
#include <nrfx_wdt.h>
#include <zephyr/drivers/watchdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(wdt_nrfx);
struct wdt_nrfx_data {
wdt_callback_t m_callbacks[NRF_WDT_CHANNEL_NUMBER];
uint... | /content/code_sandbox/drivers/watchdog/wdt_nrfx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,854 |
```c
/*
*
*/
#define DT_DRV_COMPAT st_stm32_window_watchdog
#include <zephyr/drivers/watchdog.h>
#include <soc.h>
#include <stm32_ll_bus.h>
#include <stm32_ll_wwdg.h>
#include <stm32_ll_system.h>
#include <errno.h>
#include <zephyr/sys/__assert.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#inclu... | /content/code_sandbox/drivers/watchdog/wdt_wwdg_stm32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,933 |
```unknown
# Xilinx watchdog configuration
config WDT_XILINX_AXI
bool "Xilinx AXI Timebase WDT driver"
default y
depends on DT_HAS_XLNX_XPS_TIMEBASE_WDT_1_00_A_ENABLED
help
Enable the Xilinx AXI Timebase WDT driver.
if WDT_XILINX_AXI
config WDT_XILINX_AXI_HWINFO_API
bool "Expose HWINFO API in Xilinx AXI Tim... | /content/code_sandbox/drivers/watchdog/Kconfig.xlnx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 184 |
```unknown
# Watchdog configuration options
config WDT_MCUX_IMX_WDOG
bool "MCUX IMX WDOG driver"
default y
depends on DT_HAS_NXP_IMX_WDOG_ENABLED
select PINCTRL
help
Enable the mcux imx wdog driver.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.mcux_imx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 60 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_s32_swt
#include <zephyr/kernel.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/clock_control.h>
#include <zephyr/irq.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(swt_nxp_s32);
/* Software Watchdog Timer (SWT)... | /content/code_sandbox/drivers/watchdog/wdt_nxp_s32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,500 |
```c
/*
*/
#define DT_DRV_COMPAT nordic_npm6001_wdt
#include <errno.h>
#include <zephyr/device.h>
#include <zephyr/drivers/i2c.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/sys/util_macro.h>
#include <zephyr/toolchain.h>
/* nPM6001 Watchdog related registers */
#define NPM6001_WDARMEDVALUE 0x54U
#define... | /content/code_sandbox/drivers/watchdog/wdt_npm6001.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,614 |
```c
/*
*
*/
#define DT_DRV_COMPAT nuvoton_npcx_watchdog
/**
* @file
* @brief Nuvoton NPCX watchdog modules driver
*
* This file contains the drivers of NPCX Watchdog module that generates the
* clocks and interrupts (T0 Timer) used for its callback functions in the
* system. It also provides watchdog reset s... | /content/code_sandbox/drivers/watchdog/wdt_npcx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 3,243 |
```unknown
# Smartbond watchdog driver config
config WDT_SMARTBOND
bool "Watchdog Driver for Smartbond family of MCUs"
default y
depends on DT_HAS_RENESAS_SMARTBOND_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable watchdog driver for Smartbond line of MCUs
config WDT_SMARTBOND_NMI
bool "NMI pre-r... | /content/code_sandbox/drivers/watchdog/Kconfig.smartbond | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 226 |
```unknown
config FWDGT_GD32
bool "GD32 Free watchdog timer (FWDGT) driver"
default y
depends on DT_HAS_GD_GD32_FWDGT_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
select USE_GD32_FWDGT
help
Enable the Free watchdog timer (FWDGT) driver for GD32 SoCs.
config WWDGT_GD32
bool "GD32 Window watchdog timer (WWDGT) Driv... | /content/code_sandbox/drivers/watchdog/Kconfig.gd32 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 146 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_WATCHDOG_WDT_NXP_FS26_H_
#define ZEPHYR_DRIVERS_WATCHDOG_WDT_NXP_FS26_H_
/* FS26 SPI Tx frame fields */
/* Main or Fail-safe register selection (M/FS) */
#define FS26_M_FS (0x1 << 31)
/* Register Address + M/FS */
#define FS26_REG_ADDR_SHIFT ... | /content/code_sandbox/drivers/watchdog/wdt_nxp_fs26.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,301 |
```unknown
# Microchip XEC Watchdog Timer configuration
config WDT_XEC
bool "Microchip XEC series Watchdog Timer (WDT) driver"
default y
depends on DT_HAS_MICROCHIP_XEC_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable WDT driver for Microchip XEC MCU series.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.xec | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```c
/*
*
*/
#define DT_DRV_COMPAT gd_gd32_wwdgt
#include <zephyr/drivers/clock_control.h>
#include <zephyr/drivers/clock_control/gd32.h>
#include <zephyr/drivers/reset.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys_clock.h>
#include <gd32_wwdgt... | /content/code_sandbox/drivers/watchdog/wdt_wwdgt_gd32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,589 |
```unknown
# Intel ADSP Watchdog configuration options
config WDT_INTEL_ADSP
bool "Intel ADSP Watchdog driver"
default y
depends on DT_HAS_INTEL_ADSP_WATCHDOG_ENABLED
help
Intel ADSP Watchdog driver.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.intel_adsp | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 53 |
```unknown
# NPCX WDT driver configuration options
config WDT_NPCX
bool "Nuvoton NPCX embedded controller (EC) Watchdog Timer driver"
default y
depends on DT_HAS_NUVOTON_NPCX_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
This option enables the Watchdog Timer driver for NPCX family of
processors.
... | /content/code_sandbox/drivers/watchdog/Kconfig.npcx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 158 |
```unknown
# Synopsys DesignWare Watchdog configuration options
config WDT_DW
bool "Synopsys DesignWare Watchdog driver"
default y
depends on DT_HAS_SNPS_DESIGNWARE_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Synopsys DesignWare Watchdog driver.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.dw | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 66 |
```unknown
# OpenTitan Always-On Timer support
config WDT_OPENTITAN
bool "OpenTitan Always-On (AON) Timer"
depends on DT_HAS_LOWRISC_OPENTITAN_AONTIMER_ENABLED
default y
select HAS_WDT_MULTISTAGE
help
This option enables support for the watchdog portion of the OpenTitan AON
timer.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.opentitan | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 78 |
```unknown
# nrfx WDT support
config WDT_NRFX
bool "nRF WDT nrfx driver"
default y
depends on DT_HAS_NORDIC_NRF_WDT_ENABLED
select NRFX_WDT0 if HAS_HW_NRF_WDT0
select NRFX_WDT1 if HAS_HW_NRF_WDT1
select NRFX_WDT30 if HAS_HW_NRF_WDT30
select NRFX_WDT31 if HAS_HW_NRF_WDT31
select NRFX_WDT010 if HAS_HW_NRF_WDT01... | /content/code_sandbox/drivers/watchdog/Kconfig.nrfx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 196 |
```c
/*
*/
#define DT_DRV_COMPAT nordic_npm1300_wdt
#include <errno.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/mfd/npm1300.h>
#include <zephyr/dt-bindings/gpio/nordic-npm1300-gpio.h>
/* nPM1300 TIMER base address */
#define TIME_BASE... | /content/code_sandbox/drivers/watchdog/wdt_npm1300.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,186 |
```c
/*
*
* Based on wdt_mcux_wdog.c, which is:
*
*/
#define DT_DRV_COMPAT nxp_kinetis_wdog32
#include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/clock_control.h>
#include <fsl_wdog32.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(w... | /content/code_sandbox/drivers/watchdog/wdt_mcux_wdog32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,746 |
```c
/*
*
*/
#include <zephyr/drivers/watchdog.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/logging/log_ctrl.h>
#define WDT_CHANNEL_COUNT DT_PROP(DT_WDT_COUNTER, num_channels)
#define DT_WDT_COUNTER DT_COMPAT_GET_ANY_STATUS_OKAY(zephyr_counter_watchdog)
#define WDT_SUPPORTED_CFG_FLAGS (WDT_FLAG_RESET_NO... | /content/code_sandbox/drivers/watchdog/wdt_counter.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,132 |
```c
/*
*
*/
#define DT_DRV_COMPAT nxp_fs26_wdog
#include <zephyr/kernel.h>
#include <zephyr/drivers/spi.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/sys/byteorder.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_nxp_fs26);
#include "wdt_nxp_fs26.h"
#i... | /content/code_sandbox/drivers/watchdog/wdt_nxp_fs26.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8,170 |
```c
/*
*
*/
#define DT_DRV_COMPAT adi_max32_watchdog
#include <zephyr/drivers/watchdog.h>
#include <zephyr/irq.h>
#include <zephyr/drivers/clock_control/adi_max32_clock_control.h>
#include <soc.h>
#include <errno.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_max32, CONFIG_WDT_LOG_LEVEL);
#include <w... | /content/code_sandbox/drivers/watchdog/wdt_max32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,118 |
```unknown
# Watchdog configuration options
menuconfig WATCHDOG
bool "Watchdog drivers"
help
Include support for watchdogs.
if WATCHDOG
config HAS_WDT_DISABLE_AT_BOOT
bool
config WDT_DISABLE_AT_BOOT
bool "Disable at boot"
depends on HAS_WDT_DISABLE_AT_BOOT
help
Disable watchdog at Zephyr system startup... | /content/code_sandbox/drivers/watchdog/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 764 |
```c
/*
*
*/
#define DT_DRV_COMPAT andestech_atcwdt200
#include <zephyr/kernel.h>
#include <zephyr/drivers/watchdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
#include <zephyr/drivers/counter.h>
#include <zephyr/drivers/syscon.h>
LOG_MODULE_REGISTER(wdt_andes)... | /content/code_sandbox/drivers/watchdog/wdt_andes_atcwdt200.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,724 |
```c
/*
*
*/
#include <soc.h>
#include <zephyr/arch/arm/nmi.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdog_smartbond, CONFIG_WDT_LOG_LEVEL);
#define DT_DRV_COMPAT renesas_smartbond_watchdog
/* driver data */
struct wdog_smartbond_data {
... | /content/code_sandbox/drivers/watchdog/wdt_smartbond.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 960 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_DRIVERS_WATCHDOG_WWDG_STM32_H_
#define ZEPHYR_DRIVERS_WATCHDOG_WWDG_STM32_H_
#include <zephyr/types.h>
#include <zephyr/drivers/clock_control/stm32_clock_control.h>
#include <zephyr/drivers/clock_control.h>
/**
* @brief Driver for System Window Watchdog (WWDG) for STM32 MCUs
... | /content/code_sandbox/drivers/watchdog/wdt_wwdg_stm32.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 317 |
```unknown
config WDT_CC32XX
bool "Watchdog Driver for cc32xx family of MCUs"
default y
depends on DT_HAS_TI_CC32XX_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Watchdog for cc32xx family of MCUs
config WDT_CC32XX_INITIAL_TIMEOUT
int "Value for WDT timeout in ms"
depends on WDT_CC32XX
default 2000
... | /content/code_sandbox/drivers/watchdog/Kconfig.cc32xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 130 |
```unknown
config WDT_NPM1300
bool "nPM1300 Watchdog driver"
default y
depends on DT_HAS_NORDIC_NPM1300_WDT_ENABLED
select I2C
select MFD
help
Enable nPM1300 Watchdog driver
config WDT_NPM1300_INIT_PRIORITY
int "nPM1300 Watchdog driver initialization priority"
depends on WDT_NPM1300
default 85
help
In... | /content/code_sandbox/drivers/watchdog/Kconfig.npm1300 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 125 |
```unknown
# ARM CMSDK (Cortex-M System Design Kit) AHB WDOG cfg
config WDOG_CMSDK_APB
bool "CMSDK APB Watchdog Driver for ARM family of MCUs"
default y
depends on DT_HAS_ARM_CMSDK_WATCHDOG_ENABLED
depends on RUNTIME_NMI
help
Enable CMSDK APB Watchdog (WDOG_CMSDK_APB) Driver for ARM
family of MCUs.
config... | /content/code_sandbox/drivers/watchdog/Kconfig.cmsdk_apb | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 174 |
```c
/*
*
*/
#define DT_DRV_COMPAT st_stm32_watchdog
#include <zephyr/drivers/watchdog.h>
#include <zephyr/kernel.h>
#include <zephyr/sys_clock.h>
#include <soc.h>
#include <stm32_ll_bus.h>
#include <stm32_ll_iwdg.h>
#include <stm32_ll_system.h>
#include <errno.h>
#include "wdt_iwdg_stm32.h"
#define IWDG_PRESCALE... | /content/code_sandbox/drivers/watchdog/wdt_iwdg_stm32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,829 |
```c
/*
*
*/
#define DT_DRV_COMPAT ti_tps382x
#include <errno.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_ti_tps382x, CONFIG_WDT_LOG_LEVEL);
struct ti_tps382x_config {
struct gpio_dt_spec wdi_gpio;
int timeout;
};
static int t... | /content/code_sandbox/drivers/watchdog/wdt_ti_tps382x.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 686 |
```c
/*
*
* Author: Adrian Warecki <adrian.warecki@intel.com>
*/
/**
* @file
*
* @brief Intel ACE per-core watchdogs driver
*
* The ace platform has a set of designware watchdogs, one for each core. This driver is responsible
* for finding the base addresses of subordinate devices, controlling the pause signa... | /content/code_sandbox/drivers/watchdog/wdt_intel_adsp.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,757 |
```unknown
# Infineon CAT1 Watchdog configuration options
# an affiliate of Cypress Semiconductor Corporation
#
config WDT_INFINEON_CAT1
bool "Infineon CAT1 Watchdog Driver"
default y
depends on DT_HAS_INFINEON_CAT1_WATCHDOG_ENABLED
select USE_INFINEON_WDT
help
Enable Watchdog driver for Infineon CAT1 devices... | /content/code_sandbox/drivers/watchdog/Kconfig.ifx_cat1 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 81 |
```unknown
# Infineon XMC4xxx WDT configuration
config WDT_XMC4XXX
bool "Infineon XMC4xxx MCU Family Watchdog (WDT) Driver"
default y
depends on DT_HAS_INFINEON_XMC4XXX_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable WDT driver for Infineon XMC4xxx MCUs.
if WDT_XMC4XXX && !WDT_DISABLE_AT_BOOT
co... | /content/code_sandbox/drivers/watchdog/Kconfig.xmc4xxx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 148 |
```unknown
# Atmel SAM0 WDT configuration
config WDT_SAM0
bool "Atmel SAM0 series Watchdog (WDT) Driver"
default y
depends on DT_HAS_ATMEL_SAM0_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
Enable WDT driver for Atmel SAM0 MCUs.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.sam0 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```c
/*
*
*/
#define DT_DRV_COMPAT atmel_sam_watchdog
/**
* @brief Watchdog (WDT) Driver for Atmel SAM MCUs
*
* Note:
* - Once the watchdog disable bit is set, it cannot be cleared till next
* power reset, i.e, the watchdog cannot be started once stopped.
* - Since the MCU boots with WDT enabled, the CONFIG... | /content/code_sandbox/drivers/watchdog/wdt_sam.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,797 |
```unknown
menuconfig WDT_NXP_FS26
bool "NXP FS26 SBC watchdog driver"
default y
depends on DT_HAS_NXP_FS26_WDOG_ENABLED
select SPI
select GPIO
help
Enable the NXP FS26 SBC watchdog driver.
if WDT_NXP_FS26
config WDT_NXP_FS26_INIT_PRIORITY
int
default 80
help
Device driver initialization priority. Dev... | /content/code_sandbox/drivers/watchdog/Kconfig.nxp_fs26 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 583 |
```c
/*
*
*/
#define DT_DRV_COMPAT gd_gd32_fwdgt
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
#include <zephyr/sys_clock.h>
#include <gd32_fwdgt.h>
LOG_MODULE_REGISTER(wdt_fwdgt_gd32, CONFIG_WDT_LOG_LEVEL);
#define FWDGT_RELOAD_MAX (0xFFFU)
#define FWDGT_PRESCALER_MAX (256U)
#if defin... | /content/code_sandbox/drivers/watchdog/wdt_fwdgt_gd32.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,253 |
```c
/*
*
*/
#define DT_DRV_COMPAT intel_tco_wdt
#include <zephyr/kernel.h>
#include <zephyr/drivers/watchdog.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(wdt_tco, CONFIG_WDT_LOG_LEVEL);
#define BASE(d) ((struct tco_config *)(d)->config)->base
#define TCO_RLD(d) (BASE(d) + 0x0... | /content/code_sandbox/drivers/watchdog/wdt_tco.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,948 |
```unknown
config WDT_ENE_KB1200
bool "ENE KB1200 watchdog driver"
default y
depends on DT_HAS_ENE_KB1200_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
help
This option enables the KB1200 watchdog driver.
``` | /content/code_sandbox/drivers/watchdog/Kconfig.ene | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 60 |
```unknown
config WDT_RPI_PICO
bool "Raspberry Pi Pico Watchdog driver"
default y
depends on DT_HAS_RASPBERRYPI_PICO_WATCHDOG_ENABLED
select HAS_WDT_DISABLE_AT_BOOT
config WDT_RPI_PICO_INITIAL_TIMEOUT
int "Default watchdog timeout in us"
depends on WDT_RPI_PICO
default 8388607
range 1 8388607
help
Sets th... | /content/code_sandbox/drivers/watchdog/Kconfig.rpi_pico | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 147 |
```unknown
# ILI9XXX display driver configuration options
config ILI9XXX
bool
help
Hidden configuration entry for all ILI9XXX drivers.
config ILI9XXX_READ
bool "Allow display_read API with ILI9XXX"
help
Support display_read API with ILI9XXX controllers. This API is opt-in,
because it adds code overhead ... | /content/code_sandbox/drivers/display/Kconfig.ili9xxx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 341 |
```c
/*
*
*/
#define DT_DRV_COMPAT atmel_sam0_watchdog
#include <soc.h>
#include <zephyr/drivers/watchdog.h>
#define LOG_LEVEL CONFIG_WDT_LOG_LEVEL
#include <zephyr/logging/log.h>
#include <zephyr/irq.h>
LOG_MODULE_REGISTER(wdt_sam0);
#define WDT_REGS ((Wdt *)DT_INST_REG_ADDR(0))
#ifndef WDT_CONFIG_PER_8_Val
#de... | /content/code_sandbox/drivers/watchdog/wdt_sam0.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,906 |
```unknown
config INTEL_MULTIBOOTFB_DISPLAY
bool "Intel Multiboot Framebuffer"
default y
depends on MULTIBOOT && MULTIBOOT_INFO && \
DT_HAS_INTEL_MULTIBOOT_FRAMEBUFFER_ENABLED
help
Enable Intel Multiboot framebuffer-based display driver.
``` | /content/code_sandbox/drivers/display/Kconfig.intel_multibootfb | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 60 |
```unknown
config RM68200
bool "RM68200 display driver"
default y
depends on MIPI_DSI
depends on DT_HAS_RAYDIUM_RM68200_ENABLED
help
Enable driver for RM68200 display driver.
``` | /content/code_sandbox/drivers/display/Kconfig.rm68200 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 52 |
```unknown
# UC81xx display controller configuration options
config UC81XX
bool "UltraChip UC81xx compatible display controller driver"
default y
depends on DT_HAS_ULTRACHIP_UC8175_ENABLED || DT_HAS_ULTRACHIP_UC8176_ENABLED || DT_HAS_ULTRACHIP_UC8179_ENABLED
select MIPI_DBI
help
Enable driver for UC81xx compa... | /content/code_sandbox/drivers/display/Kconfig.uc81xx | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 84 |
```unknown
config HX8394
bool "HX8394 display driver"
default y
depends on MIPI_DSI
depends on DT_HAS_HIMAX_HX8394_ENABLED
help
Enable driver for HX8394 display driver.
``` | /content/code_sandbox/drivers/display/Kconfig.hx8394 | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 54 |
```unknown
# SDL based emulated display configuration options
menuconfig SDL_DISPLAY
bool "SDL based emulated display"
default y
depends on DT_HAS_ZEPHYR_SDL_DC_ENABLED
select HAS_SDL
help
Enable SDL based emulated display compliant with display driver API.
if SDL_DISPLAY
choice SDL_DISPLAY_DEFAULT_PIXEL_FO... | /content/code_sandbox/drivers/display/Kconfig.sdl | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 344 |
```c
/*
*/
#include "display_ili9xxx.h"
#include <zephyr/dt-bindings/display/ili9xxx.h>
#include <zephyr/drivers/display.h>
#include <zephyr/sys/byteorder.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(display_ili9xxx, CONFIG_DISPLAY_LOG_LEVEL);
struct ili9xxx_data {
uint8_t bytes_per_pixel;
enum display... | /content/code_sandbox/drivers/display/display_ili9xxx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 4,642 |
```c
/*
*
*/
#include <string.h>
#include <zephyr/device.h>
#include <zephyr/init.h>
#include <zephyr/drivers/display.h>
#include <zephyr/drivers/gpio.h>
#include <zephyr/drivers/mipi_dbi.h>
#include <zephyr/sys/byteorder.h>
#include "uc81xx_regs.h"
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(uc81xx, CONFI... | /content/code_sandbox/drivers/display/uc81xx.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 6,369 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.