Searched +full:led +full:- +full:duty +full:- +full:cycle (Results 1 – 14 of 14) sorted by relevance
/Zephyr-Core-3.7.0/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-Core-3.7.0/drivers/led/ |
D | led_mchp_xec.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief Microchip Breathing-Blinking LED controller 19 #include <zephyr/drivers/led.h> 60 * eight 4-bit fields numbered 0 to 7 107 temp--; in calc_blink_32k_prescaler() 118 /* return duty cycle scaled to [0, 255] 126 /* Enable HW blinking of the LED. 129 * BBLED blinking mode uses an 8-bit accumulator and an 8-bit duty cycle 130 * register. The duty cycle register is programmed once and the 131 * accumulator is used as an 8-bit up counter. [all …]
|
D | lp5569.c | 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief LP5569 LED controller 13 * The LP5569 is a 9-channel LED driver that communicates over I2C. 17 #include <zephyr/drivers/led.h> 34 /* PWM base Register for controlling the duty-cycle */ 41 static int lp5569_led_set_brightness(const struct device *dev, uint32_t led, in lp5569_led_set_brightness() argument 44 const struct lp5569_config *config = dev->config; in lp5569_led_set_brightness() 48 if (led >= LP5569_NUM_LEDS || brightness > 100) { in lp5569_led_set_brightness() 49 return -EINVAL; in lp5569_led_set_brightness() 52 /* Map 0-100 % to 0-255 pwm register value */ in lp5569_led_set_brightness() [all …]
|
D | tlc59108.c | 5 * SPDX-License-Identifier: Apache-2.0 12 * @brief LED driver for the TLC59108 I2C LED driver 16 #include <zephyr/drivers/led.h> 25 /* TLC59108 max supported LED id */ 28 /* TLC59108 select registers determine the source that drives LED outputs */ 29 #define TLC59108_LED_OFF 0x0 /* LED driver off */ 30 #define TLC59108_LED_ON 0x1 /* LED driver on */ 60 static int tlc59108_set_ledout(const struct device *dev, uint32_t led, in tlc59108_set_ledout() argument 63 const struct tlc59108_cfg *config = dev->config; in tlc59108_set_ledout() 65 if (led < 4) { in tlc59108_set_ledout() [all …]
|
D | pca9633.c | 2 * Copyright (c) 2018 Savoir-Faire Linux. 4 * SPDX-License-Identifier: Apache-2.0 11 * @brief LED driver for the PCA9633 I2C LED driver (7-bit slave address 0x62) 15 #include <zephyr/drivers/led.h> 25 /* PCA9633 select registers determine the source that drives LED outputs */ 26 #define PCA9633_LED_OFF 0x0 /* LED driver off */ 27 #define PCA9633_LED_ON 0x1 /* LED driver on */ 34 #define PCA9633_PWM_BASE 0x02 /* Reg 0x02-0x05 for brightness control LED01-04 */ 56 static int pca9633_led_blink(const struct device *dev, uint32_t led, in pca9633_led_blink() argument 59 struct pca9633_data *data = dev->data; in pca9633_led_blink() [all …]
|
/Zephyr-Core-3.7.0/drivers/led_strip/ |
D | Kconfig.lpd880x | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "LPD880x SPI LED strip driver" 11 Enable LED strip driver for daisy chains of LPD880x 14 Each LPD880x LED driver chip has some output channels 16 duty cycle can be set at 7 bit resolution via a 19 daisy chaining LED strips.
|
/Zephyr-Core-3.7.0/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-Core-3.7.0/samples/drivers/led_xec/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 11 #include <zephyr/drivers/led.h> 15 LOG_MODULE_DECLARE(led, CONFIG_LED_LOG_LEVEL); 76 LOG_ERR("%s: device not ready", dev->name); in led_test() 80 LOG_INF("blink: T = 0.5 second, duty cycle = 0.5"); in led_test() 85 LOG_ERR("LED blink API returned error %d", ret); in led_test() 92 LOG_INF("blink: T = 3 seconds, duty cycle = 0.4"); in led_test() 97 LOG_ERR("LED blink API returned error %d", ret); in led_test() 107 LOG_ERR("LED ON API returned error %d", ret); in led_test() 117 LOG_ERR("LED OFF API returned error %d", ret); in led_test() [all …]
|
/Zephyr-Core-3.7.0/boards/nxp/mr_canhubk3/ |
D | mr_canhubk3.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include <dt-bindings/pwm/pwm.h> 13 #include "mr_canhubk3-pinctrl.dtsi" 14 #include <zephyr/dt-bindings/sensor/qdec_nxp_s32.h> 17 model = "NXP MR-CANHUBK3"; 25 zephyr,code-partition = &code_partition; 27 zephyr,shell-uart = &lpuart2; [all …]
|
/Zephyr-Core-3.7.0/drivers/pwm/ |
D | pwm_mchp_xec_bbled.c | 4 * SPDX-License-Identifier: Apache-2.0 45 /* BBLED PWM mode uses the duty cycle to set the PWM frequency: 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 138 * LIMITS.MIN = duty cycle = [1, 254] 140 * DELAY.LO = pre-scaler = [0, 4095] 147 const struct pwm_bbled_xec_config * const cfg = dev->config; in xec_pwmbb_progam_pwm() [all …]
|
/Zephyr-Core-3.7.0/doc/releases/ |
D | release-notes-1.8.rst | 13 * Ecosystem: Tracing, debugging support through third-party tools (openocd, 39 * arm: Fixed nRF52840-QIAA SoC support for device tree 61 * Support for new ARM board FRDM-KL25Z 66 * arm: Added support for STM32F469I-DISCO board 67 * BBC micro:bit: Added driver & API for the 5x5 LED display 72 * UART interrupt-driver API is better defined 73 * Support for pull-style console API 89 * HTTP Basic-Auth support added 91 * Add block wise support to CoAP for well-known response 124 * Bluetooth 5.0: The Controller reports itself as 5.0-capable [all …]
|
D | release-notes-3.3.rst | 14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery) 17 CMSIS-DSP as the default backend. 30 * CVE-2023-0359: Under embargo until 2023-04-20 32 * CVE-2023-0779: Under embargo until 2023-04-22 66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding. 71 * Starting from this release ``zephyr-`` prefixed tags won't be created 82 image states). Use of a truncated hash or non-sha256 hash will still work 88 registration function at boot-up. If applications register this then 93 application code, these will now automatically be registered at boot-up (this 129 This may cause out-of-tree scripts or commands to fail if they have relied [all …]
|
/Zephyr-Core-3.7.0/drivers/sensor/vishay/vcnl4040/ |
D | vcnl4040.c | 4 * SPDX-License-Identifier: Apache-2.0 21 const struct vcnl4040_config *config = dev->config; in vcnl4040_read() 25 ret = i2c_write_read_dt(&config->i2c, in vcnl4040_read() 37 const struct vcnl4040_config *config = dev->config; in vcnl4040_write() 44 ret = i2c_write_dt(&config->i2c, buf, sizeof(buf)); in vcnl4040_write() 56 struct vcnl4040_data *data = dev->data; in vcnl4040_sample_fetch() 66 k_mutex_lock(&data->mutex, K_FOREVER); in vcnl4040_sample_fetch() 70 &data->proximity); in vcnl4040_sample_fetch() 79 &data->light); in vcnl4040_sample_fetch() 86 k_mutex_unlock(&data->mutex); in vcnl4040_sample_fetch() [all …]
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/ |
D | gap.h | 8 * SPDX-License-Identifier: Apache-2.0 42 #define BT_DATA_UUID16_SOME 0x02 /**< 16-bit UUID, more available */ 43 #define BT_DATA_UUID16_ALL 0x03 /**< 16-bit UUID, all listed */ 44 #define BT_DATA_UUID32_SOME 0x04 /**< 32-bit UUID, more available */ 45 #define BT_DATA_UUID32_ALL 0x05 /**< 32-bit UUID, all listed */ 46 #define BT_DATA_UUID128_SOME 0x06 /**< 128-bit UUID, more available */ 47 #define BT_DATA_UUID128_ALL 0x07 /**< 128-bit UUID, all listed */ 52 #define BT_DATA_SIMPLE_PAIRING_HASH_C192 0x0e /**< Simple Pairing Hash C-192 */ 53 #define BT_DATA_SIMPLE_PAIRING_RAND_C192 0x0f /**< Simple Pairing Randomizer R-192 */ 58 #define BT_DATA_SOLICIT16 0x14 /**< Solicit UUIDs, 16-bit */ [all …]
|