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
```objective-c /* * * * This file is based on dw1000_regs.h and dw1000_mac.c from * path_to_url * (d6b1414f1b4527abda7521a304baa1c648244108) * The content was modified and restructured to meet the * coding style and resolve namespace issues. * * This file is derived from material that is: * * * or more cont...
/content/code_sandbox/drivers/ieee802154/ieee802154_dw1000_regs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
24,447
```unknown menuconfig IEEE802154_DW1000 bool "Decawave DW1000 Driver support" default y depends on DT_HAS_DECAWAVE_DW1000_ENABLED select SPI if IEEE802154_DW1000 config IEEE802154_DW1000_SNIFF_ONT int "SNIFF on time" default 0 range 0 15 help SNIFF on time in unit of PAC. The minimum on time is the durati...
/content/code_sandbox/drivers/ieee802154/Kconfig.dw1000
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
303
```c /* ieee802154_cc1200.c - TI CC1200 driver */ #define DT_DRV_COMPAT ti_cc1200 /* * */ #define LOG_MODULE_NAME ieee802154_cc1200 #define LOG_LEVEL CONFIG_IEEE802154_DRIVER_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(LOG_MODULE_NAME); #include <errno.h> #include <zephyr/kernel.h> #include <z...
/content/code_sandbox/drivers/ieee802154/ieee802154_cc1200.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,961
```unknown # NXP KW41Z configuration options menuconfig IEEE802154_KW41Z bool "NXP KW41Z Driver support" default y depends on DT_HAS_NXP_KW41Z_IEEE802154_ENABLED select REQUIRES_FULL_LIBC if IEEE802154_KW41Z config IEEE802154_KW41Z_INIT_PRIO int "KW41Z initialization priority" default 80 help Set the init...
/content/code_sandbox/drivers/ieee802154/Kconfig.kw41z
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
183
```objective-c /* ieee802154_uart_pipe.h - Private header for UART PIPE fake radio driver */ /* * */ #ifndef ZEPHYR_DRIVERS_IEEE802154_IEEE802154_UART_PIPE_H_ #define ZEPHYR_DRIVERS_IEEE802154_IEEE802154_UART_PIPE_H_ #define UART_PIPE_RADIO_15_4_FRAME_TYPE 0xF0 struct upipe_context { struct net_if *iface; uint...
/content/code_sandbox/drivers/ieee802154/ieee802154_uart_pipe.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
163
```objective-c /* ieee802154_cc2520_regs.h - Registers definition for TI CC2520 */ /* * */ #ifndef ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC2520_REGS_H_ #define ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC2520_REGS_H_ /* Instructions (see chapter 13) */ #define CC2520_INS_SNOP (0x00) #define CC2520_INS_IBUFLD (0x02)...
/content/code_sandbox/drivers/ieee802154/ieee802154_cc2520_regs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,598
```c /* ieee802154_kw41z.c - NXP KW41Z driver */ /* * */ #define DT_DRV_COMPAT nxp_kw41z_ieee802154 #define LOG_MODULE_NAME ieee802154_kw41z #define LOG_LEVEL CONFIG_IEEE802154_DRIVER_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(LOG_MODULE_NAME); #include <zephyr/kernel.h> #include <zephyr/devic...
/content/code_sandbox/drivers/ieee802154/ieee802154_kw41z.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9,742
```c /* * */ #define DT_DRV_COMPAT telink_b91_zb #include "rf.h" #include "stimer.h" #define LOG_MODULE_NAME ieee802154_b91 #if defined(CONFIG_IEEE802154_DRIVER_LOG_LEVEL) #define LOG_LEVEL CONFIG_IEEE802154_DRIVER_LOG_LEVEL #else #define LOG_LEVEL LOG_LEVEL_NONE #endif #include <zephyr/logging/log.h> LOG_MODULE_...
/content/code_sandbox/drivers/ieee802154/ieee802154_b91.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,531
```unknown # NXP MCR20A configuration options menuconfig IEEE802154_MCR20A bool "NXP MCR20A Driver support" default y depends on DT_HAS_NXP_MCR20A_ENABLED select SPI if IEEE802154_MCR20A config MCR20A_IS_PART_OF_KW2XD_SIP bool "MCR20A device is part of KW2xD SiP" help If this option is set, the driver does...
/content/code_sandbox/drivers/ieee802154/Kconfig.mcr20a
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
519
```unknown # IEEE 802.15.4 driver configuration options # # IEEE 802.15.4 options # menuconfig IEEE802154 bool "IEEE 802.15.4 drivers" depends on NETWORKING default y if NET_L2_PHY_IEEE802154 if IEEE802154 config IEEE802154_NET_IF_NO_AUTO_START bool "IEEE 802.15.4 interface without auto-start" help This opt...
/content/code_sandbox/drivers/ieee802154/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
732
```objective-c /* * * * References are to the IEEE 802.15.4-2020 standard. */ #ifndef ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC13XX_CC26XX_H_ #define ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC13XX_CC26XX_H_ #include <zephyr/kernel.h> #include <zephyr/net/net_if.h> #include <zephyr/net/ieee802154.h> #include <zephyr/ne...
/content/code_sandbox/drivers/ieee802154/ieee802154_cc13xx_cc26xx.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
889
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC13XX_CC26XX_SUBG_H_ #define ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC13XX_CC26XX_SUBG_H_ #include <zephyr/kernel.h> #include <zephyr/net/net_if.h> #include <zephyr/net/ieee802154.h> #include <zephyr/net/ieee802154_radio.h> #include <ti/drivers/rf/...
/content/code_sandbox/drivers/ieee802154/ieee802154_cc13xx_cc26xx_subg.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
513
```unknown # ATMEL AT86RF23x/212x configuration options menuconfig IEEE802154_RF2XX bool "ATMEL RF2XX Driver support" default y depends on DT_HAS_ATMEL_RF2XX_ENABLED select SPI select GPIO if IEEE802154_RF2XX config IEEE802154_RF2XX_RX_STACK_SIZE int "Driver's internal RX thread stack size" default 800 help...
/content/code_sandbox/drivers/ieee802154/Kconfig.rf2xx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
234
```c /* ieee802154_nrf5.c - nRF5 802.15.4 driver */ /* * */ #define DT_DRV_COMPAT nordic_nrf_ieee802154 #define LOG_MODULE_NAME ieee802154_nrf5 #if defined(CONFIG_IEEE802154_DRIVER_LOG_LEVEL) #define LOG_LEVEL CONFIG_IEEE802154_DRIVER_LOG_LEVEL #else #define LOG_LEVEL LOG_LEVEL_NONE #endif #include <zephyr/loggin...
/content/code_sandbox/drivers/ieee802154/ieee802154_nrf5.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
10,335
```unknown # Telink B91 RF configuration options menuconfig IEEE802154_TELINK_B91 bool "Telink B91 RF driver" default y depends on DT_HAS_TELINK_B91_ZB_ENABLED if IEEE802154_TELINK_B91 config IEEE802154_B91_INIT_PRIO int "Telink B91 IEEE 802.15.4 initialization priority" default 80 help Set the initializat...
/content/code_sandbox/drivers/ieee802154/Kconfig.b91
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
434
```c /* * */ #include <zephyr/drivers/tee.h> int tee_add_shm(const struct device *dev, void *addr, size_t align, size_t size, uint32_t flags, struct tee_shm **shmp) { int rc; void *p = addr; struct tee_shm *shm; if (!shmp) { return -EINVAL; } if (flags & TEE_SHM_ALLOC) { if (align) { p = k_aligned_...
/content/code_sandbox/drivers/tee/tee.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
509
```unknown menuconfig TEE bool "Trusted Environment Drivers" help Include TEE drivers in system config if TEE module = TEE module-str = tee comment "Device Drivers" source "drivers/tee/optee/Kconfig" endif # TEE ```
/content/code_sandbox/drivers/tee/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
59
```objective-c /* ieee802154_cc1200_regs.h - Registers definition for TI CC1200 */ /* * */ #ifndef ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC1200_REGS_H_ #define ZEPHYR_DRIVERS_IEEE802154_IEEE802154_CC1200_REGS_H_ /* Access types (see Section 3.2) */ #define CC1200_ACCESS_RD BIT(7) #define CC1200_ACCESS_WR (0x00...
/content/code_sandbox/drivers/ieee802154/ieee802154_cc1200_regs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,895
```objective-c /* */ #ifndef _OPTEE_MSG_H #define _OPTEE_MSG_H /* * TODO: Zephyr has similar macros defined in stdint.h and called UINT32_C, * UINT64_C etc. This should be refactored to use macro from Zephyr. */ #define U(v) v ## U /* * This file defines the OP-TEE message protocol used to communicate * with an...
/content/code_sandbox/drivers/tee/optee/optee_msg.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,190
```objective-c /* */ #ifndef __OPTEE_RPC_CMD_H #define __OPTEE_RPC_CMD_H /* * All RPC is done with a struct optee_msg_arg as bearer of information, * struct optee_msg_arg::arg holds values defined by OPTEE_RPC_CMD_* below. * Only the commands handled by the kernel driver are defined here. * * RPC communication ...
/content/code_sandbox/drivers/tee/optee/optee_rpc_cmd.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
888
```unknown config OPTEE bool "OP-TEE driver" depends on (ARM64 && ARMV8_A_NS && HAS_ARM_SMCCC) || ZTEST help This implements support of the OP-TEE firmware which is loaded as BL32 image. OP-TEE is a Trust Zone OS which implements mechanisms of the hardware isolation and rely to ARM TrustZone technology. ...
/content/code_sandbox/drivers/tee/optee/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
173
```objective-c /* */ #ifndef OPTEE_SMC_H #define OPTEE_SMC_H #include <stdint.h> /* * This file is exported by OP-TEE and is in kept in sync between secure * world and normal world kernel driver. We're following ARM SMC Calling * Convention as specified in * path_to_url * * This file depends on optee_msg.h bei...
/content/code_sandbox/drivers/tee/optee/optee_smc.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,879
```c /* * */ #include <zephyr/internal/syscall_handler.h> #include <zephyr/drivers/emul_fuel_gauge.h> /* Emulator syscalls just need to exist as stubs as these are only called by tests. */ static inline int z_vrfy_emul_fuel_gauge_is_battery_cutoff(const struct emul *target, bool *cutoff) { return z_impl_emul_fuel...
/content/code_sandbox/drivers/fuel_gauge/emul_fuel_gauge_syscall_handlers.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
196
```unknown # menuconfig FUEL_GAUGE bool "Battery fuel gauge drivers" help Enable battery fuel gauge driver configuration. if FUEL_GAUGE module = FUEL_GAUGE module-str = fuel_gauge source "subsys/logging/Kconfig.template.log_config" config FUEL_GAUGE_INIT_PRIORITY int "Battery Fuel Gauge init priority" defaul...
/content/code_sandbox/drivers/fuel_gauge/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
140
```c /* * */ #include <zephyr/internal/syscall_handler.h> #include <zephyr/drivers/fuel_gauge.h> static inline int z_vrfy_fuel_gauge_get_prop(const struct device *dev, fuel_gauge_prop_t prop, union fuel_gauge_prop_val *val) { union fuel_gauge_prop_val k_val; K_OOPS(K_SYSCALL_DRIVER_FUEL_GAUGE(dev, get_...
/content/code_sandbox/drivers/fuel_gauge/fuel_gauge_syscall_handlers.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
844
```c /* * * */ #define DT_DRV_COMPAT sbs_sbs_gauge_new_api #include "sbs_gauge.h" #include <stdbool.h> #include <stdint.h> #include <zephyr/devicetree.h> #include <zephyr/drivers/fuel_gauge.h> #include <zephyr/drivers/i2c.h> #include <zephyr/logging/log.h> #include <zephyr/sys/byteorder.h> #include <zephyr/sys/ut...
/content/code_sandbox/drivers/fuel_gauge/sbs_gauge/sbs_gauge.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,049
```c /* * * * Emulator for SBS 1.1 compliant smart battery fuel gauge. */ #ifdef CONFIG_FUEL_GAUGE #define DT_DRV_COMPAT sbs_sbs_gauge_new_api #else #define DT_DRV_COMPAT sbs_sbs_gauge #endif /* CONFIG_FUEL_GAUGE */ #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(sbs_sbs_gauge); #include <stdbool.h> #include...
/content/code_sandbox/drivers/fuel_gauge/sbs_gauge/emul_sbs_gauge.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,069
```c /* * */ #include <zephyr/arch/arm64/arm-smccc.h> #include <zephyr/drivers/tee.h> #include <zephyr/logging/log.h> #include <zephyr/sys/bitarray.h> #include <zephyr/sys/dlist.h> #include "optee_msg.h" #include "optee_rpc_cmd.h" #include "optee_smc.h" LOG_MODULE_REGISTER(optee); #define DT_DRV_COMPAT linaro_opte...
/content/code_sandbox/drivers/tee/optee/optee.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9,394
```unknown # Keep this Kconfig separate from the fuel_gauge/sbs_gauge Kconfig so it may be shared with the # sensor/sbs_gauge Kconfig. config EMUL_SBS_GAUGE bool "Emulate an SBS 1.1 compliant smart battery fuel gauge" default y depends on EMUL depends on SBS_GAUGE_NEW_API || SBS_GAUGE help It provides reading...
/content/code_sandbox/drivers/fuel_gauge/sbs_gauge/Kconfig.emul_sbs_gauge
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
115
```unknown config SBS_GAUGE_NEW_API bool "Smart Battery Fuel Gauge" default y depends on DT_HAS_SBS_SBS_GAUGE_NEW_API_ENABLED select I2C help Enable I2C-based/SMBus-based driver for a Smart Battery Fuel Gauge. rsource "Kconfig.emul_sbs_gauge" ```
/content/code_sandbox/drivers/fuel_gauge/sbs_gauge/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
74
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_SENSOR_SBS_GAUGE_H_ #define ZEPHYR_DRIVERS_SENSOR_SBS_GAUGE_H_ #include <stdint.h> #include <zephyr/drivers/i2c.h> /** Standard Commands */ #define SBS_GAUGE_CMD_MANUFACTURER_ACCESS 0x00 /* ManufacturerAccess */ #define SBS_GAUGE_CMD_REM_CAPACITY_ALARM 0x01 /* Low...
/content/code_sandbox/drivers/fuel_gauge/sbs_gauge/sbs_gauge.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
989
```c /* * * * Emulator for bq27z746 fuel gauge */ #include <string.h> #define DT_DRV_COMPAT ti_bq27z746 #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(EMUL_BQ27Z746); #include <zephyr/device.h> #include <zephyr/drivers/emul.h> #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/i2c_emul.h> #include <ze...
/content/code_sandbox/drivers/fuel_gauge/bq27z746/emul_bq27z746.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,757
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_FUELGAUGE_BQ27Z746_GAUGE_H_ #define ZEPHYR_DRIVERS_FUELGAUGE_BQ27Z746_GAUGE_H_ #include <zephyr/drivers/i2c.h> /* Registers */ #define BQ27Z746_MANUFACTURERACCESS 0x00 /* R/W */ #define BQ27Z746_ATRATE 0x02 /* R/W, Unit: mA, Range: -32768..32767 */ #d...
/content/code_sandbox/drivers/fuel_gauge/bq27z746/bq27z746.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,947
```unknown # config BQ27Z746 bool "BQ27Z746 Fuel Gauge" default y depends on DT_HAS_TI_BQ27Z746_ENABLED select I2C help Enable I2C-based driver for BQ27Z746 Fuel Gauge. config EMUL_BQ27Z746 bool "Emulate an BQ27Z746 fuel gague" default y depends on EMUL depends on BQ27Z746 help It provides readings wh...
/content/code_sandbox/drivers/fuel_gauge/bq27z746/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
126
```c /* * */ #define DT_DRV_COMPAT ti_bq27z746 #include "bq27z746.h" #include <zephyr/kernel.h> #include <zephyr/drivers/fuel_gauge.h> #include <zephyr/drivers/i2c.h> #include <zephyr/sys/byteorder.h> #include <zephyr/logging/log.h> #include <string.h> LOG_MODULE_REGISTER(BQ27Z746); #define BQ27Z746_MAC_DATA_LEN...
/content/code_sandbox/drivers/fuel_gauge/bq27z746/bq27z746.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,592
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_SENSOR_MAX17048_MAX17048_H_ #define ZEPHYR_DRIVERS_SENSOR_MAX17048_MAX17048_H_ #include <zephyr/drivers/i2c.h> #define REGISTER_VCELL 0x02 #define REGISTER_SOC 0x04 #define REGISTER_MODE 0x06 #define REGISTER_VERSION 0x08 #define REGISTER_HIBRT ...
/content/code_sandbox/drivers/fuel_gauge/max17048/max17048.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
229
```c /* max17048.c - Driver for max17048 battery fuel gauge */ /* * */ #define DT_DRV_COMPAT maxim_max17048 #include "max17048.h" #include <zephyr/drivers/fuel_gauge.h> #include <zephyr/kernel.h> #include <zephyr/init.h> #include <zephyr/drivers/gpio.h> #include <zephyr/pm/device.h> #include <zephyr/sys/byteorder...
/content/code_sandbox/drivers/fuel_gauge/max17048/max17048.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,157
```c /* * * * Emulator for max17048 fuel gauge */ #define DT_DRV_COMPAT maxim_max17048 #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(maxim_max17048); #include <zephyr/device.h> #include <zephyr/drivers/emul.h> #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/i2c_emul.h> #include <zephyr/sys/byteo...
/content/code_sandbox/drivers/fuel_gauge/max17048/emul_max17048.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
998
```unknown config AUDIO_TLV320DAC bool "TLV320DAC310x DAC support" default y depends on DT_HAS_TI_TLV320DAC_ENABLED select I2C depends on GPIO help Enable TLV320DAC support on the selected board ```
/content/code_sandbox/drivers/audio/Kconfig.tlv320dac
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
59
```unknown config AUDIO_MPXXDTYY bool "ST Digital PDM microphone attached to I2S support" default y depends on DT_HAS_ST_MPXXDTYY_ENABLED select I2S select HAS_STLIB help Enable MPXXDTYY microphone support on the selected board ```
/content/code_sandbox/drivers/audio/Kconfig.mpxxdtyy
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
63
```unknown # MAX17048 Li-Ion battery fuel gauge config MAX17048 bool "MAX17048 Li-Po fuel gauge" default y depends on DT_HAS_MAXIM_MAX17048_ENABLED select I2C help Enable driver for the MAX17048 fuel gauge device. config EMUL_MAX17048 bool "Emulate an MAX17048 fuel gague" default y depends on EMUL depen...
/content/code_sandbox/drivers/fuel_gauge/max17048/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
124
```c /* * */ #define DT_DRV_COMPAT st_mpxxdtyy #include <zephyr/devicetree.h> #include "mpxxdtyy.h" #define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(mpxxdtyy); #define CHANNEL_MASK 0x55 static uint8_t ch_demux[128] = { 0x00, 0x01, 0x00, 0x01, 0x02, 0x03, 0x02, ...
/content/code_sandbox/drivers/audio/mpxxdtyy.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,082
```unknown config AUDIO_DMIC_MCUX bool "DMIC driver for MCUX" default y depends on DT_HAS_NXP_DMIC_ENABLED select DMA help Enable support for DMIC on NXP MCUX SoC's if AUDIO_DMIC_MCUX config DMIC_MCUX_DMA_BUFFERS int "Number of buffers to reserve for DMIC DMA" default 2 range 2 16 help This determines...
/content/code_sandbox/drivers/audio/Kconfig.dmic_mcux
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
225
```unknown config AUDIO_DMIC_NRFX_PDM bool "nRF PDM nrfx driver" default y depends on DT_HAS_NORDIC_NRF_PDM_ENABLED select NRFX_PDM select PINCTRL help Enable support for nrfx PDM driver for nRF MCU series. ```
/content/code_sandbox/drivers/audio/Kconfig.dmic_pdm_nrfx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
67
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_AUDIO_TAS6422DAC_H_ #define ZEPHYR_DRIVERS_AUDIO_TAS6422DAC_H_ #include <zephyr/sys/util_macro.h> #ifdef __cplusplus extern "C" { #endif /* Mode Control Register */ #define MODE_CTRL_ADDR 0x00 #define MODE_CTRL_RESET BIT(7) #define MODE_CTRL_RESET_MASK ...
/content/code_sandbox/drivers/audio/tas6422dac.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,261
```c /* * */ #define DT_DRV_COMPAT ti_tas6422dac #include <zephyr/device.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/audio/codec.h> #include "tas6422dac.h" #define LOG_LEVEL CONFIG_AUDIO_CODEC_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(tas6422dac); #def...
/content/code_sandbox/drivers/audio/tas6422dac.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,070
```c /* * */ #define DT_DRV_COMPAT st_mpxxdtyy #include "mpxxdtyy.h" #include <zephyr/drivers/i2s.h> #define LOG_LEVEL CONFIG_AUDIO_DMIC_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_DECLARE(mpxxdtyy); #if DT_ANY_INST_ON_BUS_STATUS_OKAY(i2s) #define NUM_RX_BLOCKS 4 #define PDM_BLOCK_MAX_SIZE_BYTES 512 ...
/content/code_sandbox/drivers/audio/mpxxdtyy-i2s.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,133
```c /* * * based on dmic_nrfx_pdm.c * */ #include <zephyr/drivers/dma.h> #include <zephyr/audio/dmic.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/timer/system_timer.h> #include <zephyr/drivers/clock_control.h> #include <soc.h> #include <fsl_dmic.h> #include <zephyr/logging/log.h> #include <ze...
/content/code_sandbox/drivers/audio/dmic_mcux.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,766
```c /* * */ #include <stdlib.h> #include <zephyr/shell/shell.h> #include <zephyr/audio/codec.h> #define CODEC_START_HELP \ "Start output audio playback. Syntax:\n" \ "<device>" #define COD...
/content/code_sandbox/drivers/audio/codec_shell.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,265
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_AUDIO_TLV320DAC310X_H_ #define ZEPHYR_DRIVERS_AUDIO_TLV320DAC310X_H_ #ifdef __cplusplus extern "C" { #endif /* Register addresses */ #define PAGE_CONTROL_ADDR 0 /* Register addresses {page, address} and fields */ #define SOFT_RESET_ADDR (struct reg_addr){0, 1} #defin...
/content/code_sandbox/drivers/audio/tlv320dac310x.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,554
```unknown config AUDIO_TAS6422DAC bool "TAS6422 audio amplifier support" default y depends on DT_HAS_TI_TAS6422DAC_ENABLED select I2C depends on GPIO help Enable TAS6422 support on the selected board ```
/content/code_sandbox/drivers/audio/Kconfig.tas6422dac
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
59
```objective-c /* * */ #ifndef MPXXDTYY_H #define MPXXDTYY_H #include <zephyr/audio/dmic.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include "OpenPDMFilter.h" #ifdef __cplusplus extern "C" { #endif #define MPXXDTYY_MIN_PDM_FREQ 1200000 /* 1.2MHz */ #define MPXXDTYY_MAX_PDM_FREQ 3250000 /* 3.25MHz ...
/content/code_sandbox/drivers/audio/mpxxdtyy.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
351
```unknown # Audio Codec configuration options menuconfig AUDIO bool "Audio drivers" help Enable support for Audio if AUDIO # # Audio Codec options # menuconfig AUDIO_CODEC bool "Audio Codec Drivers" help Enable Audio Codec Driver Configuration if AUDIO_CODEC config AUDIO_CODEC_INIT_PRIORITY int "Init p...
/content/code_sandbox/drivers/audio/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
295
```c /* * */ #define DT_DRV_COMPAT ti_tlv320dac #include <errno.h> #include <zephyr/sys/util.h> #include <zephyr/device.h> #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/gpio.h> #include <zephyr/sys/util.h> #include <zephyr/audio/codec.h> #include "tlv320dac310x.h" #define LOG_LEVEL CONFIG_AUDIO_CODEC_...
/content/code_sandbox/drivers/audio/tlv320dac310x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,304
```c /* * */ #include <zephyr/internal/syscall_handler.h> #include <zephyr/drivers/ptp_clock.h> #ifdef CONFIG_USERSPACE int z_vrfy_ptp_clock_get(const struct device *dev, struct net_ptp_time *tm) { struct net_ptp_time ptp_time; int ret; K_OOPS(K_SYSCALL_DRIVER_PTP_CLOCK(dev, get)); K_OOPS(K_SYSCALL_MEMORY_...
/content/code_sandbox/drivers/ptp_clock/ptp_clock.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
195
```c /* * */ #include <zephyr/audio/dmic.h> #include <zephyr/drivers/clock_control/nrf_clock_control.h> #include <zephyr/drivers/pinctrl.h> #include <soc.h> #include <nrfx_pdm.h> #include <zephyr/logging/log.h> #include <zephyr/irq.h> LOG_MODULE_REGISTER(dmic_nrfx_pdm, CONFIG_AUDIO_DMIC_LOG_LEVEL); struct dmic_nrf...
/content/code_sandbox/drivers/audio/dmic_nrfx_pdm.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,805
```unknown config PTP_CLOCK_NXP_ENET bool "NXP ENET PTP Clock driver" default y depends on DT_HAS_NXP_ENET_PTP_CLOCK_ENABLED && NET_L2_PTP depends on ETH_NXP_ENET help Enable NXP ENET PTP clock support. ```
/content/code_sandbox/drivers/ptp_clock/Kconfig.nxp_enet
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
67
```unknown config PTP_CLOCK bool "Precision Time Protocol (PTP) Clock drivers" help Enable options for Precision Time Protocol Clock drivers. if PTP_CLOCK source "drivers/ptp_clock/Kconfig.nxp_enet" config PTP_CLOCK_INIT_PRIORITY int "Init priority" default 75 help PTP Clock device driver initialization ...
/content/code_sandbox/drivers/ptp_clock/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
83
```unknown # Atmel SAM flash driver config config SOC_FLASH_SAM bool "Atmel SAM flash driver" default y depends on DT_HAS_ATMEL_SAM_FLASH_CONTROLLER_ENABLED select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_EXPLICIT_ERASE select MPU_ALLOW_FLASH_WRITE if ARM_MPU help Enable the A...
/content/code_sandbox/drivers/flash/Kconfig.sam
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
83
```c /* * * Based on a commit to drivers/ethernet/eth_mcux.c which was: * */ #define DT_DRV_COMPAT nxp_enet_ptp_clock #include <zephyr/drivers/ptp_clock.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/clock_control.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/e...
/content/code_sandbox/drivers/ptp_clock/ptp_clock_nxp_enet.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,242
```unknown # NUMAKER GPIO driver configuration options config SOC_FLASH_NUMAKER_RMC bool "Nuvoton NuMaker MCU embedded RRAM memory controller" default y select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_NO_EXPLICIT_ERASE select HAS_NUMAKER_RMC depends on DT_HAS_NUVOTON_NUMAKER_RMC_E...
/content/code_sandbox/drivers/flash/Kconfig.numaker_rmc
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
112
```c /* * */ #define LOG_DOMAIN flash_stm32g4 #define LOG_LEVEL CONFIG_FLASH_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(LOG_DOMAIN); #include <zephyr/kernel.h> #include <zephyr/device.h> #include <string.h> #include <zephyr/drivers/flash.h> #include <zephyr/sys/barrier.h> #include <zephyr/init.h>...
/content/code_sandbox/drivers/flash/flash_stm32g4x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,861
```unknown config SOC_FLASH_MCUX bool "MCUX flash shim driver" default y depends on DT_HAS_NXP_KINETIS_FTFA_ENABLED || \ DT_HAS_NXP_KINETIS_FTFE_ENABLED || \ DT_HAS_NXP_KINETIS_FTFL_ENABLED || \ DT_HAS_NXP_IAP_FMC55_ENABLED || \ DT_HAS_NXP_IAP_FMC553_ENABLED || \ DT_HAS_NXP_IAP_MSF1_ENABLED...
/content/code_sandbox/drivers/flash/Kconfig.mcux
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
874
```unknown # Kconfig Andes QSPI-NOR configuration options # # # menuconfig FLASH_ANDES_QSPI bool "Andes FLASH driver" default y depends on DT_HAS_ANDESTECH_QSPI_NOR_ENABLED select FLASH_HAS_PAGE_LAYOUT select FLASH_JESD216 select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_EXPLICIT_ERASE depends on !SPI_NOR hel...
/content/code_sandbox/drivers/flash/Kconfig.andes
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
384
```unknown # STM32 xSPI flash driver configuration options DT_STM32_XSPI_1_HAS_DMA := $(dt_nodelabel_has_prop,xspi1,dmas) DT_STM32_XSPI_2_HAS_DMA := $(dt_nodelabel_has_prop,xspi2,dmas) config FLASH_STM32_XSPI bool "STM32 XSPI Flash driver" default y depends on DT_HAS_ST_STM32_XSPI_ENABLED && DT_HAS_ST_STM32_XSPI_...
/content/code_sandbox/drivers/flash/Kconfig.stm32_xspi
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
277
```unknown config FLASH_AMBIQ bool "Ambiq flash driver on MRAM or flash" default y depends on DT_HAS_AMBIQ_FLASH_CONTROLLER_ENABLED select AMBIQ_HAL select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_NO_EXPLICIT_ERASE if SOC_SERIES_APOLLO4X select FLASH_HAS_EXPLICIT_ERASE if SOC_SERI...
/content/code_sandbox/drivers/flash/Kconfig.ambiq
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
119
```c /* * */ #define LOG_DOMAIN flash_stm32wba #define LOG_LEVEL CONFIG_FLASH_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(LOG_DOMAIN); #include <zephyr/kernel.h> #include <zephyr/device.h> #include <string.h> #include <zephyr/drivers/flash.h> #include <zephyr/init.h> #include <soc.h> #include <stm...
/content/code_sandbox/drivers/flash/flash_stm32wbax.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,970
```c /* * */ #define LOG_DOMAIN flash_stm32l4 #define LOG_LEVEL CONFIG_FLASH_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(LOG_DOMAIN); #include <zephyr/kernel.h> #include <zephyr/device.h> #include <string.h> #include <zephyr/drivers/flash.h> #include <zephyr/sys/barrier.h> #include <zephyr/init.h>...
/content/code_sandbox/drivers/flash/flash_stm32l4x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,490
```c /* * * This driver is heavily inspired from the spi_flash_w25qxxdv.c SPI NOR driver. * */ #define DT_DRV_COMPAT jedec_spi_nor #include <errno.h> #include <zephyr/drivers/flash.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/spi.h> #include <zephyr/init.h> #include <string.h> #include <zephyr/log...
/content/code_sandbox/drivers/flash/spi_nor.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
13,587
```c /* * */ #include <zephyr/kernel.h> #include <zephyr/device.h> #include <string.h> #include <zephyr/drivers/flash.h> #include <zephyr/init.h> #include <zephyr/sys/barrier.h> #include <soc.h> #include "flash_stm32.h" bool flash_stm32_valid_range(const struct device *dev, off_t offset, uint32_t len, ...
/content/code_sandbox/drivers/flash/flash_stm32f7x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,215
```unknown config SOC_FLASH_NIOS2_QSPI bool "Nios-II QSPI flash driver" default y depends on HAS_ALTERA_HAL depends on DT_HAS_ALTR_NIOS2_QSPI_NOR_ENABLED select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_EXPLICIT_ERASE help Enables the Nios-II QSPI flash driver. ```
/content/code_sandbox/drivers/flash/Kconfig.nios2_qspi
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
76
```c /* * */ #include "flash_gd32.h" #include <zephyr/logging/log.h> #include <zephyr/kernel.h> #include <gd32_fmc.h> LOG_MODULE_DECLARE(flash_gd32); #define GD32_NV_FLASH_V3_NODE DT_INST(0, gd_gd32_nv_flash_v3) #define GD32_NV_FLASH_V3_TIMEOUT DT_PROP(GD32_NV_FLASH_V3_NODE, max_erase_time_ms) /** * @brief GD3...
/content/code_sandbox/drivers/flash/flash_gd32_v3.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,016
```unknown config FLASH_CAD_QSPI_NOR bool "Cadence Quad SPI Flash driver" default y depends on DT_HAS_CDNS_QSPI_NOR_ENABLED select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_EXPLICIT_ERASE help Enable Cadence QSPI-NOR support. if FLASH_CAD_QSPI_NOR config CAD_QSPI_MICRON_N25Q_SU...
/content/code_sandbox/drivers/flash/Kconfig.cadence_qspi_nor
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
291
```c /* * */ #include <errno.h> #include <stdint.h> #include <stddef.h> #include <zephyr/device.h> #include <zephyr/drivers/flash.h> #include <zephyr/logging/log.h> #include <zephyr/irq.h> #include <zephyr/toolchain.h> #include <hardware/flash.h> #include <hardware/regs/io_qspi.h> #include <hardware/regs/pads_qspi...
/content/code_sandbox/drivers/flash/flash_rpi_pico.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,261
```c /* * */ #define DT_DRV_COMPAT renesas_smartbond_flash_controller #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) #define QSPIF_NODE DT_NODELABEL(qspif) #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/flash.h> #include ...
/content/code_sandbox/drivers/flash/flash_smartbond.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,894
```c /* * */ #define DT_DRV_COMPAT ite_it8xxx2_flash_controller #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) #define FLASH_WRITE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, write_block_size) #define FLASH_ERASE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) #include <string.h> #include <zephyr/device.h> #include...
/content/code_sandbox/drivers/flash/flash_ite_it8xxx2.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,301
```c /* * */ /* * This driver defines a page as the erase_block_size. * This driver defines a write page as defined by the flash controller * This driver defines a section as a contiguous array of bytes * This driver defines an area as the entire flash area * This driver defines the write block size as the mini...
/content/code_sandbox/drivers/flash/flash_sam.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,760
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_FLASH_NPCX_FIU_QSPI_H_ #define ZEPHYR_DRIVERS_FLASH_NPCX_FIU_QSPI_H_ #include <zephyr/device.h> #include "jesd216.h" #ifdef __cplusplus extern "C" { #endif /* UMA operation flags */ #define NPCX_UMA_ACCESS_WRITE BIT(0) #define NPCX_UMA_ACCESS_READ BIT(1) #define NPCX...
/content/code_sandbox/drivers/flash/flash_npcx_fiu_qspi.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
635
```unknown # Silicon Labs Gecko flash driver config config SOC_FLASH_GECKO bool "Silicon Labs Gecko flash driver" default y depends on DT_HAS_SILABS_GECKO_FLASH_CONTROLLER_ENABLED select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_PAGE_LAYOUT select SOC_GECKO_MSC select FLASH_HAS_EXPLICIT_ERASE select MPU_ALLOW...
/content/code_sandbox/drivers/flash/Kconfig.gecko
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
93
```c /* * */ #define DT_DRV_COMPAT silabs_gecko_flash_controller #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) #include <stddef.h> #include <string.h> #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <em_msc.h> #include <zephyr/drivers/flash.h> #include <soc.h> #define LOG_LEV...
/content/code_sandbox/drivers/flash/flash_gecko.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,338
```unknown config SOC_FLASH_CC13XX_CC26XX bool "TI SimpleLink CC13xx/CC26xx flash controller driver" default y depends on DT_HAS_TI_CC13XX_CC26XX_FLASH_CONTROLLER_ENABLED select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_EXPLICIT_ERASE select MPU_ALLOW_FLASH_WRITE if ARM_MPU help ...
/content/code_sandbox/drivers/flash/Kconfig.cc13xx_cc26xx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
95
```unknown # ST Microelectronics STM32 MCUs Flash driver config config STM32_MEMMAP bool "NOR Flash in MemoryMapped for XiP" depends on XIP && \ (DT_HAS_ST_STM32_OSPI_NOR_ENABLED || \ DT_HAS_ST_STM32_QSPI_NOR_ENABLED || \ DT_HAS_ST_STM32_XSPI_NOR_ENABLED) help This option enables the XIP mod...
/content/code_sandbox/drivers/flash/Kconfig.stm32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
636
```c /* * * * Part of flash simulator which interacts with the host OS * * When building for the native simulator, this file is built in the * native simulator runner/host context, and not in Zephyr/embedded context. */ #undef _POSIX_C_SOURCE /* Note: This is used only for interaction with the host C library, a...
/content/code_sandbox/drivers/flash/flash_simulator_native.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
881
```c /* * */ #define DT_DRV_COMPAT st_stm32_ospi_nor #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/toolchain.h> #include <zephyr/arch/common/ffs.h> #include <zephyr/sys/util.h> #include <soc.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/clock_control/stm32_clock_control.h> #includ...
/content/code_sandbox/drivers/flash/flash_stm32_ospi.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
24,282
```c /* * */ #define DT_DRV_COMPAT openisa_rv32m1_ftfe #define SOC_NV_FLASH_NODE DT_INST(0, soc_nv_flash) #include <zephyr/kernel.h> #include <zephyr/device.h> #include <string.h> #include <zephyr/drivers/flash.h> #include <errno.h> #include <zephyr/init.h> #include <soc.h> #include "flash_priv.h" #include "fsl_co...
/content/code_sandbox/drivers/flash/soc_flash_rv32m1.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,015
```unknown config FLASH_NXP_S32_QSPI_NOR bool "NXP S32 QSPI NOR driver" default y depends on DT_HAS_NXP_S32_QSPI_NOR_ENABLED select MEMC select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_JESD216 select FLASH_HAS_EXPLICIT_ERASE help Enable the Flash driver for a NOR Serial Flash Memo...
/content/code_sandbox/drivers/flash/Kconfig.nxp_s32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
482
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_FLASH_OSPI_STM32_H_ #define ZEPHYR_DRIVERS_FLASH_OSPI_STM32_H_ #if defined(CONFIG_SOC_SERIES_STM32H5X) #define NbData DataLength #define AddressSize AddressWidth #define InstructionDtrMode InstructionDTRMode #define AddressDtrMode AddressDTRMode #define DataDtrMode Dat...
/content/code_sandbox/drivers/flash/flash_stm32_ospi.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,269
```c /* * */ #include <sys/types.h> #include <zephyr/device.h> #include <zephyr/drivers/flash/stm32_flash_api_extensions.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> #ifdef CONFIG_USERSPACE #include <zephyr/syscall.h> #include <zephyr/internal/syscall_handler.h> #endif #include <soc.h> #include "f...
/content/code_sandbox/drivers/flash/flash_stm32_ex_op.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,542
```unknown config FLASH_NRF_FORCE_ALT bool depends on SOC_COMPATIBLE_NRF help This option can be enabled to force an alternative implementation of the flash driver. menuconfig SOC_FLASH_NRF bool "Nordic Semiconductor nRF flash driver" default y depends on DT_HAS_NORDIC_NRF51_FLASH_CONTROLLER_ENABLED || \ ...
/content/code_sandbox/drivers/flash/Kconfig.nrf
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
786
```c /* * */ #define DT_DRV_COMPAT nuvoton_numaker_rmc #include <string.h> #include <errno.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/flash.h> #include <zephyr/logging/log.h> #include "flash_priv.h" #include <NuMicro.h> LOG_MODULE_REGISTER(flash_numaker_rmc, CONFIG_FLASH_LOG_...
/content/code_sandbox/drivers/flash/soc_flash_numaker_rmc.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,780
```unknown config SOC_FLASH_ESP32 bool "Espressif ESP32 flash driver" default y depends on DT_HAS_ESPRESSIF_ESP32_FLASH_CONTROLLER_ENABLED select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_EXPLICIT_ERASE help Enable ESP32 internal flash driver. config MPU_ALLOW_FLASH_WRITE bool ...
/content/code_sandbox/drivers/flash/Kconfig.esp32
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
98
```c /* * */ #define DT_DRV_COMPAT nxp_imx_flexspi_hyperflash #include <zephyr/kernel.h> #include <errno.h> #include <zephyr/drivers/flash.h> #include <zephyr/logging/log.h> /* * NOTE: If CONFIG_FLASH_MCUX_FLEXSPI_XIP is selected, Any external functions * called while interacting with the flexspi MUST be reloca...
/content/code_sandbox/drivers/flash/flash_mcux_flexspi_hyperflash.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
7,361
```unknown # Macro to find node in device tree DT_CHOSEN_CDNS_NAND_NODE := nand config FLASH_CDNS_NAND bool "Cadence NAND Flash driver" default y depends on DT_HAS_CDNS_NAND_ENABLED select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_EXPLICIT_ERASE help Enable Cadence NAND support....
/content/code_sandbox/drivers/flash/Kconfig.cadence_nand
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
329
```objective-c /* * */ #ifndef __SPI_NOR_H__ #define __SPI_NOR_H__ #include <zephyr/sys/util.h> #define SPI_NOR_MAX_ID_LEN 3 /* Status register bits */ #define SPI_NOR_WIP_BIT BIT(0) /* Write in progress */ #define SPI_NOR_WEL_BIT BIT(1) /* Write enable latch */ /* Flash opcodes */ #define SPI_...
/content/code_sandbox/drivers/flash/spi_nor.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,829
```c /* * */ #define DT_DRV_COMPAT nordic_rram_controller #include <string.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/flash.h> #include <zephyr/logging/log.h> #include <zephyr/irq.h> #include <zephyr/sys/barrier.h> #include <hal/nrf_rramc.h> #include <zephyr/../../drivers/fla...
/content/code_sandbox/drivers/flash/soc_flash_nrf_rram.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,498
```unknown # NUMAKER GPIO driver configuration options config SOC_FLASH_NUMAKER bool "Nuvoton NuMaker MCU flash driver" default y select FLASH_HAS_PAGE_LAYOUT select FLASH_HAS_DRIVER_ENABLED select FLASH_HAS_EXPLICIT_ERASE select HAS_NUMAKER_FMC depends on DT_HAS_NUVOTON_NUMAKER_FMC_ENABLED help This optio...
/content/code_sandbox/drivers/flash/Kconfig.numaker
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
106
```c /* * */ #define DT_DRV_COMPAT zephyr_sim_flash #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <zephyr/linker/devicetree_regions.h> #include <zephyr/drivers/flash.h> #include <zephyr/init.h> #include <zephyr/kernel.h> #include <zephyr/sys/util.h> #include <zephyr/random/random.h> #include <z...
/content/code_sandbox/drivers/flash/flash_simulator.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,799
```c /* * */ #define DT_DRV_COMPAT cdns_nand #include "socfpga_system_manager.h" #include <zephyr/device.h> #include <zephyr/drivers/flash.h> #include <zephyr/kernel.h> /* Check if reset property is defined */ #define CDNS_NAND_RESET_SUPPORT DT_ANY_INST_HAS_PROP_STATUS_OKAY(resets) #if CDNS_NAND_RESET_SUPPORT #in...
/content/code_sandbox/drivers/flash/flash_cadence_nand.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,250
```c /* * */ #define DT_DRV_COMPAT st_stm32h7_flash_controller #include <zephyr/sys/util.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <string.h> #include <zephyr/drivers/flash.h> #include <zephyr/init.h> #include <zephyr/sys/barrier.h> #include <soc.h> #if defined(CONFIG_SOC_SERIES_STM32H7RSX) ...
/content/code_sandbox/drivers/flash/flash_stm32h7x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,843
```c /* * */ #include <zephyr/drivers/flash.h> #include <zephyr/drivers/spi.h> #include <zephyr/pm/device.h> #include <zephyr/sys/byteorder.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(spi_flash_at45, CONFIG_FLASH_LOG_LEVEL); #define DT_DRV_COMPAT atmel_at45 /* AT45 commands used by this driver: */ /* -...
/content/code_sandbox/drivers/flash/spi_flash_at45.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,313