Home
last modified time | relevance | path

Searched +full:display +full:- +full:inversion (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-latest/dts/bindings/display/
Dilitek,ili9xxx-common.yaml3 # SPDX-License-Identifier: Apache-2.0
5 description: ILI9XXX display controllers common properties.
7 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
10 pixel-format:
14 - 0 # RGB565
15 - 1 # RGB888
17 Display pixel format. Note that when RGB888 pixel format is selected
25 - 0
26 - 90
27 - 180
[all …]
Dsitronix,st7735r.yaml1 # Copyright (c) 2020, Kim Bøndergaard <kim@fam-boendergaard.dk>
2 # SPDX-License-Identifier: Apache-2.0
4 description: ST7735R/ST7735S 160x128 (max) display controller
8 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
11 x-offset:
16 y-offset:
32 type: uint8-array
37 type: uint8-array
42 type: uint8-array
47 type: uint8-array
[all …]
Dgalaxycore,gc9x01x.yaml2 # Copyright (c) 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
4 # SPDX-License-Identifier: Apache-2.0
7 GC9X01X display driver.
10 controllers and different display sizes. It has been validated
12 - GC9101A: (Waveshare 240x240, 1.28inch round lcd display 240x240)
14 Here is an example to define a display interface:
18 compatible = "zephyr,mipi-dbi-spi";
20 #address-cells = <1>;
21 #size-cells = <0>;
22 spi-dev = <&spi2>;
[all …]
Dsitronix,st7789v.yaml3 # SPDX-License-Identifier: Apache-2.0
5 description: ST7789V 320x240 display controller
9 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
12 x-offset:
17 y-offset:
60 inversion-off:
62 description: Inversion Off
64 porch-param:
65 type: uint8-array
69 cmd2en-param:
[all …]
Dsolomon,ssd1327fb.yaml1 # Copyright (c) 2024, Savoir-faire Linux
2 # SPDX-License-Identifier: Apache-2.0
4 description: SSD1327 128x128 dot-matrix display controller on MIPI_DBI bus
6 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
11 oscillator-freq:
16 display-offset:
21 start-line:
24 description: Start line of display RAM to be displayed by selecting a value from 0 to 127
26 multiplex-ratio:
34 description: Pre-charge period ranging from 0 to 15 DCLK's
[all …]
Dsolomon,ssd1306fb-common.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: display-controller.yaml
7 segment-offset:
10 description: 8-bit column start address for Page Addressing Mode
12 page-offset:
17 display-offset:
20 description: mapping of the display start line to one of COM0 .. COM63
22 multiplex-ratio:
27 segment-remap:
31 com-invdir:
[all …]
Dsitronix,st7796s.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: ST7796S Display controller
8 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
12 type: uint8-array
19 type: uint8-array
26 type: uint8-array
33 type: uint8-array
40 type: uint8-array
43 Display function control. Sets display graphical ram mode, as well as
47 type: uint8-array
[all …]
Dilitek,ili9342c.yaml5 # SPDX-License-Identifier: Apache-2.0
7 description: ILI9342C 320x240 display controller
11 include: ilitek,ili9xxx-common.yaml
15 type: uint8-array
18 select the desired Gamma curve for the current display.
22 type: uint8-array
28 type: uint8-array
31 Display Inversion Control (INVTR) register value.
34 type: uint8-array
40 type: uint8-array
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_st7796s.h4 * SPDX-License-Identifier: Apache-2.0
12 #define ST7796S_CMD_INVOFF 0x20 /* Display inversion off */
13 #define ST7796S_CMD_INVON 0x21 /* Display inversion on */
17 #define ST7796S_CMD_DISPOFF 0x28 /* Display off */
18 #define ST7796S_CMD_DISPON 0x29 /* Display on */
25 #define ST7796S_CMD_DIC 0xB4 /* Display inversion control */
27 #define ST7796S_CMD_DFC 0xB6 /* Display function control */
34 #define ST7796S_CMD_DOCA 0xE8 /* Display output control adjust */
Ddisplay_nt35510.h4 * SPDX-License-Identifier: Apache-2.0
20 #define NT35510_CMD_RDDID 0x04 /* Read display ID */
22 #define NT35510_CMD_RDDPM 0x0A /* Read display power mode */
23 #define NT35510_CMD_RDDMADCTL 0x0B /* Read display MADCTL */
24 #define NT35510_CMD_RDDCOLMOD 0x0C /* Read display pixel format */
25 #define NT35510_CMD_RDDIM 0x0D /* Read display image mode */
26 #define NT35510_CMD_RDDSM 0x0E /* Read display signal mode */
27 #define NT35510_CMD_RDDSDR 0x0F /* Read display self-diagnostics result */
31 #define NT35510_CMD_NORON 0x13 /* Normal display mode on */
32 #define NT35510_CMD_INVOFF 0x20 /* Display inversion off */
[all …]
Ddisplay_gc9x01x.h3 * Copyright (c) 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
6 * SPDX-License-Identifier: Apache-2.0
17 #define GC9X01X_CMD_NORON 0x13U /* Normal Display Mode ON */
18 #define GC9X01X_CMD_INVOFF 0x20U /* Display Inversion OFF */
19 #define GC9X01X_CMD_INVON 0x21U /* Display Inversion ON */
20 #define GC9X01X_CMD_DISPOFF 0x28U /* Display OFF */
21 #define GC9X01X_CMD_DISPON 0x29U /* Display ON */
32 #define GC9X01X_CMD_DFUNCTR 0xB6U /* Display Function Control */
Ddisplay_gc9x01x.c3 * Copyright (c) 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
5 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/display/panel.h>
12 #include <zephyr/drivers/display.h>
24 /* Display data struct */
39 bool inversion; member
53 * the display controller
223 const struct gc9x01x_config *config = dev->config; in gc9x01x_transmit()
225 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in gc9x01x_transmit()
231 const struct gc9x01x_config *config = dev->config; in gc9x01x_regs_init()
[all …]
Ddisplay_ili9xxx.h7 * SPDX-License-Identifier: Apache-2.0
60 CMD_SET_1, /* Default for most of ILI9xxx display controllers */
76 bool inversion; member
Ddisplay_st7796s.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/drivers/display.h>
33 bool inverted; /* Display color inversion */
34 /* Display configuration parameters */
35 uint8_t dic; /* Display inversion control */
40 uint8_t dfc[4]; /* Display function control */
45 uint8_t doca[8]; /* Display output ctrl */
57 const struct st7796s_config *config = dev->config; in st7796s_send_cmd()
59 return mipi_dbi_command_write(config->mipi_dbi, &config->dbi_config, in st7796s_send_cmd()
72 addr_data[1] = sys_cpu_to_be16(x + width - 1); in st7796s_set_cursor()
[all …]
Ddisplay_ili9xxx.c6 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/display/ili9xxx.h>
12 #include <zephyr/drivers/display.h>
70 const struct ili9xxx_config *config = dev->config; in ili9xxx_transmit()
72 return mipi_dbi_command_write(config->mipi_dev, &config->dbi_config, in ili9xxx_transmit()
92 const struct ili9xxx_config *config = dev->config; in ili9xxx_hw_reset()
94 if (mipi_dbi_reset(config->mipi_dev, ILI9XXX_RESET_PULSE_TIME) < 0) { in ili9xxx_hw_reset()
108 spi_data[1] = sys_cpu_to_be16(x + w - 1U); in ili9xxx_set_mem_area()
115 spi_data[1] = sys_cpu_to_be16(y + h - 1U); in ili9xxx_set_mem_area()
129 const struct ili9xxx_config *config = dev->config; in ili9xxx_write()
[all …]
/Zephyr-latest/dts/bindings/mipi-dbi/
Drenesas,smartbond-mipi-dbi.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: [mipi-dbi-controller.yaml, pinctrl-device.yaml]
8 compatible: "renesas,smartbond-mipi-dbi"
17 reset-gpios:
18 type: phandle-array
20 Reset GPIO pin. Used to reset the display during initialization.
22 te-enable:
27 te-inversion:
30 Boolean to apply an inversion on the TE signal that triggers the MIPI DBI controller.
32 dma-prefetch:
[all …]
/Zephyr-latest/boards/shields/seeed_xiao_round_display/
Dseeed_xiao_round_display.overlay4 * SPDX-License-Identifier: Apache-2.0
8 #include <zephyr/dt-bindings/display/panel.h>
12 zephyr,display = &gc9a01_xiao_round_display;
17 compatible = "voltage-divider";
18 io-channels = <&xiao_adc 0>;
19 output-ohms = <470000>;
20 full-ohms = <940000>;
24 compatible = "zephyr,lvgl-pointer-input";
33 compatible = "zephyr,mipi-dbi-spi";
34 spi-dev = <&xiao_spi>;
[all …]
/Zephyr-latest/boards/shields/ls0xx_generic/doc/
Dindex.rst3 Sharp memory display generic shield
11 few other pins. Note that the SCS is active high for this display.
13 The DISP pin controls whether to display memory
15 directly to VDD, to always display memory contents or connected
16 to a gpio. If devicetree contains ``disp-en-gpios`` then it will be set to
17 high during driver initialization. Display blanking apis can be used
28 When ``extcomin-gpios`` is defined, driver starts a thread which will
29 toggle EXTCOMIN at ``extcomin-frequency`` frequency. Higher frequency
33 define ``extcomin-gpios`` and implement their preferred method in
36 Pins Assignment of the Generic Sharp memory Display Shield
[all …]
/Zephyr-latest/boards/waveshare/esp32s3_touch_lcd_1_28/
Desp32s3_touch_lcd_1_28_esp32s3_procpu.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
8 #include "esp32s3_touch_lcd_1_28-pinctrl.dtsi"
9 #include <zephyr/dt-bindings/display/panel.h>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/pwm/pwm.h>
15 model = "ESP32-S3-Touch-LCD-1.28 PROCPU";
16 compatible = "waveshare,esp32-s3-touch-lcd-1.28";
19 i2c-1 = &i2c1;
20 pwm-0 = &ledc0;
[all …]
/Zephyr-latest/boards/adi/max32672fthr/
Dmax32672fthr.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <adi/max32/max32672-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/gpio/adi-max32-gpio.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
20 zephyr,shell-uart = &uart0;
23 zephyr,display = &ssd1306;
27 compatible = "gpio-leds";
43 compatible = "gpio-keys";
62 compatible = "adafruit-feather-header";
[all …]
/Zephyr-latest/boards/m5stack/m5stack_core2/
Dm5stack_core2_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "m5stack_core2-pinctrl.dtsi"
12 #include <zephyr/dt-bindings/display/ili9xxx.h>
13 #include <zephyr/dt-bindings/regulator/axp192.h>
21 pwr-led = &pwr_led;
22 uart-0 = &uart0;
23 i2c-0 = &i2c0;
33 zephyr,shell-uart = &uart0;
35 zephyr,display = &ili9342c;
[all …]
/Zephyr-latest/boards/mxchip/az3166_iotdevkit/
Daz3166_iotdevkit.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/f4/stm32f412r(e-g)tx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 pwm-led0 = &blue_pwm_led;
21 red-led = &red_led;
22 green-led = &green_led;
23 blue-led = &blue_led;
25 red-pwm-led = &red_pwm_led;
26 green-pwm-led = &green_pwm_led;
[all …]
/Zephyr-latest/boards/sipeed/longan_nano/
Dlongan_nano-common.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
13 zephyr,shell-uart = &usart0;
16 zephyr,display = &lcd0;
21 compatible = "gpio-leds";
37 compatible = "gpio-keys";
46 compatible = "pwm-leds";
64 pwm-led0 = &pwm_led_green;
65 pwm-led1 = &pwm_led_blue;
[all …]
/Zephyr-latest/boards/weact/mini_stm32h7b0/
Dmini_stm32h7b0.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/h7/stm32h7b0vbtx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
15 compatible = "weact,mini-stm32h7b0";
19 zephyr,shell-uart = &usb_cdc_acm_uart;
22 zephyr,display = &st7735r_160x80;
26 compatible = "gpio-leds";
34 compatible = "gpio-keys";
[all …]
/Zephyr-latest/subsys/fb/
Dcfb.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/display/cfb.h>
20 #define MSB_BIT_MASK(x) (BIT_MASK(x) << (8 - x))
40 /** Display pixel format */
43 /** Display screen info */
72 return (uint8_t *)fptr->data + in get_glyph_ptr()
73 (c - fptr->first_char) * in get_glyph_ptr()
74 (fptr->width * fptr->height / 8U); in get_glyph_ptr()
80 if (fptr->caps & CFB_FONT_MONO_VPACKED) { in get_glyph_byte()
81 return glyph_ptr[x * (fptr->height / 8U) + y]; in get_glyph_byte()
[all …]

12