/Zephyr-latest/dts/bindings/led/ |
D | issi,is31fl3733.yaml | 2 # SPDX-License-Identifier: Apache-2.0 3 description: ISSI IS31FL3733 LED Matrix Driver 7 include: "i2c-device.yaml" 10 sdb-gpios: 11 type: phandle-array 17 current-limit: 21 Global current limit. Sets the global current control register of LED 22 driver (set table 14). Limits global current based on the following 23 formula: (840/R_ISET) * (current-limit/256). Defaults to max value 24 of 0xFF, so led output will still be enabled if property is [all …]
|
D | issi,is31fl3194.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 IS31FL3194 3-channel LED driver with programmable pattern sequencing 7 This driver supports single-channel and RGB LEDs. For single channel LEDs, 8 the led_set_brightness() API can be used to set the brightness of each LED. 11 by the color-mapping property. 15 The following defines a single RGB LED in the is31fl3194 DT node: 22 label = "RGB LED"; 23 color-mapping = 30 The following example defines three single-channel LEDs in the is31fl3194 DT node: 37 label = "RED LED"; [all …]
|
D | ti,lp5562.yaml | 1 description: TI LP5562 LED 5 include: i2c-device.yaml 8 red-output-current: 11 description: Output current of red channel in 0.1 mA (0-25.5 mA). 12 Default value is the power-on default. Valid range = 0 - 255 13 green-output-current: 16 description: Output current of green channel in 0.1 mA (0-25.5 mA) 17 Default value is the power-on default. Valid range = 0 - 255 18 blue-output-current: 21 description: Output current of blue channel in 0.1 mA (0-25.5 mA) [all …]
|
D | ti,lp50xx.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 include: ["i2c-device.yaml", "led-controller.yaml"] 7 enable-gpios: 8 type: phandle-array 14 If enabled the maximum current output is set to 35 mA (25.5 mA else). 18 If enabled a logarithmic dimming scale curve is used for LED brightness 21 child-binding: 27 color-mapping:
|
/Zephyr-latest/include/zephyr/drivers/led/ |
D | is31fl3733.h | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief Blanks IS31FL3733 LED display. 13 * When blank_en is set, the LED display will be disabled. This can be used for 14 * flicker-free display updates, or power saving. 16 * @param dev: LED device structure 23 * @brief Sets led current limit 25 * Sets the current limit for the LED driver. This is a separate value 26 * from per-led brightness, and applies to all LEDs. 27 * This value sets the output current limit according 30 * @param dev: LED device structure [all …]
|
/Zephyr-latest/samples/drivers/led/is31fl3733/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 8 #include <zephyr/drivers/led.h> 9 #include <zephyr/drivers/led/is31fl3733.h> 15 /* LED matrix is addressed using a row major format */ 20 static int led_channel_write(const struct device *led) in led_channel_write() argument 34 ret = led_write_channels(led, 0, sizeof(led_state), led_state); in led_channel_write() 36 printk("Error: could not write LED channels (%d)\n", ret); in led_channel_write() 40 /* Disable quadrant of LED display */ in led_channel_write() 41 printk("Disable LED quadrant\n"); in led_channel_write() 48 ret = led_write_channels(led, 0, in led_channel_write() [all …]
|
/Zephyr-latest/drivers/sensor/maxim/max30101/ |
D | Kconfig | 4 # SPDX-License-Identifier: Apache-2.0 54 Set to operate in heart rate only mode. The red LED channel is 60 Set to operate in SpO2 mode. The red and IR LED channels are active. 63 bool "Multi-LED mode" 65 Set to operate in multi-LED mode. The green, red, and/or IR LED 75 Set the ADC's full-scale range. 87 pulse/conversion per active LED channel. In SpO2 mode, these means 104 Set the pulse amplitude to control the LED1 (red) current. The actual 105 measured LED current for each part can vary significantly due to the 118 Set the pulse amplitude to control the LED2 (IR) current. The actual [all …]
|
/Zephyr-latest/drivers/led/ |
D | is31fl3733.c | 2 * Copyright 2022-2023 Daniel DeGrasse <daniel@degrasse.com> 4 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/drivers/led.h> 13 #include <zephyr/drivers/led/is31fl3733.h> 20 #define CMD_SEL_LED 0x0 /* LED configuration page */ 36 #define GLOBAL_CURRENT_CTRL_REG 0x1 /* global current control register */ 60 /* LED config reg state, IS31FL3733 conf reg is write only */ 70 const struct is31fl3733_config *config = dev->config; in is31fl3733_select_page() 71 struct is31fl3733_data *data = dev->data; in is31fl3733_select_page() 74 if (data->selected_page == page) { in is31fl3733_select_page() [all …]
|
D | is31fl3194.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief IS31FL3194 LED driver 13 * The IS31FL3194 is a 3-channel LED driver that communicates over I2C. 18 #include <zephyr/drivers/led.h> 22 #include <zephyr/dt-bindings/led/led.h> 54 uint32_t led) in is31fl3194_led_to_info() argument 56 if (led < config->num_leds) { in is31fl3194_led_to_info() 57 return &config->led_infos[led]; in is31fl3194_led_to_info() 64 uint32_t led, in is31fl3194_get_info() argument 67 const struct is31fl3194_config *config = dev->config; in is31fl3194_get_info() [all …]
|
/Zephyr-latest/boards/nxp/vmu_rt1170/ |
D | vmu_rt1170.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include "vmu_rt1170-pinctrl.dtsi" 19 compatible = "gpio-leds"; 20 green_led: led-1 { 22 label = "Green LED"; 25 red_led: led-2 { 27 label = "Red LED"; 30 blue_led: led-3 { 32 label = "Blue LED"; 43 pinctrl-0 = <&pinmux_lpuart1>; [all …]
|
/Zephyr-latest/samples/drivers/led/is31fl3194/ |
D | README.rst | 1 .. zephyr:code-sample:: is31fl3194 2 :name: IS31FL3194 RGB LED 3 :relevant-api: led_interface 5 Cycle colors on an RGB LED connected to the IS31FL3194 using the LED API. 10 This sample cycles several colors on an RGB LED forever using the LED API. 20 .. zephyr-app-commands:: 21 :zephyr-app: samples/drivers/led/is31fl3194 26 After flashing, the LED starts to switch colors and messages with the current 27 LED color are printed on the console. If a runtime error occurs, the sample
|
/Zephyr-latest/boards/actinius/icarus/ |
D | actinius_icarus_common.dtsi | 2 * Copyright (c) 2019-2022 Actinius 4 * SPDX-License-Identifier: Apache-2.0 6 #include "actinius_icarus_common-pinctrl.dtsi" 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 15 zephyr,shell-uart = &uart0; 16 zephyr,uart-mcumgr = &uart0; 20 compatible = "gpio-leds"; 24 label = "Red LED"; 29 label = "Green LED"; 34 label = "Blue LED"; [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | vishay,vcnl4040.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 include: [sensor-device.yaml, i2c-device.yaml] 13 int-gpios: 14 type: phandle-array 18 triggered. The sensor generates an active-low level signal 21 led-current: 25 description: LED current in mA 27 - 50 28 - 75 29 - 100 [all …]
|
/Zephyr-latest/boards/96boards/avenger96/ |
D | 96b_avenger96.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/mp1/stm32mp157aacx-pinctrl.dtsi> 13 compatible = "arrow,stm32mp157a-avenger96"; 23 * zephyr,shell-uart = &uart7; 30 compatible = "gpio-leds"; 33 label = "USR0 LED"; 37 label = "USR1 LED"; 41 label = "USR2 LED"; 53 clock-frequency = <DT_FREQ_M(209)>; [all …]
|
/Zephyr-latest/boards/nxp/frdm_mcxc444/ |
D | frdm_mcxc444.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "frdm_mcxc444-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "NXP FRDM-MCXC444 board"; 21 pwm-led0 = &red_pwm_led; 22 pwm-led1 = &green_pwm_led; 23 pwm-led2 = &blue_pwm_led; 24 red-pwm-led = &red_pwm_led; 25 green-pwm-led = &green_pwm_led; [all …]
|
/Zephyr-latest/dts/bindings/gpio/ |
D | adi,max14916-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "adi,max14916-gpio" 10 "#gpio-cells": 17 drdy-gpios: 19 High-Side Open-Drain Output. READY is passive low when the internal 22 type: phandle-array 23 fault-gpios: 27 type: phandle-array 28 sync-gpios: 31 type: phandle-array [all …]
|
D | adi,max14906-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "adi,max14906-gpio" 10 "#gpio-cells": 17 drdy-gpios: 19 High-Side Open-Drain Output. READY is passive low when the internal 22 type: phandle-array 23 fault-gpios: 27 type: phandle-array 28 sync-gpios: 31 type: phandle-array [all …]
|
/Zephyr-latest/samples/sensor/vcnl4040/boards/ |
D | adafruit_feather_stm32f405.overlay | 4 * SPDX-License-Identifier: Apache-2.0 11 int-gpios = <&feather_header 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; 12 led-current = <200>; 13 led-duty-cycle = <320>; 14 proximity-it = "8"; 15 proximity-trigger = "close"; 16 als-it = <640>;
|
/Zephyr-latest/boards/nxp/frdm_mcxc242/ |
D | frdm_mcxc242.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include "frdm_mcxc242-pinctrl.dtsi" 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "NXP FRDM-MCXC242 board"; 21 pwm-led0 = &red_pwm_led; 22 pwm-led1 = &green_pwm_led; 23 pwm-led2 = &blue_pwm_led; 24 red-pwm-led = &red_pwm_led; 25 green-pwm-led = &green_pwm_led; [all …]
|
/Zephyr-latest/samples/drivers/led/is31fl3733/ |
D | README.rst | 1 .. zephyr:code-sample:: is31fl3733 2 :name: IS31FL3733 LED Matrix 3 :relevant-api: led_interface 13 - Set all LEDs to full brightness with :c:func:`led_write_channels` API 14 - Disable upper quadrant of LED array with :c:func:`led_write_channels` API 15 - Dim each LED in sequence using :c:func:`led_set_brightness` API 16 - Toggle each LED in sequency using :c:func:`led_on` and :c:func:`led_of` APIs 17 - Toggle between low or high current limit using :c:func:`is31fl3733_current_limit` 25 - :kconfig:option:`CONFIG_LED_ROW_COUNT` 26 - :kconfig:option:`CONFIG_LED_COLUMN_COUNT` [all …]
|
/Zephyr-latest/boards/efinix/titanium_ti60_f225/ |
D | titanium_ti60_f225.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 13 compatible = "efinix,titanium-ti60-f225"; 17 zephyr,shell-uart = &uart0; 26 compatible = "gpio-leds"; 30 label = "Green LED 3"; 36 label = "Red LED 2"; 41 label = "Blue LED 1"; 50 current-speed = <115200>;
|
/Zephyr-latest/tests/subsys/modbus/boards/ |
D | frdm_k64f.overlay | 4 * SPDX-License-Identifier: Apache-2.0 11 compatible = "zephyr,modbus-serial"; 13 de-gpios = <&gpiob 22 GPIO_ACTIVE_LOW>; /* red LED */ 14 re-gpios = <&gpioe 26 GPIO_ACTIVE_LOW>; /* green LED */ 20 current-speed = <115200>; 23 compatible = "zephyr,modbus-serial";
|
/Zephyr-latest/boards/others/stm32_min_dev/ |
D | stm32_min_dev.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/f1/stm32f103r(8-b)tx-pinctrl.dtsi> 17 zephyr,shell-uart = &usart1; 18 zephyr,osdp-uart = &usart2; 24 compatible = "gpio-leds"; 25 led: led { label 32 led0 = &led; 37 clock-frequency = <DT_FREQ_M(8)>; 49 clock-frequency = <DT_FREQ_M(72)>; [all …]
|
/Zephyr-latest/boards/nordic/nrf54l15dk/ |
D | nrf54l15dk_common.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 #include "nrf54l15dk_nrf54l_05_10_15-pinctrl.dtsi" 11 compatible = "gpio-leds"; 14 label = "Green LED 0"; 18 label = "Green LED 1"; 22 label = "Green LED 2"; 26 label = "Green LED 3"; 31 compatible = "pwm-leds"; 44 compatible = "gpio-keys"; 72 pwm-led0 = &pwm_led1; [all …]
|
/Zephyr-latest/samples/sensor/grow_r502a/boards/ |
D | esp32_devkitc_wroom_procpu.overlay | 8 bias-pull-up; 15 current-speed = <57600>; 16 pinctrl-0 = <&uart2_default>; 17 pinctrl-names = "default"; 20 #address-cells=<1>; 21 #size-cells=<0>; 25 int-gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; 29 led { 30 compatible = "hzgrow,r502a-led";
|