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> LOG_MODULE_REGISTER(ssd1306, CONFIG_DISPLAY_LOG_LEVEL); #include <string.h> #include <zephyr/device.h> #include <zephyr/init.h> #include <zephyr/drivers/display.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/spi.h> #include <...
/content/code_sandbox/drivers/display/ssd1306.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,256
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_NT35510_H_ #define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_NT35510_H_ /** * @name Controller registers * @{ */ /* NT35510 ID */ #define NT35510_ID 0x80U #define NT35510_CMD_NOP 0x00 /* NOP */ #define NT35510_CMD_SWRESET 0x01 /* SW reset */ #def...
/content/code_sandbox/drivers/display/display_nt35510.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,723
```c /* * */ #define DT_DRV_COMPAT nxp_dcnano_lcdif #include <zephyr/drivers/display.h> #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> #include <zephyr/irq.h> #include <fsl_lcdif.h> #ifdef CONFIG_HAS_MCUX_CACHE #include <fsl_cache.h> #endif LOG_MODULE_REGISTER(display...
/content/code_sandbox/drivers/display/display_mcux_dcnano_lcdif.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,341
```c /* * */ #define DT_DRV_COMPAT sitronix_st7796s #include <zephyr/device.h> #include <zephyr/drivers/display.h> #include <zephyr/sys/byteorder.h> #include <zephyr/drivers/mipi_dbi.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(display_st7796s, CONFIG_DISPLAY_LOG_LEVEL); #include "display_st7796s.h" /*...
/content/code_sandbox/drivers/display/display_st7796s.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,408
```objective-c /* * */ #ifndef ST7735R_DISPLAY_DRIVER_H__ #define ST7735R_DISPLAY_DRIVER_H__ #include <zephyr/kernel.h> #define ST7735R_CMD_SW_RESET 0x01 #define ST7735R_CMD_RDDID 0x04 #define ST7735R_CMD_RDDST 0x09 #define ST7735R_CMD_RDDPM 0x0A #define ST7735R_...
/content/code_sandbox/drivers/display/display_st7735r.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
859
```unknown config NT35510 bool "NT35510 display driver" default y depends on DT_HAS_FRIDA_NT35510_ENABLED select MIPI_DSI help Enable driver for NT35510 display driver. if NT35510 config DISPLAY_NT35510_INIT_PRIORITY int "Initialization priority" default DISPLAY_INIT_PRIORITY help NT35510 display drive...
/content/code_sandbox/drivers/display/Kconfig.nt35510
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
84
```unknown # STM32 LTDC display driver configuration options menuconfig STM32_LTDC bool "STM32 LCD-TFT display controller driver" default y depends on DT_HAS_ST_STM32_LTDC_ENABLED select USE_STM32_HAL_LTDC select CACHE_MANAGEMENT if CPU_HAS_DCACHE help Enable driver for STM32 LCT-TFT display controller perih...
/content/code_sandbox/drivers/display/Kconfig.stm32_ltdc
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
461
```c /* * */ #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(ssd1327, CONFIG_DISPLAY_LOG_LEVEL); #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/kernel.h> #include ...
/content/code_sandbox/drivers/display/ssd1327.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,885
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9342C_H_ #define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9342C_H_ #include <zephyr/device.h> /* Commands/registers. */ #define ILI9342C_GAMSET 0x26 #define ILI9342C_IFMODE 0xB0 #define ILI9342C_FRMCTR1 0xB1 #define ILI9342C_INVTR 0xB4 #define ILI9342...
/content/code_sandbox/drivers/display/display_ili9342c.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,231
```unknown # Microbit display driver configuration options config MICROBIT_DISPLAY bool "BBC micro:bit 5x5 LED Display support" depends on BOARD_BBC_MICROBIT || BOARD_BBC_MICROBIT_V2 depends on PRINTK help Enable this to be able to display images and text on the 5x5 LED matrix display on the BBC micro:bit. ...
/content/code_sandbox/drivers/display/Kconfig.microbit
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
155
```unknown # Configuration options for dummy display config DUMMY_DISPLAY bool "Dummy display driver" help Enable dummy display driver compliant with display driver API. ```
/content/code_sandbox/drivers/display/Kconfig.dummy
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
32
```unknown config LS0XX bool "LS0XX memory display controller driver" default y depends on DT_HAS_SHARP_LS0XX_ENABLED select SPI help Enable driver for sharp memory display series LS0XXX7DXXX ```
/content/code_sandbox/drivers/display/Kconfig.ls0xx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
52
```unknown config LED_STRIP_MATRIX bool "LED strip matrix display driver" default y depends on DT_HAS_LED_STRIP_MATRIX_ENABLED depends on LED_STRIP help Enable LED strip matrix display (LED strip arranged in a grid pattern) driver. ```
/content/code_sandbox/drivers/display/Kconfig.led_strip_matrix
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
55
```c /* * */ #define DT_DRV_COMPAT st_stm32_ltdc #include <string.h> #include <zephyr/device.h> #include <zephyr/devicetree.h> #include <stm32_ll_rcc.h> #include <zephyr/drivers/display.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/clock_control/stm32_clock_control...
/content/code_sandbox/drivers/display/display_stm32_ltdc.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,800
```c /* * */ #include "display_ili9488.h" #include "display_ili9xxx.h" #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(display_ili9488, CONFIG_DISPLAY_LOG_LEVEL); int ili9488_regs_init(const struct device *dev) { const struct ili9xxx_config *config = dev->config; const struct ili9488_regs *regs = config->reg...
/content/code_sandbox/drivers/display/display_ili9488.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
598
```unknown config OTM8009A bool "OTM8009A display driver" default y depends on DT_HAS_ORISETECH_OTM8009A_ENABLED select MIPI_DSI help Enable driver for OTM8009A display driver. if OTM8009A config DISPLAY_OTM8009A_INIT_PRIORITY int "Initialization priority" default DISPLAY_INIT_PRIORITY help OTM8009A di...
/content/code_sandbox/drivers/display/Kconfig.otm8009a
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
100
```unknown # ST7789V display driver configuration options menuconfig ST7789V bool "ST7789V display driver" default y depends on DT_HAS_SITRONIX_ST7789V_ENABLED select MIPI_DBI help Enable driver for ST7789V display driver. choice ST7789V_PIXEL_FORMAT prompt "Color pixel format" default ST7789V_RGB565 depe...
/content/code_sandbox/drivers/display/Kconfig.st7789v
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
155
```objective-c /* * */ #ifndef __SSD1327_REGS_H__ #define __SSD1327_REGS_H__ /* * Fundamental Command Table */ #define SSD1327_SET_COLUMN_ADDR 0x15 #define SSD1327_SET_ROW_ADDR 0x75 #define SSD1327_SET_CONTRAST_CTRL 0x81 #define SSD1327_SET_SEGMENT_MAP_REMAPED 0xa0 #define SSD1327_SET_DISPLAY_START_LINE ...
/content/code_sandbox/drivers/display/ssd1327_regs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
345
```c /* * * * Based on the NT35510 driver provided by STMicroelectronics at * path_to_url */ #define DT_DRV_COMPAT frida_nt35510 #include <errno.h> #include <string.h> #include <zephyr/kernel.h> #include <zephyr/drivers/display.h> #include <zephyr/drivers/mipi_dsi.h> #include <zephyr/drivers/gpio.h> #include <ze...
/content/code_sandbox/drivers/display/display_nt35510.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,590
```unknown # SSD16XX display controller configuration options config SSD16XX bool "SSD16XX compatible display controller driver" default y depends on \ DT_HAS_SOLOMON_SSD1608_ENABLED || \ DT_HAS_SOLOMON_SSD1673_ENABLED || \ DT_HAS_SOLOMON_SSD1675A_ENABLED || \ DT_HAS_SOLOMON_SSD1680_ENABLED || \ DT_HAS_S...
/content/code_sandbox/drivers/display/Kconfig.ssd16xx
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
121
```c /* * */ #include <zephyr/drivers/display.h> #include <zephyr/devicetree.h> #include <zephyr/dt-bindings/gpio/gpio.h> #include <soc.h> #include <hal/nrf_timer.h> #ifdef PWM_PRESENT #include <hal/nrf_pwm.h> #endif #include <nrfx_gpiote.h> #ifdef PPI_PRESENT #include <nrfx_ppi.h> #endif #include <nrf_peripherals.h...
/content/code_sandbox/drivers/display/display_nrf_led_matrix.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,573
```c /* * */ #define LOG_LEVEL CONFIG_DISPLAY_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(ssd16xx); #include <string.h> #include <zephyr/device.h> #include <zephyr/drivers/display.h> #include <zephyr/init.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/mipi_dbi.h> #include <zephyr/sys...
/content/code_sandbox/drivers/display/ssd16xx.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
8,359
```c /* * */ #define DT_DRV_COMPAT sitronix_st7735r #include "display_st7735r.h" #include <zephyr/device.h> #include <zephyr/drivers/mipi_dbi.h> #include <zephyr/drivers/gpio.h> #include <zephyr/pm/device.h> #include <zephyr/sys/byteorder.h> #include <zephyr/drivers/display.h> #include <zephyr/logging/log.h> LOG_...
/content/code_sandbox/drivers/display/display_st7735r.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,254
```c /* * */ #define DT_DRV_COMPAT zephyr_dummy_dc #include <errno.h> #include <string.h> #include <zephyr/drivers/display.h> #include <zephyr/device.h> struct dummy_display_config { uint16_t height; uint16_t width; }; struct dummy_display_data { enum display_pixel_format current_pixel_format; }; static int ...
/content/code_sandbox/drivers/display/display_dummy.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
856
```unknown # ST7735R display driver configuration options config ST7735R bool "ST7735R/ST7735S display driver" default y depends on DT_HAS_SITRONIX_ST7735R_ENABLED select MIPI_DBI help Enable driver for ST7735R/ST7735S display driver. ```
/content/code_sandbox/drivers/display/Kconfig.st7735r
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
73
```c /* * */ /* * This tool uses display controller driver API and requires * a suitable LED matrix controller driver. */ #include <zephyr/kernel.h> #include <zephyr/init.h> #include <string.h> #include <zephyr/sys/printk.h> #include <zephyr/display/mb_display.h> #include <zephyr/drivers/display.h> #include "m...
/content/code_sandbox/drivers/display/mb_display.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,603
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9488_H_ #define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9488_H_ #include <zephyr/device.h> /* Commands/registers. */ #define ILI9488_FRMCTR1 0xB1 #define ILI9488_DISCTRL 0xB6 #define ILI9488_PWCTRL1 0xC0 #define ILI9488_PWCTRL2 0xC1 #define ILI9488_VMCTRL 0...
/content/code_sandbox/drivers/display/display_ili9488.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
691
```objective-c /* * */ #ifndef _ZEPHYR_DRIVERS_DISPLAY_ST7796S_H_ #define _ZEPHYR_DRIVERS_DISPLAY_ST7796S_H_ #define ST7796S_CMD_SLPIN 0x10 /* Sleep in */ #define ST7796S_CMD_SLPOUT 0x11 /* Sleep out */ #define ST7796S_CMD_INVOFF 0x20 /* Display inversion off */ #define ST7796S_CMD_INVON 0x21 /* Display inversion o...
/content/code_sandbox/drivers/display/display_st7796s.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
560
```unknown config MAX7219 bool "MAX7219 LED display driver" default y depends on DT_HAS_MAXIM_MAX7219_ENABLED select SPI help Enable driver for the Maxim MAX7219 SPI LED display driver. It is supporting up to 64 individual LEDs per MAX7219. ```
/content/code_sandbox/drivers/display/Kconfig.max7219
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
65
```unknown menuconfig DISPLAY_MCUX_DCNANO_LCDIF bool "MCUX DCNano LCDIF driver" default y depends on DT_HAS_NXP_DCNANO_LCDIF_ENABLED help Enable support for mcux DCNano LCDIF driver. if DISPLAY_MCUX_DCNANO_LCDIF config MCUX_DCNANO_LCDIF_FB_NUM int "Framebuffers to allocate in driver" default 1 range 0 2 ...
/content/code_sandbox/drivers/display/Kconfig.mcux_dcnano_lcdif
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
460
```c /* * */ #include "display_ili9340.h" #include "display_ili9xxx.h" #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(display_ili9340, CONFIG_DISPLAY_LOG_LEVEL); int ili9340_regs_init(const struct device *dev) { const struct ili9xxx_config *config = dev->config; const struct ili9340_regs *regs = config->reg...
/content/code_sandbox/drivers/display/display_ili9340.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
748
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_UC81XX_REGS_H_ #define ZEPHYR_DRIVERS_DISPLAY_UC81XX_REGS_H_ /* UC8176/UC8179 */ #define UC81XX_CMD_PSR 0x00 #define UC81XX_CMD_PWR 0x01 #define UC81XX_CMD_POF 0x02 #define UC81XX_CMD_PFS 0x03 #define UC81XX_CMD_PON 0x04 #define UC81XX_CMD_PMES ...
/content/code_sandbox/drivers/display/uc81xx_regs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,366
```objective-c /* * * * "Bottom" of the SDL display driver. * When built with the native_simulator this will be built in the runner context, * that is, with the host C library, and with the host include paths. */ #ifndef DRIVERS_DISPLAY_DISPLAY_SDL_BOTTOM_H #define DRIVERS_DISPLAY_DISPLAY_SDL_BOTTOM_H #include <...
/content/code_sandbox/drivers/display/display_sdl_bottom.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
341
```c /* * */ #define DT_DRV_COMPAT sharp_ls0xx #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(ls0xx, CONFIG_DISPLAY_LOG_LEVEL); #include <string.h> #include <zephyr/device.h> #include <zephyr/drivers/display.h> #include <zephyr/init.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/spi.h> #includ...
/content/code_sandbox/drivers/display/ls0xx.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,245
```c /** */ #define DT_DRV_COMPAT galaxycore_gc9x01x #include "display_gc9x01x.h" #include <zephyr/dt-bindings/display/panel.h> #include <zephyr/drivers/display.h> #include <zephyr/drivers/mipi_dbi.h> #include <zephyr/pm/device.h> #include <zephyr/sys/util.h> #include <zephyr/sys/byteorder.h> #include <zephyr/loggi...
/content/code_sandbox/drivers/display/display_gc9x01x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,301
```c /* * */ #define DT_DRV_COMPAT zephyr_sdl_dc #include <zephyr/drivers/display.h> #include <string.h> #include <stdlib.h> #include <soc.h> #include <zephyr/sys/byteorder.h> #include "display_sdl_bottom.h" #include "cmdline.h" #define LOG_LEVEL CONFIG_DISPLAY_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE...
/content/code_sandbox/drivers/display/display_sdl.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,943
```c /* * */ #define DT_DRV_COMPAT led_strip_matrix #include <zephyr/drivers/display.h> #include <zephyr/drivers/led_strip.h> #include <zephyr/sys/util.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(led_strip_matrix, CONFIG_DISPLAY_LOG_LEVEL); struct led_strip_buffer { const struct device *const dev; co...
/content/code_sandbox/drivers/display/display_led_strip_matrix.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,570
```objective-c /* ssd16xx_regs.h - Registers definition for SSD16XX compatible controller */ /* * */ #ifndef __SSD16XX_REGS_H__ #define __SSD16XX_REGS_H__ #define SSD16XX_CMD_GDO_CTRL 0x01 #define SSD16XX_CMD_GDV_CTRL 0x03 #define SSD16XX_CMD_SDV_CTRL 0x04 #define SSD16XX_CMD_SOFTSTART 0x0c #define SSD16XX...
/content/code_sandbox/drivers/display/ssd16xx_regs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,049
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_OTM8009A_H_ #define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_OTM8009A_H_ /** * @name General parameters. * @{ */ /** ID1 */ #define OTM8009A_ID1 0x40U /** Read ID1 command */ #define OTM8009A_CMD_ID1 0xDA /** Reset pulse time (ms), ref. Table 6.3.4.1 */ #defi...
/content/code_sandbox/drivers/display/display_otm8009a.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,843
```c /* * */ #include "display_ili9342c.h" #include "display_ili9xxx.h" #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(display_ili9342c, CONFIG_DISPLAY_LOG_LEVEL); int ili9342c_regs_init(const struct device *dev) { const struct ili9xxx_config *config = dev->config; const struct ili9342c_regs *regs = config-...
/content/code_sandbox/drivers/display/display_ili9342c.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,154
```c /* * */ #include <stdint.h> #include <stddef.h> #include <stdbool.h> #include <SDL.h> #include "nsi_tracing.h" int sdl_display_init_bottom(uint16_t height, uint16_t width, uint16_t zoom_pct, bool use_accelerator, void **window, void **renderer, void **mutex, void **texture, void **read_texture) {...
/content/code_sandbox/drivers/display/display_sdl_bottom.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,038
```unknown # SSD1306 display controller configuration options menuconfig SSD1306 bool "SSD1306 display driver" default y depends on DT_HAS_SOLOMON_SSD1306FB_ENABLED || DT_HAS_SINOWEALTH_SH1106_ENABLED select I2C if $(dt_compat_on_bus,$(DT_COMPAT_SOLOMON_SSD1306FB),i2c) select SPI if $(dt_compat_on_bus,$(DT_COMPA...
/content/code_sandbox/drivers/display/Kconfig.ssd1306
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
217
```c /* * */ #define DT_DRV_COMPAT renesas_smartbond_display #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/gpio.h> #include <zephyr/irq.h> #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/clock_control.h> #include <zephyr/drivers/clock_control/smartbond_clock_control.h>...
/content/code_sandbox/drivers/display/display_renesas_lcdc.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
5,776
```objective-c /* * */ #ifndef ST7789V_DISPLAY_DRIVER_H__ #define ST7789V_DISPLAY_DRIVER_H__ #include <zephyr/kernel.h> #define ST7789V_CMD_NOP 0x00 #define ST7789V_CMD_SW_RESET 0x01 #define ST7789V_CMD_SLEEP_IN 0x10 #define ST7789V_CMD_SLEEP_OUT 0x11 #define ST7789V_CMD_INV_OFF 0x20 #define ST7789V_CMD...
/content/code_sandbox/drivers/display/display_st7789v.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
836
```c /* * */ #define DT_DRV_COMPAT himax_hx8394 #include <zephyr/drivers/display.h> #include <zephyr/drivers/mipi_dsi.h> #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(hx8394, CONFIG_DISPLAY_LOG_LEVEL); struct hx8394_config { const struct device *m...
/content/code_sandbox/drivers/display/display_hx8394.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
7,827
```c /* * */ #define DT_DRV_COMPAT maxim_max7219 /** * @file * @brief MAX7219 LED display driver * * This driver map the segment as x, digit as y. * * A MAX7219 has 8x8 pixels. * Two MAX7219s (with cascading) have 8x16 pixels. * So on and so forth. * * Datasheet: path_to_url * * Limitations: * 1. This...
/content/code_sandbox/drivers/display/display_max7219.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,783
```objective-c /* * */ #ifndef __SSD1306_REGS_H__ #define __SSD1306_REGS_H__ /* All following bytes will contain commands */ #define SSD1306_CONTROL_ALL_BYTES_CMD 0x00 /* All following bytes will contain data */ #define SSD1306_CONTROL_ALL_BYTES_DATA 0x40 /* The next byte will contain a command */ #define SSD130...
/content/code_sandbox/drivers/display/ssd1306_regs.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,008
```c /* * * This code attempts to be endian-agnostic. It manipulates the framebuffer * address space only in 32-bit words (and assumes those words are 0xAARRGGBB). * */ #define DT_DRV_COMPAT intel_multiboot_framebuffer #include <errno.h> #include <zephyr/arch/x86/multiboot.h> #include <zephyr/devicetree.h> #inc...
/content/code_sandbox/drivers/display/display_intel_multibootfb.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,069
```c /* * */ #include "display_ili9341.h" #include "display_ili9xxx.h" #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(display_ili9341, CONFIG_DISPLAY_LOG_LEVEL); int ili9341_regs_init(const struct device *dev) { const struct ili9xxx_config *config = dev->config; const struct ili9341_regs *regs = config->reg...
/content/code_sandbox/drivers/display/display_ili9341.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,454
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9341_H_ #define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9341_H_ #include <zephyr/device.h> /* Commands/registers. */ #define ILI9341_GAMSET 0x26 #define ILI9341_IFMODE 0xB0 #define ILI9341_FRMCTR1 0xB1 #define ILI9341_DISCTRL 0xB6 #define ILI9341_ETMOD 0xB7...
/content/code_sandbox/drivers/display/display_ili9341.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,576
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9XXX_H_ #define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9XXX_H_ #include <zephyr/drivers/mipi_dbi.h> #include <zephyr/sys/util.h> /* Commands/registers. */ #define ILI9XXX_SWRESET 0x01 #define ILI9XXX_SLPOUT 0x11 #define ILI9XXX_DINVON 0x21 #define ILI9XXX_...
/content/code_sandbox/drivers/display/display_ili9xxx.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
730
```objective-c /** * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_GC9X01X_H_ #define ZEPHYR_DRIVERS_DISPLAY_GC9X01X_H_ #include <zephyr/sys/util.h> /* Command registers */ #define GC9X01X_CMD_SLPIN 0x10U /* Enter Sleep Mode */ #define GC9X01X_CMD_SLPOUT 0x11U /* Exit Sleep Mode */ #define GC9X01X_CMD_PTLON 0x12U /*...
/content/code_sandbox/drivers/display/display_gc9x01x.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,552
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9340_H_ #define ZEPHYR_DRIVERS_DISPLAY_DISPLAY_ILI9340_H_ #include <zephyr/device.h> /* Commands/registers. */ #define ILI9340_GAMSET 0x26 #define ILI9340_FRMCTR1 0xB1 #define ILI9340_DISCTRL 0xB6 #define ILI9340_PWCTRL1 0xC0 #define ILI9340_PWCTRL2 0...
/content/code_sandbox/drivers/display/display_ili9340.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
831
```c /* * */ #define DT_DRV_COMPAT sitronix_st7789v #include "display_st7789v.h" #include <zephyr/device.h> #include <zephyr/drivers/mipi_dbi.h> #include <zephyr/pm/device.h> #include <zephyr/sys/byteorder.h> #include <zephyr/drivers/display.h> #define LOG_LEVEL CONFIG_DISPLAY_LOG_LEVEL #include <zephyr/logging/l...
/content/code_sandbox/drivers/display/display_st7789v.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,545
```c /* * */ #define DT_DRV_COMPAT nxp_imx_elcdif #include <zephyr/drivers/display.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #include <fsl_elcdif.h> #ifdef CONFIG_HAS_MCUX_CACHE #include <fsl_cache.h> #endif #ifdef CONFIG_MCUX_ELCDIF_PXP #include <zephyr/dr...
/content/code_sandbox/drivers/display/display_mcux_elcdif.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
4,379
```unknown menuconfig DISPLAY_MCUX_ELCDIF bool "MCUX eLCDIF driver" default y depends on DT_HAS_NXP_IMX_ELCDIF_ENABLED help Enable support for mcux eLCDIF driver. if DISPLAY_MCUX_ELCDIF config MCUX_ELCDIF_FB_NUM int "Framebuffers to allocate in driver" default 2 range 0 2 help Number of framebuffers t...
/content/code_sandbox/drivers/display/Kconfig.mcux_elcdif
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,211
```c /* * */ #define DT_DRV_COMPAT orisetech_otm8009a #include <zephyr/kernel.h> #include <zephyr/drivers/display.h> #include <zephyr/drivers/mipi_dsi.h> #include <zephyr/drivers/gpio.h> #include <zephyr/sys/byteorder.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(otm8009a, CONFIG_DISPLAY_LOG_LEVEL); #incl...
/content/code_sandbox/drivers/display/display_otm8009a.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
7,579
```unknown # Display drivers menuconfig DISPLAY bool "Display controller drivers" help Enable display drivers if DISPLAY config DISPLAY_INIT_PRIORITY int "Display devices init priority" default 85 help Display devices initialization priority. module = DISPLAY module-str = display source "subsys/logging/...
/content/code_sandbox/drivers/display/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
358
```unknown config RM67162 bool "RM67162 display driver" default y select MIPI_DSI depends on DT_HAS_RAYDIUM_RM67162_ENABLED help Enable driver for RM67162 display driver. ```
/content/code_sandbox/drivers/display/Kconfig.rm67162
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
50
```c /* * */ #include <zephyr/display/mb_display.h> #include "mb_font.h" const struct mb_image mb_font[MB_FONT_COUNT] = { /* ' ' */ MB_IMAGE({ 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 }, { 0, 0, 0, 0, 0 }), /* '!' */ MB_IMAGE({ 0, 1, 0, 0, 0 }, { 0, 1, 0, 0, 0 }, ...
/content/code_sandbox/drivers/display/mb_font.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
8,815
```c /* * */ #define DT_DRV_COMPAT raydium_rm68200 #include <zephyr/drivers/display.h> #include <zephyr/drivers/mipi_dsi.h> #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(rm68200, CONFIG_DISPLAY_LOG_LEVEL); /* DCS Commands */ #define DCS_CMD_PAGE 0...
/content/code_sandbox/drivers/display/display_rm68200.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
9,404
```unknown config DISPLAY_NRF_LED_MATRIX bool "LED matrix driven by GPIOs" default y depends on DT_HAS_NORDIC_NRF_LED_MATRIX_ENABLED select NRFX_GPIOTE select NRFX_PPI if HAS_HW_NRF_PPI help Enable driver for a LED matrix with rows and columns driven by GPIOs. The driver allows setting one of 256 levels of...
/content/code_sandbox/drivers/display/Kconfig.nrf_led_matrix
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
210
```unknown config ST7796S bool "ST7796S display driver" default y depends on DT_HAS_SITRONIX_ST7796S_ENABLED select MIPI_DBI help Enable driver for ST7796S display driver. ```
/content/code_sandbox/drivers/display/Kconfig.st7796s
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
54
```unknown # Smartbond display controller configuration options config DISPLAY_RENESAS_LCDC bool "Smartbond display controller driver" depends on DT_HAS_RENESAS_SMARTBOND_DISPLAY_ENABLED select DMA default y help Enable Smartbond display controller. config DISPLAY_RENESAS_LCDC_BUFFER_PSRAM bool "Allocate th...
/content/code_sandbox/drivers/display/Kconfig.renesas_lcdc
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
102
```unknown # SSD1327 display controller configuration options menuconfig SSD1327 bool "SSD1327 display driver" default y depends on DT_HAS_SOLOMON_SSD1327FB_ENABLED select MIPI_DBI help Enable driver for SSD1327 display. if SSD1327 config SSD1327_DEFAULT_CONTRAST int "SSD1327 default contrast" default 128...
/content/code_sandbox/drivers/display/Kconfig.ssd1327
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
108
```unknown config GC9X01X bool "GC9X01X display driver" default y depends on DT_HAS_GALAXYCORE_GC9X01X_ENABLED select MIPI_DBI help Enable driver for GC9X01X display driver. ```
/content/code_sandbox/drivers/display/Kconfig.gc9x01x
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
59
```objective-c /* * */ #define MB_FONT_COUNT 95 #define MB_FONT_START ' ' #define MB_FONT_END '~' extern const struct mb_image mb_font[MB_FONT_COUNT]; ```
/content/code_sandbox/drivers/display/mb_font.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
36
```unknown config TLC59731_STRIP bool "TLC59731 LED controller" default y depends on DT_HAS_TI_TLC59731_ENABLED select GPIO help Enable driver for the Texas Instruments TLC59731 EasySet LED controllers. ```
/content/code_sandbox/drivers/led_strip/Kconfig.tlc59731
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
54
```unknown # # # config APA102_STRIP bool "APA102 SPI LED strip driver" default y depends on DT_HAS_APA_APA102_ENABLED select SPI if $(dt_compat_on_bus,$(DT_COMPAT_APA_APA102),spi) select LED_STRIP_RGB_SCRATCH help Enable the LED strip driver for a chain of APA102 RGB LEDs. These are sold as DotStar by Ada...
/content/code_sandbox/drivers/led_strip/Kconfig.apa102
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
93
```c /* * */ #include <zephyr/drivers/led_strip.h> #include <errno.h> #include <string.h> #if DT_NODE_HAS_STATUS(DT_INST(0, greeled_lpd8806), okay) #define DT_DRV_COMPAT greeled_lpd8806 #else #define DT_DRV_COMPAT greeled_lpd8803 #endif #define LOG_LEVEL CONFIG_LED_STRIP_LOG_LEVEL #include <zephyr/logging/log.h> ...
/content/code_sandbox/drivers/led_strip/lpd880x.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,115
```c /* * */ #define DT_DRV_COMPAT raydium_rm67162 #include <zephyr/drivers/display.h> #include <zephyr/drivers/mipi_dsi.h> #include <zephyr/drivers/mipi_dsi/mipi_dsi_mcux_2l.h> #include <zephyr/drivers/gpio.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> #include <zephyr/pm/policy.h> #include <zephyr...
/content/code_sandbox/drivers/display/display_rm67162.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
6,398
```c /* * */ #define DT_DRV_COMPAT apa_apa102 #include <errno.h> #include <zephyr/drivers/led_strip.h> #include <zephyr/drivers/spi.h> #include <zephyr/drivers/gpio.h> #include <zephyr/sys/util.h> struct apa102_config { struct spi_dt_spec bus; size_t length; }; static int apa102_update(const struct device *dev,...
/content/code_sandbox/drivers/led_strip/apa102.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
780
```c /* * * Adapted from the SPI driver, using the procedure in this blog post: * path_to_url * * Note: the word "word" refers to a 32-bit integer unless otherwise stated. * * WS/LRCK frequency: * This refers to the "I2S word or channel select" clock. * The I2C peripheral sends two 16-bit channel values for ea...
/content/code_sandbox/drivers/led_strip/ws2812_i2s.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,405
```c /* * */ #define DT_DRV_COMPAT worldsemi_ws2812_gpio #include <zephyr/drivers/led_strip.h> #include <string.h> #define LOG_LEVEL CONFIG_LED_STRIP_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(ws2812_gpio); #include <zephyr/kernel.h> #include <soc.h> #include <zephyr/drivers/gpio.h> #include <...
/content/code_sandbox/drivers/led_strip/ws2812_gpio.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,046
```unknown # config TLC5971_STRIP bool "TLC5971 (and compatible) LED strip driver" depends on SPI help Enable LED strip driver for daisy chains of TLC5971-ish devices ```
/content/code_sandbox/drivers/led_strip/Kconfig.tlc5971
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
45
```c /* * */ #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/pinctrl.h> #include <zephyr/drivers/led_strip.h> #include <zephyr/drivers/misc/pio_rpi_pico/pio_rpi_pico.h> #include <zephyr/dt-bindings/led/led.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(ws2812_rpi_pico_pi...
/content/code_sandbox/drivers/led_strip/ws2812_rpi_pico_pio.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,372
```unknown config LPD880X_STRIP bool "LPD880x SPI LED strip driver" default y depends on DT_HAS_GREELED_LPD8803_ENABLED || DT_HAS_GREELED_LPD8806_ENABLED select SPI if $(dt_compat_on_bus,$(DT_COMPAT_GREELED_LPD8803),spi) \ || $(dt_compat_on_bus,$(DT_COMPAT_GREELED_LPD8806),spi) help Enable LED strip drive...
/content/code_sandbox/drivers/led_strip/Kconfig.lpd880x
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
207
```c /* * */ #define DT_DRV_COMPAT ti_tlc59731 /** * @file * @brief LED driver for the TLC59731 LED driver. * * TLC59731 is a 3-Channel, 8-Bit, PWM LED Driver * With Single-Wire Interface (EasySet) * * The EasySet protocol is based on short pulses and the time between * them. At least one pulse must be sent...
/content/code_sandbox/drivers/led_strip/tlc59731.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,423
```unknown # # The following blog post is an excellent resource about pulse timing: # # path_to_url config WS2812_STRIP_SPI bool "WS2812 LED strip SPI driver" default y depends on DT_HAS_WORLDSEMI_WS2812_SPI_ENABLED select SPI if $(dt_compat_on_bus,$(DT_COMPAT_WORLDSEMI_WS2812_SPI),spi) help Enable driver for...
/content/code_sandbox/drivers/led_strip/Kconfig.ws2812
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
477
```unknown # Top-level configuration file for LED strip drivers. menuconfig LED_STRIP bool "Light-Emitting Diode (LED) strip drivers" help Include LED strip drivers in the system configuration. if LED_STRIP module = LED_STRIP module-str = LED strip source "subsys/logging/Kconfig.template.log_config" config LE...
/content/code_sandbox/drivers/led_strip/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
218
```c /* * */ #define DT_DRV_COMPAT worldsemi_ws2812_spi #include <zephyr/drivers/led_strip.h> #include <string.h> #define LOG_LEVEL CONFIG_LED_STRIP_LOG_LEVEL #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(ws2812_spi); #include <zephyr/kernel.h> #include <zephyr/device.h> #include <zephyr/drivers/spi.h> #in...
/content/code_sandbox/drivers/led_strip/ws2812_spi.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,634
```c /* * */ #define DT_DRV_COMPAT ti_tlc5971 #include <zephyr/kernel.h> #include <zephyr/drivers/spi.h> #include <zephyr/drivers/led_strip.h> #include <zephyr/drivers/led_strip/tlc5971.h> #include <zephyr/dt-bindings/led/led.h> #include <zephyr/sys/util.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(tlc59...
/content/code_sandbox/drivers/led_strip/tlc5971.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,245
```unknown # Sequans HW spinlock configuration config SQN_HWSPINLOCK bool "Sequans HW spinlock Driver" default y depends on DT_HAS_SQN_HWSPINLOCK_ENABLED help Enable HW spinlock for SQN if SQN_HWSPINLOCK config SQN_HWSPINLOCK_RELAX_TIME int "Sequans HW spinlock relax time" default 50 help Default HW spi...
/content/code_sandbox/drivers/hwspinlock/Kconfig.sqn
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
109
```c /* * */ #include <zephyr/drivers/hwspinlock.h> #include <zephyr/internal/syscall_handler.h> static inline int z_vrfy_hwspinlock_trylock(const struct device *dev, uint32_t id) { K_OOPS(K_SYSCALL_DRIVER_HWSPINLOCK(dev, trylock)); return z_impl_hwspinlock_trylock(dev, id); } #include <zephyr/syscalls/hwspinloc...
/content/code_sandbox/drivers/hwspinlock/hwspinlock_handlers.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
296
```unknown # HW spinlock configuration options menuconfig HWSPINLOCK bool "HW spinlock Support" help Include support for HW spinlock. if HWSPINLOCK config HWSPINLOCK_INIT_PRIORITY int "HW spinlock init priority" default KERNEL_INIT_PRIORITY_DEVICE help HW spinlock driver device initialization priority. ...
/content/code_sandbox/drivers/hwspinlock/Kconfig
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
85
```unknown # Hidden option to enable the vnd,w1 1-Wire host driver used in testing. config W1_TEST def_bool DT_HAS_VND_W1_ENABLED depends on DT_HAS_VND_W1_ENABLED ```
/content/code_sandbox/drivers/w1/Kconfig.test
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
48
```c /* * */ #define DT_DRV_COMPAT sqn_hwspinlock #include <zephyr/device.h> #include <zephyr/kernel.h> #include <zephyr/sys/sys_io.h> #include <zephyr/drivers/hwspinlock.h> #include <zephyr/sys/printk.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(sqn_hwspinlock); struct sqn_hwspinlock_data { DEVICE_MMI...
/content/code_sandbox/drivers/hwspinlock/sqn_hwspinlock.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,132
```c /* * */ #include <zephyr/internal/syscall_handler.h> #include <zephyr/drivers/w1.h> static inline int z_vrfy_w1_reset_bus(const struct device *dev) { K_OOPS(K_SYSCALL_DRIVER_W1(dev, reset_bus)); return z_impl_w1_reset_bus((const struct device *)dev); } #include <zephyr/syscalls/w1_reset_bus_mrsh.c> static ...
/content/code_sandbox/drivers/w1/w1_handlers.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
935
```c /* * */ #define DT_DRV_COMPAT zephyr_w1_gpio /** * @brief 1-Wire Bus Master driver using Zephyr GPIO interface. * * This file contains the implementation of the 1-Wire Bus Master driver using * the Zephyr GPIO interface. The driver is based on GPIO bit-banging and * follows the timing specifications for 1...
/content/code_sandbox/drivers/w1/w1_zephyr_gpio.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,349
```unknown # Configuration options for the Zephyr DS2485 1-Wire master driver config W1_DS2485 bool "DS2485 1-wire master driver" select I2C depends on DT_HAS_MAXIM_DS2485_ENABLED select W1_DS2477_85_COMMON default y help Enable the ds2485 w1 master driver. ```
/content/code_sandbox/drivers/w1/Kconfig.ds2485
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
81
```unknown # Common configuration options for DS2477 and DS2485 1-Wire master drivers config W1_DS2477_85_COMMON bool help This enables support for the shared ds2477/85 1-Wire driver. ```
/content/code_sandbox/drivers/w1/Kconfig.ds2477_85
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
52
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_W1_DS2477_DS2485_COMMON_H_ #define ZEPHYR_DRIVERS_W1_DS2477_DS2485_COMMON_H_ #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/w1.h> #include <zephyr/kernel.h> /* memory specific commands */ #define CMD_WR_MEM 0x96 #define CMD_RD_MEM 0x44 #define CMD_SET_PAG...
/content/code_sandbox/drivers/w1/w1_ds2477_85_common.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
3,255
```c /* * */ #include <zephyr/device.h> #include <zephyr/sys/crc.h> #include <zephyr/types.h> #include <zephyr/drivers/w1.h> int z_impl_w1_read_block(const struct device *dev, uint8_t *buffer, size_t len) { const struct w1_driver_api *api = dev->api; int ret; if (api->read_block != NULL) { return api->read_b...
/content/code_sandbox/drivers/w1/w1_common.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
276
```c /* * */ /** * @brief Common functions for Maxim DS2477,DS2485 1-Wire Masters */ #include "w1_ds2477_85_common.h" #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/w1.h> #include <zephyr/logging/log.h> #include <zephyr/kernel.h> LOG_MODULE_REGISTER(w1_ds2477_85, CONFIG_W1_LOG_LEVEL); int ds2477_85_w...
/content/code_sandbox/drivers/w1/w1_ds2477_85_common.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,575
```c /* * */ #define DT_DRV_COMPAT maxim_ds2485 /** * @brief Driver for the Maxim ds2485 1-Wire Master */ #include "w1_ds2477_85_common.h" #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/w1.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> LOG_MODULE_REGISTER(w1_ds2485, CONFIG_W1_LOG_LEVEL...
/content/code_sandbox/drivers/w1/w1_ds2485.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
994
```c /* * */ #include "w1_ds2482_84_common.h" #include <zephyr/devicetree.h> #include <zephyr/drivers/gpio.h> #include <zephyr/drivers/i2c.h> #include <zephyr/drivers/w1.h> #include <zephyr/kernel.h> #include <zephyr/logging/log.h> #include <zephyr/pm/device.h> #define DT_DRV_COMPAT maxim_ds2484 LOG_MODULE_REGIST...
/content/code_sandbox/drivers/w1/w1_ds2484.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
1,292
```objective-c /* * */ #ifndef ZEPHYR_DRIVERS_W1_W1_DS2482_800_H_ #define ZEPHYR_DRIVERS_W1_W1_DS2482_800_H_ #include <zephyr/drivers/i2c.h> int ds2482_change_bus_lock_impl(const struct device *dev, bool lock); #endif /* ZEPHYR_DRIVERS_W1_W1_DS2482_800_H_ */ ```
/content/code_sandbox/drivers/w1/w1_ds2482-800.h
objective-c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
88
```unknown config W1_DS2482_800 bool "DS2482-800, 8-Channel 1-Wire Master" select I2C depends on DT_HAS_MAXIM_DS2482_800_ENABLED default y ```
/content/code_sandbox/drivers/w1/Kconfig.ds2482-800
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
51
```c /* * */ #define DT_DRV_COMPAT zephyr_w1_serial /** * @brief 1-Wire Bus Master driver using Zephyr serial interface. * * This driver implements the 1-Wire interface using an uart. * The driver uses a uart peripheral with a baudrate of 115.2 kBd to send * and receive data bits and a baurade of 9.6 kBd for s...
/content/code_sandbox/drivers/w1/w1_zephyr_serial.c
c
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
2,334
```unknown config W1_DS2484 bool "DS2484 Single-Channel 1-Wire Master" select I2C depends on DT_HAS_MAXIM_DS2484_ENABLED default y ```
/content/code_sandbox/drivers/w1/Kconfig.ds2484
unknown
2016-05-26T17:54:19
2024-08-16T18:09:06
zephyr
zephyrproject-rtos/zephyr
10,307
43