Home
last modified time | relevance | path

Searched refs:brightness (Results 1 – 25 of 34) sorted by relevance

12

/Zephyr-Core-3.4.0/drivers/auxdisplay/
Dauxdisplay_itron.c44 uint8_t brightness; member
124 data->brightness = 0; in auxdisplay_itron_init()
237 static int auxdisplay_itron_brightness_get(const struct device *dev, uint8_t *brightness) in auxdisplay_itron_brightness_get() argument
245 *brightness = data->brightness; in auxdisplay_itron_brightness_get()
254 static int auxdisplay_itron_brightness_set(const struct device *dev, uint8_t brightness) in auxdisplay_itron_brightness_set() argument
258 brightness}; in auxdisplay_itron_brightness_set()
261 if (brightness < AUXDISPLAY_ITRON_BRIGHTNESS_MIN || in auxdisplay_itron_brightness_set()
262 brightness > AUXDISPLAY_ITRON_BRIGHTNESS_MAX) { in auxdisplay_itron_brightness_set()
273 data->brightness = brightness; in auxdisplay_itron_brightness_set()
431 .brightness.minimum = AUXDISPLAY_ITRON_BRIGHTNESS_MIN, \
[all …]
Dauxdisplay_handlers.c97 uint8_t *brightness) in z_vrfy_auxdisplay_brightness_get() argument
100 return z_impl_auxdisplay_brightness_get(dev, brightness); in z_vrfy_auxdisplay_brightness_get()
105 uint8_t brightness) in z_vrfy_auxdisplay_brightness_set() argument
113 uint8_t brightness) in z_vrfy_auxdisplay_brightness_set() argument
Dauxdisplay_jhd1313.c357 .brightness.minimum = AUXDISPLAY_LIGHT_NOT_SUPPORTED, \
358 .brightness.maximum = AUXDISPLAY_LIGHT_NOT_SUPPORTED, \
Dauxdisplay_hd44780.c554 .brightness.minimum = AUXDISPLAY_LIGHT_NOT_SUPPORTED, \
555 .brightness.maximum = AUXDISPLAY_LIGHT_NOT_SUPPORTED, \
/Zephyr-Core-3.4.0/include/zephyr/drivers/
Dauxdisplay.h89 struct auxdisplay_light brightness; member
232 typedef int (*auxdisplay_brightness_get_t)(const struct device *dev, uint8_t *brightness);
239 typedef int (*auxdisplay_brightness_set_t)(const struct device *dev, uint8_t brightness);
611 uint8_t *brightness);
614 uint8_t *brightness) in z_impl_auxdisplay_brightness_get() argument
622 return api->brightness_get(dev, brightness); in z_impl_auxdisplay_brightness_get()
637 uint8_t brightness);
640 uint8_t brightness) in z_impl_auxdisplay_brightness_set() argument
648 return api->brightness_set(dev, brightness); in z_impl_auxdisplay_brightness_set()
Ddisplay.h175 const uint8_t brightness);
347 uint8_t brightness) in display_set_brightness() argument
352 return api->set_brightness(dev, brightness); in display_set_brightness()
/Zephyr-Core-3.4.0/samples/boards/nrf/nrf_led_matrix/src/
Dmain.c97 uint8_t brightness = 0; in show_all_brightness_levels() local
100 --brightness; in show_all_brightness_levels()
101 ret = display_set_brightness(dev, brightness); in show_all_brightness_levels()
108 } while (brightness); in show_all_brightness_levels()
/Zephyr-Core-3.4.0/samples/drivers/ht16k33/
DREADME.rst17 3. reduce the brightness gradually from 100% to 0%
18 4. turn off all LEDs, restore 100% brightness, and start over
/Zephyr-Core-3.4.0/samples/basic/fade_led/
DREADME.rst11 The LED starts off increases its brightness until it is fully or nearly fully
12 on. The brightness then decreases until the LED is off, completing on fade
/Zephyr-Core-3.4.0/samples/drivers/led_lp503x/
DREADME.rst15 led_set_{brightness,color} syscalls).
27 - set the brightness gradually to the maximum level
/Zephyr-Core-3.4.0/drivers/display/
Ddisplay_nrf_led_matrix.c110 uint8_t brightness; member
169 const uint8_t brightness) in api_set_brightness() argument
172 uint8_t new_brightness = CLAMP(brightness, 1, BRIGHTNESS_MAX); in api_set_brightness()
173 int16_t delta = (int16_t)new_brightness - dev_data->brightness; in api_set_brightness()
175 dev_data->brightness = new_brightness; in api_set_brightness()
267 (data & mask) ? dev_data->brightness : 0; in api_write()
529 .brightness = 0xFF,
DKconfig.nrf_led_matrix12 GPIOs. The driver allows setting one of 256 levels of brightness
Ddisplay_dummy.c84 const uint8_t brightness) in dummy_display_set_brightness() argument
Ddisplay_max7219.c235 static int max7219_set_brightness(const struct device *dev, const uint8_t brightness) in max7219_set_brightness() argument
243 ret = max7219_transmit_all(dev, MAX7219_REG_INTENSITY, brightness >> 4); in max7219_set_brightness()
Ddisplay_intel_multibootfb.c45 const uint8_t brightness) in framebuf_set_brightness() argument
Dls0xx.c222 const uint8_t brightness) in ls0xx_set_brightness() argument
Ddisplay_otm8009a.c600 static int otm8009a_set_brightness(const struct device *dev, uint8_t brightness) in otm8009a_set_brightness() argument
602 return otm8009a_dcs_write(dev, MIPI_DCS_SET_DISPLAY_BRIGHTNESS, &brightness, 1); in otm8009a_set_brightness()
Dssd1306.c300 const uint8_t brightness) in ssd1306_set_brightness() argument
Ddisplay_mcux_elcdif.c161 const uint8_t brightness) in mcux_elcdif_set_brightness() argument
Ddisplay_sdl.c336 const uint8_t brightness) in sdl_display_set_brightness() argument
/Zephyr-Core-3.4.0/samples/drivers/led_pca9633/
DREADME.rst14 3. set the brightness to 50%
/Zephyr-Core-3.4.0/drivers/led/
Dlp5562.c597 uint8_t brightness) in lp5562_program_set_brightness() argument
603 if ((brightness < dev_data->min_brightness) || in lp5562_program_set_brightness()
604 (brightness > dev_data->max_brightness)) { in lp5562_program_set_brightness()
608 val = (brightness * 0xFF) / dev_data->max_brightness; in lp5562_program_set_brightness()
/Zephyr-Core-3.4.0/samples/drivers/led_pwm/
DREADME.rst21 - Increasing brightness gradually
/Zephyr-Core-3.4.0/samples/basic/rgb_led/
DREADME.rst16 brightness. Three **for** loops (one for each component LED) generate a gradual
/Zephyr-Core-3.4.0/boards/arm/legend/
Dlegend.dts174 * possible to fool eyes and cameras with steady brightness

12