Home
last modified time | relevance | path

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

12

/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 */
18 #define ST7796S_CMD_DISPON 0x29 /* Display on */
19 #define ST7796S_CMD_TEON 0x35 /* Tearing effect on */
25 #define ST7796S_CMD_DIC 0xB4 /* Display inversion control */
Ddisplay_gc9x01x.h3 * Copyright (c) 2023 Amrith Venkat Kesavamoorthi <amrith@mr-beam.org>
6 * SPDX-License-Identifier: Apache-2.0
16 #define GC9X01X_CMD_PTLON 0x12U /* Partial Mode ON */
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 */
21 #define GC9X01X_CMD_DISPON 0x29U /* Display ON */
28 #define GC9X01X_CMD_TEON 0x35U /* Tearing Effect Line ON */
Ddisplay_nt35510.h4 * SPDX-License-Identifier: Apache-2.0
21 #define NT35510_CMD_RDNUMED 0x05 /* Read number of errors on DSI */
27 #define NT35510_CMD_RDDSDR 0x0F /* Read display self-diagnostics result */
30 #define NT35510_CMD_PTLON 0x12 /* Partial mode on */
31 #define NT35510_CMD_NORON 0x13 /* Normal display mode on */
32 #define NT35510_CMD_INVOFF 0x20 /* Display inversion off */
33 #define NT35510_CMD_INVON 0x21 /* Display inversion on */
35 #define NT35510_CMD_ALLPON 0x23 /* All pixel on */
38 #define NT35510_CMD_DISPON 0x29 /* Display on */
44 #define NT35510_CMD_TOPC 0x32 /* Turn On Peripheral Command */
[all …]
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>
39 bool inversion; member
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()
232 const struct gc9x01x_regs *regs = config->regs; in gc9x01x_regs_init()
235 if (!device_is_ready(config->mipi_dev)) { in gc9x01x_regs_init()
236 return -ENODEV; in gc9x01x_regs_init()
[all …]
Ddisplay_ili9xxx.c6 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/display/ili9xxx.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()
130 struct ili9xxx_data *data = dev->data; in ili9xxx_write()
[all …]
/Zephyr-latest/dts/bindings/display/
Dsitronix,st7735r.yaml1 # Copyright (c) 2020, Kim Bøndergaard <kim@fam-boendergaard.dk>
2 # SPDX-License-Identifier: Apache-2.0
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
52 type: uint8-array
[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:
26 multiplex-ratio:
34 description: Pre-charge period ranging from 0 to 15 DCLK's
36 remap-value:
[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:
22 multiplex-ratio:
27 segment-remap:
31 com-invdir:
35 com-sequential:
[all …]
/Zephyr-latest/drivers/serial/
Duart_stm32.h2 * Copyright (c) 2016 Open-RnD Sp. z o.o.
4 * SPDX-License-Identifier: Apache-2.0
8 * @brief Driver for UART port on STM32 family processor.
40 /* enable rx pin inversion */
42 /* enable tx pin inversion */
50 /* enable de pin inversion */
61 /* Device defined as wake-up source */
/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
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:
35 - "no-prefetch"
[all …]
/Zephyr-latest/dts/bindings/serial/
Dnxp,lpuart.yaml5 include: [uart-controller.yaml, uart-controller-pin-inversion.yaml, pinctrl-device.yaml]
14 Enable loopback mode on LPUART peripheral. When present, RX pin is
18 single-wire:
21 Enable the single wire half-duplex communication.
24 RX/TX conflicts must be handled on user side.
26 nxp,rs485-mode:
30 of an external RS-485 transceiver. Note hw-flow-control should be
33 nxp,rs485-de-active-low:
Dst,stm32-uart-base.yaml2 # SPDX-License-Identifier: Apache-2.0
5 description: STM32 UART-BASE
8 - name: uart-controller.yaml
9 property-blocklist:
10 - clock-frequency
11 - name: pinctrl-device.yaml
12 - name: reset-device.yaml
13 - name: uart-controller-pin-inversion.yaml
28 single-wire:
31 Enable the single wire half-duplex communication.
[all …]
/Zephyr-latest/include/zephyr/drivers/
Ddai.h4 * SPDX-License-Identifier: Apache-2.0
42 /** Used to extract the clock inversion from the format attribute of struct dai_config */
48 * clock-related configurations w.r.t the DAI
65 * may use different protocols depending on the scenario.
76 /** @brief DAI clock inversion
80 * the default one chosen based on the protocol.
83 /**< no BCLK inversion, no FSYNC inversion */
85 /**< no BCLK inversion, FSYNC inversion */
87 /**< BCLK inversion, no FSYNC inversion */
89 /**< BCLK inversion, FSYNC inversion */
[all …]
/Zephyr-latest/boards/shields/ls0xx_generic/doc/
Dindex.rst16 to a gpio. If devicetree contains ``disp-en-gpios`` then it will be set to
24 signal on the EXTCOMIN pin.
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
39 +---------------+---------------------------------------------------------+
43 +---------------+---------------------------------------------------------+
45 +---------------+---------------------------------------------------------+
47 +---------------+---------------------------------------------------------+
48 | EXTCOMIN | VCOM Inversion Polarity Input (VCOM can be controlled |
[all …]
/Zephyr-latest/dts/bindings/stepper/adi/
Dadi,trinamic-ramp-generator.yaml1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG
2 # SPDX-License-Identifier: Apache-2.0
4 description: Ramp Generator Motion Control Register-Set for Trinamic stepper controller.
77 inversion can start and before motor power down starts. Time range is about 0 to 2
78 seconds. This setting avoids excess acceleration e.g. from VSTOP to -VSTART.
84 Hold current in % of run current (0-100)
110 This is the lower threshold velocity for switching on smart energy CoolStep and StallGuard
114 The stop on stall function (enable with sg_stop when using internal motion controller)
119 - CoolStep and stop on stall are enabled, if configured
120 - Voltage PWM mode StealthChop is switched off, if configured
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_l2.rst13 The L2 stack is designed to hide the whole networking link-layer part
27 :ref:`IEEE 802.15.4 Soft-MAC <ieee802154_interface>`, :ref:`CANBUS <can_api>`,
28 :ref:`OpenThread <thread_protocol_interface>`, Wi-Fi, and a dummy layer example
40 - ``recv()``: All device drivers, once they receive a packet which they put
46 the link layer header, or handling link-layer only packets. The ``recv()``
51 - ``send()``: Similar to receive function, the network stack will call this
52 function to actually send a network packet. All relevant link-layer content
57 - ``enable()``: This function is used to enable/disable traffic over a network
60 - ``get_flags()``: This function will return the capabilities of an L2 driver,
71 - The driver_api pointer must point to a valid :c:struct:`net_if_api`
[all …]
/Zephyr-latest/samples/subsys/zbus/priority_boost/
DREADME.rst1 .. zephyr:code-sample:: zbus-priority-boost
3 :relevant-api: zbus_apis
5 Illustrates zbus priority boost feature with a priority inversion scenario.
11 execution sequence presents a priority inversion problem, which may not affect much of the
15 .. code-block:: c
47 It can be built and executed on QEMU as follows:
49 .. zephyr-app-commands::
50 :zephyr-app: samples/subsys/zbus/priority_boost
51 :gen-args: -DCONFIG_ZBUS_PRIORITY_BOOST=n
52 :host-os: unix
[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;
36 zephyr,code-partition = &slot0_partition;
[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;
21 compatible = "gpio-leds";
37 compatible = "gpio-keys";
46 compatible = "pwm-leds";
64 pwm-led0 = &pwm_led_green;
65 pwm-led1 = &pwm_led_blue;
71 compatible = "zephyr,mipi-dbi-spi";
[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;
27 compatible = "gpio-leds";
43 compatible = "gpio-keys";
62 compatible = "adafruit-feather-header";
63 #gpio-cells = <2>;
[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/doc/services/zbus/
Dindex.rst9 https://www.figma.com/community/file/1292866458780627559/zbus-diagram-assets
12 The :dfn:`Zephyr bus - zbus` is a lightweight and flexible software bus enabling a simple way for
13 threads to talk to one another in a many-to-many way.
21 Threads can send messages to one or more observers using zbus. It makes the many-to-many
22 communication possible. The bus implements message-passing and publish/subscribe communication
25 The communication through zbus is channel-based. Threads (or callbacks) use channels to exchange
27 thread publishes a message on a channel, the bus will make the message available to all the
28 published channel's observers. Based on the observer's type, it can access the message directly,
72 * Subscriber, a thread-based observer that relies internally on a message queue where the event
76 * Message subscribers, a thread-based observer that relies internally on a FIFO where the event
[all …]
/Zephyr-latest/include/zephyr/fs/
Dfcb.h2 * Copyright (c) 2017-2023 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
48 * Entry location is pointer to area (within fcb->f_sectors), and offset
70 #define FCB_ENTRY_FA_DATA_OFF(entry) (entry.fe_sector->fs_off +\
98 * It is xored with inversion of f_erase_value and placed in
163 * @return 0 on success, non-zero on failure.
171 * contents for the entry, use loc->fe_sector and loc->fe_data_off with
180 * @return 0 on success, non-zero on failure.
190 * @return 0 on success, non-zero on failure.
202 * If cb wants to stop the walk, it should return non-zero value.
[all …]
/Zephyr-latest/tests/kernel/mutex/mutex_api/src/
Dtest_mutex_apis.c4 * SPDX-License-Identifier: Apache-2.0
54 K_MSEC(TIMEOUT - 100)) != 0, NULL); in tThread_entry_lock_timeout_fail()
271 zassert_true(k_mutex_unlock(&tmutex) == -EINVAL, in ZTEST_USER()
289 "waiter thread should block on the recursively locked mutex"); in ZTEST_USER()
295 "waiter thread should still block on the locked mutex"); in ZTEST_USER()
310 * inversion, and there are 3 cases need to run.
312 * - case 1. When priority T2 > T1, priority inheritance happened.
313 * - case 2. When priority T1 > T2, priority inheritance won't happened.
314 * - case 3. When priority T2 > T3 > T1, priority inheritance happened but T2
337 zassert_true(k_mutex_unlock(&tmutex) == -EPERM, in ZTEST_USER()
[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;
26 compatible = "gpio-leds";
34 compatible = "gpio-keys";
43 compatible = "zephyr,mipi-dbi-spi";
[all …]

12