Home
last modified time | relevance | path

Searched +full:invert +full:- +full:x (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/dts/bindings/input/
Dpixart,pat912x.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: i2c-device.yaml
11 motion-gpios:
12 type: phandle-array
17 zephyr,axis-x:
20 The input code for the X axis to report for the device, typically any of
21 INPUT_REL_*. No report produced for the device X axis if unspecified.
23 zephyr,axis-y:
29 res-x-cpi:
32 CPI resolution for the X axis, range 0 to 1275, rounded down to the
[all …]
Dpixart,paw32xx.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: spi-device.yaml
11 motion-gpios:
12 type: phandle-array
17 zephyr,axis-x:
21 The input code for the X axis to report for the device, typically any of
22 INPUT_REL_*. No report produced for the device X axis if unspecified.
24 zephyr,axis-y:
31 res-cpi:
37 invert-x:
[all …]
Dzephyr,lvgl-pointer-input.yaml2 # SPDX-License-Identifier: Apache-2.0
5 LVGL pointer indev pseudo-device
14 compatible = "zephyr,lvgl-pointer-input";
18 compatible: "zephyr,lvgl-pointer-input"
20 include: zephyr,lvgl-common-input.yaml
23 swap-xy:
26 Swap x-y axes to align input with the display.
28 invert-x:
31 Invert x axes to align input with the display.
33 invert-y:
[all …]
Dpixart,pmw3610.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: spi-device.yaml
11 motion-gpios:
12 type: phandle-array
17 reset-gpios:
18 type: phandle-array
22 zephyr,axis-x:
26 The input code for the X axis to report for the device, typically any of
27 INPUT_REL_*. No report produced for the device X axis if unspecified.
29 zephyr,axis-y:
[all …]
Dcirque,pinnacle-common.yaml2 # SPDX-License-Identifier: Apache-2.0
7 data-ready-gpios:
8 type: phandle-array
16 default: "4x"
18 ADC attenuation, 1x is the most sensitive and 4x is the least sensitive.
20 - "1x"
21 - "2x"
22 - "3x"
23 - "4x"
25 data-mode:
[all …]
Danalog-axis.yaml2 # SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "analog-axis";
16 poll-period-ms = <15>;
17 axis-x {
18 io-channels = <&adc 0>;
19 in-deadzone = <50>;
20 in-min = <100>;
21 in-max = <800>;
26 compatible: "analog-axis"
[all …]
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/soc/nxp/lpc/lpc11u6x/
Dsoc.h5 * SPDX-License-Identifier: Apache-2.0
12 * This header file is used to specify and describe board-level aspects for the
32 * [6] invert input.
34 * [10] open-drain mode.
40 #define IOCON_PIO_FUNC(x) (((x) & 0x7)) argument
42 #define IOCON_PIO_MODE(x) (((x) & 0x3) << 3) argument
44 #define IOCON_PIO_HYS(x) (((x) & 0x1) << 5) argument
46 #define IOCON_PIO_INVERT(x) (((x) & 0x1) << 2) argument
48 #define IOCON_PIO_OD(x) (((x) & 0x1) << 10) argument
50 #define IOCON_PIO_SMODE(x) (((x) & 0x3) << 11) argument
[all …]
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/
Dda1469x_dk_pro_mipi_dbi.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/display/ili9xxx.h>
8 #include <zephyr/dt-bindings/gpio/gpio.h>
19 swap-xy;
20 invert-x;
21 invert-y;
26 clock-frequency = <400000>;
33 int-gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
38 compatible = "renesas,smartbond-mipi-dbi";
40 reset-gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/include/zephyr/display/
Dcfb.h4 * SPDX-License-Identifier: Apache-2.0
54 uint16_t x; member
84 * @param x Position in X direction of the beginning of the string
89 int cfb_print(const struct device *dev, const char *const str, uint16_t x, uint16_t y);
93 * For compare to cfb_print, cfb_draw_text accept non tile-aligned coords
98 * @param x Position in X direction of the beginning of the string
103 int cfb_draw_text(const struct device *dev, const char *const str, int16_t x, int16_t y);
131 * @param start Top-Left position of the rectangle
132 * @param end Bottom-Right position of the rectangle
150 * @brief Invert Pixels.
[all …]
/Zephyr-latest/dts/bindings/pinctrl/
Dmicrochip,xec-pinctrl.yaml3 # SPDX-License-Identifier: Apache-2.0
7 Based on pincfg-node.yaml binding.
23 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
26 - bias-disable: Disable pull-up/down (default behavior, not required).
27 - bias-pull-down: Enable pull-down resistor.
28 - bias-pull-up: Enable pull-up resistor.
29 - drive-push-pull: Output driver is push-pull (default, not required).
30 - drive-open-drain: Output driver is open-drain.
31 - output-high: Set output state high when pin configured.
32 - output-low: Set output state low when pin configured.
[all …]
Dmicrochip,mec5-pinctrl.yaml2 # SPDX-License-Identifier: Apache-2.0
6 Based on pincfg-node.yaml binding.
22 pins, such as the 'bias-pull-up' property in group 2. Here is a list of
25 - bias-disable: Disable pull-up/down (default behavior, not required).
26 - bias-pull-down: Enable pull-down resistor.
27 - bias-pull-up: Enable pull-up resistor.
28 - drive-push-pull: Output driver is push-pull (default, not required).
29 - drive-open-drain: Output driver is open-drain.
30 - output-high: Set output state high when pin configured.
31 - output-low: Set output state low when pin configured.
[all …]
/Zephyr-latest/boards/shields/buydisplay_2_8_tft_touch_arduino/
Dbuydisplay_2_8_tft_touch_arduino.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/display/ili9xxx.h>
16 compatible = "zephyr,lvgl-pointer-input";
18 swap-xy;
19 invert-x;
20 invert-y;
24 compatible = "zephyr,mipi-dbi-spi";
25 dc-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
26 reset-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
27 spi-dev = <&arduino_spi>;
[all …]
/Zephyr-latest/boards/shields/buydisplay_3_5_tft_touch_arduino/
Dbuydisplay_3_5_tft_touch_arduino.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/display/ili9xxx.h>
16 compatible = "zephyr,lvgl-pointer-input";
18 swap-xy;
19 invert-x;
20 invert-y;
24 compatible = "zephyr,mipi-dbi-spi";
25 dc-gpios = <&arduino_header 13 GPIO_ACTIVE_HIGH>; /* D7 */
26 reset-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>; /* D10 */
27 spi-dev = <&arduino_spi>;
[all …]
/Zephyr-latest/boards/shields/adafruit_2_8_tft_touch_v2/dts/
Dadafruit_2_8_tft_touch_v2.dtsi4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/display/ili9xxx.h>
16 compatible = "zephyr,lvgl-pointer-input";
18 swap-xy;
19 invert-x;
20 invert-y;
24 compatible = "zephyr,mipi-dbi-spi";
25 spi-dev = <&arduino_spi>;
26 dc-gpios = <&arduino_header 15 GPIO_ACTIVE_HIGH>; /* D9 */
27 write-only;
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_mchp_xec_bbled.c4 * SPDX-License-Identifier: Apache-2.0
51 * Puse_OFF_width = (1/Fpwm) * (256 - duty_cycle) seconds
52 * where duty_cycle is an 8-bit value 0 to 255.
53 * Prescale is derived from DELAY register LOW_DELAY 12-bit field
54 * Duty cycle is derived from LIMITS register MINIMUM 8-bit field
61 * BBLED PWM mode duty cycle specified by 8-bit MIN field of the LIMITS register
140 * DELAY.LO = pre-scaler = [0, 4095]
147 const struct pwm_bbled_xec_config * const cfg = dev->config; in xec_pwmbb_progam_pwm()
148 struct bbled_regs * const regs = cfg->regs; in xec_pwmbb_progam_pwm()
151 val = regs->limits & ~(XEC_PWM_BBLED_LIM_MIN_MSK); in xec_pwmbb_progam_pwm()
[all …]
Dpwm_pca9685.c4 * SPDX-License-Identifier: Apache-2.0
39 /* See PCA9585 datasheet Rev. 4 - 16 April 2015 section 7.3.5 */
91 const struct pca9685_config *config = dev->config; in set_reg()
95 ret = i2c_write_dt(&config->i2c, buf, sizeof(buf)); in set_reg()
97 LOG_ERR("I2C write [0x%02X]=0x%02X: %d", addr, value, ret); in set_reg()
99 LOG_DBG("[0x%02X]=0x%02X", addr, value); in set_reg()
106 const struct pca9685_config *config = dev->config; in get_reg()
109 ret = i2c_write_read_dt(&config->i2c, &addr, sizeof(addr), value, in get_reg()
112 LOG_ERR("I2C write [0x%02X]=0x%02X: %d", addr, *value, ret); in get_reg()
119 struct pca9685_data *data = dev->data; in set_pre_scale()
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_st7796s.c4 * SPDX-License-Identifier: Apache-2.0
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()
64 const uint16_t x, const uint16_t y, in st7796s_set_cursor() argument
71 addr_data[0] = sys_cpu_to_be16(x); in st7796s_set_cursor()
72 addr_data[1] = sys_cpu_to_be16(x + width - 1); in st7796s_set_cursor()
82 addr_data[1] = sys_cpu_to_be16(y + height - 1); in st7796s_set_cursor()
100 const struct st7796s_config *config = dev->config; in st7796s_get_pixelfmt()
103 * Invert the pixel format for 8-bit 8080 Parallel Interface. in st7796s_get_pixelfmt()
111 * This is not an issue when using a 16-bit interface. in st7796s_get_pixelfmt()
[all …]
/Zephyr-latest/subsys/fb/
Dcfb_shell.c11 * SPDX-License-Identifier: Apache-2.0
21 #define HELP_DRAW_POINT "<x> <y0>"
24 #define HELP_INVERT "[<x> <y> <width> <height>]"
93 return -EINVAL; in cmd_print()
99 return -EINVAL; in cmd_print()
114 int x, y; in cmd_draw_text() local
116 x = strtol(argv[1], NULL, 10); in cmd_draw_text()
118 err = cfb_draw_text(dev, argv[3], x, y); in cmd_draw_text()
134 pos.x = strtol(argv[1], NULL, 10); in cmd_draw_point()
153 start.x = strtol(argv[1], NULL, 10); in cmd_draw_line()
[all …]
/Zephyr-latest/arch/arm64/core/
Delf.c4 * SPDX-License-Identifier: Apache-2.0
91 * @brief Function computing a relocation (X in AArch64 ELF).
98 * @return Result of the relocation operation (X in AArch64 ELF)
107 return sym_base_addr + addend - loc; in reloc()
109 return AARCH64_PAGE(sym_base_addr + addend) - AARCH64_PAGE(loc); in reloc()
125 * @retval -ERANGE Relocation value overflow
131 int64_t x; in data_reloc_handler() local
135 *(int64_t *)loc = reloc(AARCH64_RELOC_TYPE_ABS, loc, sym_base_addr, rel->r_addend); in data_reloc_handler()
139 x = reloc(AARCH64_RELOC_TYPE_ABS, loc, sym_base_addr, rel->r_addend); in data_reloc_handler()
140 if (x < 0 || x > UINT32_MAX) { in data_reloc_handler()
[all …]
/Zephyr-latest/boards/native/doc/
Dcomponents_natsim.svg1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Do not edit this file with editors other than draw.io -->
3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4-0.5 -0.5 161 331" class="ge-export-svg-auto" content="&lt;mxfile host=&quot;app.diagrams.net&quot…
/Zephyr-latest/drivers/led/
Dis31fl3216a.c4 * SPDX-License-Identifier: Apache-2.0
73 const struct is31fl3216a_cfg *config = dev->config; in is31fl3216a_led_write_channels()
83 return -EINVAL; in is31fl3216a_led_write_channels()
86 /* Invert channels, last register is channel 0 */ in is31fl3216a_led_write_channels()
87 i2c_buffer[0] = IS31FL3216A_REG_PWM_LAST - start_channel - in is31fl3216a_led_write_channels()
88 (num_channels - 1); in is31fl3216a_led_write_channels()
90 if (buf[num_channels - i - 1] > 100) { in is31fl3216a_led_write_channels()
91 return -EINVAL; in is31fl3216a_led_write_channels()
94 buf[num_channels - i - 1]); in is31fl3216a_led_write_channels()
97 status = is31fl3216a_write_buffer(&config->i2c, i2c_buffer, in is31fl3216a_led_write_channels()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Di2s.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public APIs for the I2S (Inter-IC Sound) bus drivers.
20 * @brief I2S (Inter-IC Sound) Interface
23 * as common non-standard extensions such as PCM Short/Long Frame Sync,
55 * -. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-.
56 * SCK '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '
57 * -. .-------------------------------.
58 * WS '-------------------------------' '----
59 * -.---.---.---.---.---.---.---.---.---.---.---.---.---.---.---.---.---.
60 * SD | |MSB| |...| |LSB| x |...| x |MSB| |...| |LSB| x |...| x |
[all …]
/Zephyr-latest/drivers/dai/nxp/esai/
Desai.h4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/dt-bindings/dai/esai.h>
32 /* used to fetch the depth of the FIFO. If the "fifo-depth" property is
40 /* used to fetch the TX FIFO watermark value. If the "tx-fifo-watermark"
46 /* used to fetch the RX FIFO watermark value. If the "rx-fifo-watermark"
61 /* used to fetch the word width. If the "word-width" property is not specified,
69 #define UINT_TO_ESAI(x) ((ESAI_Type *)(uintptr_t)(x)) argument
71 /* invert a clock's polarity. This works because a clock's polarity
76 #define _ESAI_SLOT_WORD_WIDTH_IS_VALID(width) (!(((width) - 8) % 4))
88 ((w) < 24 ? ((s) - (w) + (((w) - 8) / 4)) : ((s) < 32 ? 0x1e : 0x1f))
[all …]
/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.h3 * SPDX-License-Identifier: Apache-2.0
26 #define UINT_TO_I2S(x) ((I2S_Type *)(uintptr_t)(x)) argument
51 /* used to convert the clock-names property into an array of clock names */
72 /* used to convert a clock-names property into an array of clock names. If the
89 /* used to parse the tx-fifo-watermark property. If said property is not
97 /* used to parse the rx-fifo-watermark property. If said property is not
107 POINTER_TO_UINT(&(UINT_TO_I2S(DT_INST_REG_ADDR(inst))->TDR[idx]))
111 POINTER_TO_UINT(&(UINT_TO_I2S(DT_INST_REG_ADDR(inst))->RDR[idx]))
162 /* invert a clock's polarity. This works because a clock's polarity is expressed
190 ((dir) == DAI_DIR_RX ? (UINT_TO_I2S(regmap)->RCSR & I2S_RCSR_RE_MASK) : \
[all …]

12