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 |
|---|---|---|---|---|---|---|---|---|
```unknown
&wdt0 {
/* uncomment to use Non-Maskable interrupt instead of the normal one */
/* interrupt-nmi; */
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/cc1352r1_launchxl.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 30 |
```unknown
/*
*
*/
/ {
aliases {
watchdog0 = &wwdg;
};
};
&rcc {
apb1-prescaler = <16>;
};
&wwdg {
status = "okay";
};
&iwdg {
status = "disabled";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/stm32_wwdg.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 56 |
```unknown
/*
*
*/
&wdt0 {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/xmc45_relax_kit.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
CONFIG_HEAP_MEM_POOL_SIZE=256
``` | /content/code_sandbox/samples/drivers/watchdog/boards/esp32_devkitc_wroom_procpu.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9 |
```unknown
/*
*
*/
&tco_wdt {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/intel_adl_rvp.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
/*
*
*/
/ {
aliases {
watchdog0 = &fwdgt;
};
};
&fwdgt {
status = "okay";
};
&wwdgt {
status = "disabled";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/gd32_fwdgt.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
/*
*
*/
/ {
aliases {
watchdog0 = &wwdgt;
};
};
&fwdgt {
status = "disabled";
};
&wwdgt {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/gd32_wwdgt.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 45 |
```unknown
/*
*
*/
/ {
aliases {
watchdog0 = &watchdog0;
};
};
&watchdog0 {
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL
IRQ_DEFAULT_PRIORITY>;
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/intel_socfpga_agilex5_socdk.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```unknown
/*
*/
&wdt31 {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/nrf54l15pdk_nrf54l15_cpuflpr.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 14 |
```restructuredtext
.. zephyr:code-sample:: display
:name: Display
:relevant-api: display_interface
Draw basic rectangles on a display device.
Overview
********
This sample will draw some basic rectangles onto the display.
The rectangle colors and positions are chosen so that you can check the
orientation o... | /content/code_sandbox/samples/drivers/display/README.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 389 |
```unknown
/*
*
*/
&tco_wdt {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/watchdog/boards/intel_adl_crb.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_LOG=y
CONFIG_DISPLAY=y
``` | /content/code_sandbox/samples/drivers/display/prj.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 18 |
```unknown
/*
*
*/
/ {
chosen {
zephyr,display = &dummy_dc;
};
dummy_dc: dummy_dc {
compatible = "zephyr,dummy-dc";
height = <240>;
width = <320>;
};
};
``` | /content/code_sandbox/samples/drivers/display/dummy_dc.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 57 |
```yaml
sample:
description: Sample application for displays
name: display_sample
tests:
sample.display.shield.adafruit_2_8_tft_touch_v2:
depends_on:
- arduino_gpio
- arduino_i2c
- arduino_spi
platform_exclude:
- reel_board
- reel_board@2
- ubx_evkannab1/nrf52832
... | /content/code_sandbox/samples/drivers/display/sample.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,557 |
```unknown
#
#
#
# Sample will allocate buffer equal to: (panelwidth / 8) * (panelwidth / 4) * pixel depth. For a
# 1280x720 display in a 32-bpp format (e.g. ARGB8888), this is (720 / 8) * (720 / 4) * 4 = 64800
# bytes. We include 128 bytes of padding for kernel heap structures
CONFIG_HEAP_MEM_POOL_SIZE=64928
``` | /content/code_sandbox/samples/drivers/display/boards/mimxrt1170_evkb_cm7.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```unknown
#
#
#
# Sample will allocate buffer equal to: (panelwidth / 8) * (panelwidth / 4) * pixel depth. For a
# 1280x720 display in a 32-bpp format (e.g. ARGB8888), this is (720 / 8) * (720 / 4) * 4 = 64800
# bytes. We include 128 bytes of padding for kernel heap structures
CONFIG_HEAP_MEM_POOL_SIZE=64928
``` | /content/code_sandbox/samples/drivers/display/boards/mimxrt1170_evk_mimxrt1176_cm7_A.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```unknown
#
#
#
CONFIG_HEAP_MEM_POOL_SIZE=64928
``` | /content/code_sandbox/samples/drivers/display/boards/mimxrt1170_evk_mimxrt1176_cm7_B.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 13 |
```c
/*
*
* Based on ST7789V sample:
*
*/
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(sample, LOG_LEVEL_INF);
#include <zephyr/kernel.h>
#include <zephyr/device.h>
#include <zephyr/drivers/display.h>
#ifdef CONFIG_ARCH_POSIX
#include "posix_board_if.h"
#endif
enum corner {
TOP_LEFT,
TOP_RIGHT,
BOTTOM... | /content/code_sandbox/samples/drivers/display/src/main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 2,325 |
```unknown
#
#
#
# Sample will allocate buffer equal to: (panelwidth / 8) * (panelwidth / 4) * pixel depth. For a
# 1280x720 display in a 32-bpp format (e.g. ARGB8888), this is (720 / 8) * (720 / 4) * 4 = 64800
# bytes. We include 128 bytes of padding for kernel heap structures
CONFIG_HEAP_MEM_POOL_SIZE=64928
``` | /content/code_sandbox/samples/drivers/display/boards/mimxrt595_evk_mimxrt595s_cm33.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 104 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SAMPLES_DRIVERS_LED_WS2812_H_
#define ZEPHYR_SAMPLES_DRIVERS_LED_WS2812_H_
/*
* At 4 MHz, 1 bit is 250 ns, so 3 bits is 750 ns.
*
* That's cutting it a bit close to the edge of the timing parameters,
* but it seems to work on AdaFruit LED rings.
*/
#define SPI_FREQ 4000... | /content/code_sandbox/samples/drivers/led_strip/nrf52-bindings.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 116 |
```restructuredtext
.. zephyr:code-sample:: led-strip
:name: LED strip
:relevant-api: led_strip_interface
Control an LED strip example.
Overview
********
This sample application demonstrates basic usage of the LED strip.
Requirements
************
Zephyr supports various LED strip chips. For example,
- WS... | /content/code_sandbox/samples/drivers/led_strip/README.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 868 |
```objective-c
/*
*
*/
#ifndef ZEPHYR_SAMPLES_DRIVERS_LED_WS2812_F070RB_BINDINGS_H
#define ZEPHYR_SAMPLES_DRIVERS_LED_WS2812_F070RB_BINDINGS_H
/*
* Everlight B1414 LED controller;
*
* Each bit of the control signal (waveform) is described with a 1.2 us pulse:
* 0 bit: 300 ns high and 900 ns low.
* 1 bit: 900 n... | /content/code_sandbox/samples/drivers/led_strip/f070rb-bindings.h | objective-c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 202 |
```unknown
menu "WS2812 Sample Configuration"
config SAMPLE_LED_UPDATE_DELAY
int "Delay between LED updates in ms"
default 50
help
Delay between LED updates in ms.
endmenu
source "Kconfig.zephyr"
``` | /content/code_sandbox/samples/drivers/led_strip/Kconfig | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 50 |
```unknown
CONFIG_LOG=y
CONFIG_LED_STRIP=y
CONFIG_LED_STRIP_LOG_LEVEL_DBG=y
``` | /content/code_sandbox/samples/drivers/led_strip/prj.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 18 |
```yaml
sample:
description: Demonstration of the LED strip driver
name: LED strip sample
tests:
sample.drivers.led_strip:
tags: LED
filter: dt_alias_exists("led-strip")
harness_config:
fixture: fixture_led_strip
integration_platforms:
- mimxrt1050_evk
``` | /content/code_sandbox/samples/drivers/led_strip/sample.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 72 |
```unknown
/*
*
*/
/ {
led_pwr: led-pwr-ctrl {
compatible = "regulator-fixed";
regulator-name = "led-pwr-ctrl";
enable-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
regulator-boot-on;
};
};
``` | /content/code_sandbox/samples/drivers/led_strip/boards/blueclover_plt_demo_v2_nrf52832.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 63 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&lpspi3 {
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <6400000>;
/* WS2812 */
chain-length = <2>; /* arbitrary; change at will */
spi-cpha... | /content/code_sandbox/samples/drivers/led_strip/boards/mimxrt1050_evk_qspi.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 209 |
```c
/*
*
*/
#include <errno.h>
#include <string.h>
#define LOG_LEVEL 4
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(main);
#include <zephyr/kernel.h>
#include <zephyr/drivers/led_strip.h>
#include <zephyr/device.h>
#include <zephyr/drivers/spi.h>
#include <zephyr/sys/util.h>
#define STRIP_NODE DT_ALIAS(l... | /content/code_sandbox/samples/drivers/led_strip/src/main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 485 |
```unknown
#include <zephyr/dt-bindings/led/led.h>
/* Wiring:
* - M1.S connected to GND
* - SDOUT connected to M1.D
* - ~300 ohm resistor between M1.D and TP5 (5V / Vbus)
*/
&pinctrl {
i2s0_default_alt: i2s0_default_alt {
group1 {
psels = <NRF_PSEL(I2S_SCK_M, 0, 20)>,
<NRF_PSEL(I2S_LRCK_M, 0, 19)>,
... | /content/code_sandbox/samples/drivers/led_strip/boards/thingy52_nrf52832.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 318 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/led/led.h>
/ {
led_strip: ws2812 {
compatible = "worldsemi,ws2812-gpio";
chain-length = <16>; /* arbitrary; change at will */
color-mapping = <LED_COLOR_ID_GREEN
LED_COLOR_ID_RED
LED_COLOR_ID_BLUE>;
/* P0: ... | /content/code_sandbox/samples/drivers/led_strip/boards/bbc_microbit.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 131 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&arduino_spi {
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <4000000>;
frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
/* WS2812 */
chain... | /content/code_sandbox/samples/drivers/led_strip/boards/nucleo_l476rg.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 179 |
```unknown
CONFIG_SPI_STM32_INTERRUPT=y
``` | /content/code_sandbox/samples/drivers/led_strip/boards/96b_carbon_stm32f401xe.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/gpio/gpio.h>
#include <zephyr/dt-bindings/led/led.h>
/ {
led_strip: ws2812 {
compatible = "worldsemi,ws2812-gpio";
chain-length = <16>; /* arbitrary */
color-mapping = <LED_COLOR_ID_GREEN
LED_COLOR_ID_RED
LED_COLOR_ID_BLUE>;
/*
* Arduino D11 / P... | /content/code_sandbox/samples/drivers/led_strip/boards/nrf51dk_nrf51822.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 158 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
#include "../f070rb-bindings.h"
&spi1 { /* MOSI on PA7 */
dmas = <&dma1 3 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH)>,
<&dma1 2 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>;
dma-names = "tx", "rx";
led_strip: b1414@0 {
compatible = "everli... | /content/code_sandbox/samples/drivers/led_strip/boards/nucleo_f070rb.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 287 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&spi2 {
lpd8806: lpd8806@0 {
compatible = "greeled,lpd8806";
reg = <0>;
spi-max-frequency = <2000000>;
chain-length = <1>;
color-mapping = <LED_COLOR_ID_RED
LED_COLOR_ID_GREEN
LED_COLOR_ID_BLUE>;
};
};
/ {
aliases {
led-strip = &l... | /content/code_sandbox/samples/drivers/led_strip/boards/96b_carbon_stm32f401xe.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 118 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&spi2 {
/* Workaround to support WS2812 driver */
line-idle-low;
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <6400000>;
/* WS2812 */
chai... | /content/code_sandbox/samples/drivers/led_strip/boards/esp32c3_devkitm.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 262 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&spi1 {
apa102: apa102@0 {
compatible = "apa,apa102";
reg = <0>;
spi-max-frequency = <5250000>;
chain-length = <1>;
color-mapping = <LED_COLOR_ID_BLUE
LED_COLOR_ID_GREEN
LED_COLOR_ID_RED>;
};
};
/ {
aliases {
led-strip = &apa102;
... | /content/code_sandbox/samples/drivers/led_strip/boards/nucleo_l432kc.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 110 |
```unknown
CONFIG_GPIO=y
CONFIG_GPIO_HOGS=y
``` | /content/code_sandbox/samples/drivers/led_strip/boards/xiao_rp2040.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 12 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&lpspi3 {
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <6400000>;
/* WS2812 */
chain-length = <2>; /* arbitrary; change at will */
spi-cpha... | /content/code_sandbox/samples/drivers/led_strip/boards/mimxrt1050_evk.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 209 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&arduino_spi {
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <DT_FREQ_M(4)>;
frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
/* WS2812 */
... | /content/code_sandbox/samples/drivers/led_strip/boards/nucleo_h743zi.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 182 |
```unknown
CONFIG_SPI_STM32_DMA=y
``` | /content/code_sandbox/samples/drivers/led_strip/boards/nucleo_f070rb.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9 |
```unknown
# This driver only uses spi_write() with the SPIM instance it allocates,
# so PAN 58 doesn't matter, because the RX length is always 0.
CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y
``` | /content/code_sandbox/samples/drivers/led_strip/boards/nrf52dk_nrf52832.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 54 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&spi3 {
/* Workaround to support WS2812 driver */
line-idle-low;
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <6400000>;
/* WS2812 */
chai... | /content/code_sandbox/samples/drivers/led_strip/boards/esp32s2_saola.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 262 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&spi3 {
/* Workaround to support WS2812 driver */
line-idle-low;
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <6400000>;
/* WS2812 */
chai... | /content/code_sandbox/samples/drivers/led_strip/boards/esp32s3_devkitm_procpu.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 262 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
&arduino_spi {
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequency = <4000000>;
frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
/* WS2812 */
chain... | /content/code_sandbox/samples/drivers/led_strip/boards/nucleo_g071rb.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 179 |
```unknown
CONFIG_GPIO=y
CONFIG_GPIO_HOGS=y
``` | /content/code_sandbox/samples/drivers/led_strip/boards/adafruit_qt_py_rp2040.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 12 |
```unknown
/*
*
*/
#include <zephyr/dt-bindings/led/led.h>
#include "../nrf52-bindings.h"
&arduino_spi { /* MOSI on D11 / P0.23 */
compatible = "nordic,nrf-spim";
led_strip: ws2812@0 {
compatible = "worldsemi,ws2812-spi";
/* SPI */
reg = <0>; /* ignored, but necessary for SPI bindings */
spi-max-frequen... | /content/code_sandbox/samples/drivers/led_strip/boards/nrf52dk_nrf52832.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 195 |
```unknown
# Enable LED 5V Regulator
CONFIG_REGULATOR=y
``` | /content/code_sandbox/samples/drivers/led_strip/boards/blueclover_plt_demo_v2_nrf52832.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 15 |
```unknown
CONFIG_PM_DEVICE=y
``` | /content/code_sandbox/samples/drivers/spi_flash_at45/overlay-pm.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 7 |
```restructuredtext
.. zephyr:code-sample:: spi-flash-at45
:name: AT45 DataFlash driver
:relevant-api: flash_interface
Use the AT45 family DataFlash driver to interact with the flash memory over SPI.
Overview
********
This sample shows how to use the AT45 family DataFlash driver and how to
specify devicetre... | /content/code_sandbox/samples/drivers/spi_flash_at45/README.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 947 |
```unknown
#include <zephyr/dt-bindings/led/led.h>
&pinctrl {
i2s0_default_alt: i2s0_default_alt {
group1 {
/* Default I2S config for the nRF5340, P1.13 is the output */
psels = <NRF_PSEL(I2S_SCK_M, 1, 15)>,
<NRF_PSEL(I2S_LRCK_M, 1, 12)>,
<NRF_PSEL(I2S_SDOUT, 1, 13)>,
<NRF_PSEL(I2S_SDIN, 1, 14)>;
... | /content/code_sandbox/samples/drivers/led_strip/boards/nrf5340dk_nrf5340_cpuapp.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 290 |
```yaml
sample:
name: SPI Flash AT45 Sample
tests:
sample.drivers.spi.flash.at45.build:
tags:
- spi
- flash
depends_on: spi
filter: dt_compat_enabled("atmel,at45")
build_only: true
sample.drivers.spi.flash.at45.build.page_layout:
extra_args: OVERLAY_CONFIG="overlay-page_layout.conf... | /content/code_sandbox/samples/drivers/spi_flash_at45/sample.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 457 |
```unknown
CONFIG_FLASH_PAGE_LAYOUT=y
``` | /content/code_sandbox/samples/drivers/spi_flash_at45/overlay-page_layout.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 8 |
```unknown
CONFIG_STDOUT_CONSOLE=y
CONFIG_LOG=y
CONFIG_LOG_MODE_IMMEDIATE=y
CONFIG_SPI=y
CONFIG_FLASH=y
CONFIG_PM_DEVICE=y
``` | /content/code_sandbox/samples/drivers/spi_flash_at45/prj.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 31 |
```unknown
/*
*
*/
&pinctrl {
spi3_default_alt: spi3_default_alt {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 11)>,
<NRF_PSEL(SPIM_MOSI, 0, 12)>,
<NRF_PSEL(SPIM_MISO, 0, 13)>;
};
};
spi3_sleep_alt: spi3_sleep_alt {
group1 {
psels = <NRF_PSEL(SPIM_SCK, 0, 11)>,
<NRF_PSEL(SPIM_MOSI, 0, 12)>,
... | /content/code_sandbox/samples/drivers/spi_flash_at45/boards/nrf9160dk_nrf9160.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 517 |
```restructuredtext
.. zephyr:code-sample:: is31fl3194
:name: IS31FL3194 RGB LED
:relevant-api: led_interface
Cycle colors on an RGB LED connected to the IS31FL3194 using the LED API.
Overview
********
This sample cycles several colors on an RGB LED forever using the LED API.
Building and Running
*********... | /content/code_sandbox/samples/drivers/led_is31fl3194/README.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 234 |
```unknown
CONFIG_LED=y
CONFIG_LOG=y
``` | /content/code_sandbox/samples/drivers/led_is31fl3194/prj.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 9 |
```yaml
sample:
description: Demonstration of the IS31FL3194 LED driver
name: is31fl3194 sample
tests:
sample.drivers.led.is31fl3194:
filter: dt_compat_enabled("issi,is31fl3194")
tags: LED
depends_on: i2c
integration_platforms:
- arduino_nicla_sense_me
``` | /content/code_sandbox/samples/drivers/led_is31fl3194/sample.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 86 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/drivers/flash.h>
#include <zephyr/logging/log_ctrl.h>
#include <zephyr/pm/device.h>
/* Set to 1 to test the chip erase functionality. Please be aware that this
* operation takes quite a while (it depends on the chip size, but can easily
* take tens of secon... | /content/code_sandbox/samples/drivers/spi_flash_at45/src/main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,105 |
```c
/*
*
*/
#include <stdio.h>
#include <zephyr/kernel.h>
#include <zephyr/drivers/led.h>
/* 1000 msec = 1 sec */
#define SLEEP_TIME_MS 1000
/* Structure describing a color by its component values and name */
struct color_data {
uint8_t r, g, b;
const char *name;
};
/* The sequence of colors the RGB LED will... | /content/code_sandbox/samples/drivers/led_is31fl3194/src/main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 412 |
```unknown
&arduino_serial {
status = "okay";
w1: w1 {
compatible = "zephyr,w1-serial";
};
};
``` | /content/code_sandbox/samples/drivers/w1/scanner/w1_serial.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 32 |
```unknown
&arduino_i2c {
status = "okay";
w1@18 {
compatible = "maxim,ds2482-800";
reg = <0x18>;
#address-cells = <1>;
#size-cells = <0>;
w1: ch@0 {
compatible = "maxim,ds2482-800-channel";
reg = <0>;
};
};
};
``` | /content/code_sandbox/samples/drivers/w1/scanner/ds2482-800.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 94 |
```restructuredtext
.. zephyr:code-sample:: w1-scanner
:name: 1-Wire scanner
:relevant-api: w1_interface
Scan for 1-Wire devices and print their family ID and serial number.
Overview
********
This sample demonstrates how to scan for 1-Wire devices. It runs the 1-Wire
scan routine once and prints the family ... | /content/code_sandbox/samples/drivers/w1/scanner/README.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 356 |
```unknown
&arduino_i2c {
status = "okay";
w1: w1@40 {
compatible = "maxim,ds2485";
reg = <0x40>;
switching-threshold = "medium";
active-pull-threshold = "low";
weak-pullup = "1000";
};
};
``` | /content/code_sandbox/samples/drivers/w1/scanner/ds2485.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 73 |
```unknown
CONFIG_LOG=y
CONFIG_W1=y
``` | /content/code_sandbox/samples/drivers/w1/scanner/prj.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 10 |
```yaml
sample:
name: 1-Wire scanner sample
common:
harness: console
tests:
sample.drivers.w1.scanner.ds2482-800:
depends_on: arduino_i2c
extra_args: DTC_OVERLAY_FILE=ds2482-800.overlay
platform_allow: nrf52840dk/nrf52840
harness_config:
type: one_line
regex:
- "Number of dev... | /content/code_sandbox/samples/drivers/w1/scanner/sample.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 411 |
```unknown
&arduino_i2c {
status = "okay";
w1: w1@18 {
compatible = "maxim,ds2484";
reg = <0x18>;
};
};
``` | /content/code_sandbox/samples/drivers/w1/scanner/ds2484.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 43 |
```c
/*
*
*/
#include <zephyr/device.h>
#include <zephyr/devicetree.h>
#include <zephyr/drivers/w1.h>
#include <zephyr/logging/log.h>
LOG_MODULE_REGISTER(main, CONFIG_LOG_DEFAULT_LEVEL);
void w1_search_callback(struct w1_rom rom, void *user_data)
{
LOG_INF("Device found; family: 0x%02x, serial: 0x%016llx", rom.fa... | /content/code_sandbox/samples/drivers/w1/scanner/src/main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 190 |
```unknown
CONFIG_DAC=y
``` | /content/code_sandbox/samples/drivers/dac/prj.conf | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 5 |
```yaml
sample:
name: DAC driver sample
tests:
sample.drivers.dac:
tags: DAC
platform_allow:
- arduino_zero
- b_u585i_iot02a
- bl652_dvk
- bl653_dvk
- bl654_dvk
- bl5340_dvk/nrf5340/cpuapp
- disco_l475_iot1
- esp32_devkitc_wroom/esp32/procpu
- esp32_devk... | /content/code_sandbox/samples/drivers/dac/sample.yaml | yaml | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 466 |
```c
/*
*
*/
#include <zephyr/kernel.h>
#include <zephyr/sys/printk.h>
#include <zephyr/drivers/dac.h>
#define ZEPHYR_USER_NODE DT_PATH(zephyr_user)
#if (DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac) && \
DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac_channel_id) && \
DT_NODE_HAS_PROP(ZEPHYR_USER_NODE, dac_resolution))
#defin... | /content/code_sandbox/samples/drivers/dac/src/main.c | c | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 566 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_f091rc.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/*
*
*/
/ {
zephyr,user {
dac = <&dac>;
dac-channel-id = <0>;
dac-resolution = <8>;
};
};
&dac {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/dac/boards/esp32_devkitc_wroom_procpu.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 48 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_g431rb.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/*
*
*/
/ {
zephyr,user {
dac = <&dac0>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/lpcxpresso55s36.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 40 |
```unknown
/ {
zephyr,user {
dac = <&dacc>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/sam_v71_xult_samv71q21.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/*
*
*/
/ {
zephyr,user {
dac = <&dac>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/gd32a503v_eval.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 39 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_f767zi.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/b_u585i_iot02a.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_l073rz.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/*
*
*/
&dac0 {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/dac/boards/bl653_dvk.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 14 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/stm32f3_disco.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/*
*
*/
/ {
zephyr,user {
dac = <&dac>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/longan_nano_gd32vf103_lite.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 39 |
```unknown
/ {
zephyr,user {
dac = <&dacc>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/sam_e70_xplained_same70q21.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac0>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/twr_ke18f.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dacc>;
dac-channel-id = <0>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/sam_v71_xult_samv71q21b.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/stm32l562e_dk.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```restructuredtext
.. zephyr:code-sample:: dac
:name: Digital-to-Analog Converter (DAC)
:relevant-api: dac_interface
Generate an analog sawtooth signal using the DAC driver API.
Overview
********
This sample demonstrates how to use the :ref:`DAC driver API <dac_api>`.
Building and Running
****************... | /content/code_sandbox/samples/drivers/dac/README.rst | restructuredtext | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 1,773 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_wl55jc.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/disco_l475_iot1.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_g474re.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac0>;
dac-channel-id = <1>;
dac-resolution = <10>;
};
};
&dac0 {
nxp,conversion-rate = "500K";
nxp,output-voltage-range = "large";
};
``` | /content/code_sandbox/samples/drivers/dac/boards/frdm_rw612.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 62 |
```unknown
/*
*
*/
/ {
zephyr,user {
dac = <&dac>;
dac-channel-id = <0>;
dac-resolution = <8>;
};
};
&dac {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/dac/boards/esp32s2_saola.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 48 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/ronoth_lodev.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_l552ze_q.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac0>;
dac-channel-id = <0>;
dac-resolution = <10>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/arduino_zero.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_f429zi.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_f746zg.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/ {
zephyr,user {
dac = <&dac1>;
dac-channel-id = <1>;
dac-resolution = <12>;
};
};
``` | /content/code_sandbox/samples/drivers/dac/boards/nucleo_h743zi.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 37 |
```unknown
/*
*
*/
&dac0 {
status = "okay";
};
``` | /content/code_sandbox/samples/drivers/dac/boards/bl654_dvk.overlay | unknown | 2016-05-26T17:54:19 | 2024-08-16T18:09:06 | zephyr | zephyrproject-rtos/zephyr | 10,307 | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.