Home
last modified time | relevance | path

Searched refs:ch_buf (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/drivers/led/lp5569/src/
Dmain.c21 uint8_t ch_buf[9] = {0}; in main() local
68 memset(ch_buf, 255, ARRAY_SIZE(ch_buf)); in main()
69 ret = led_write_channels(led_dev, 0, ARRAY_SIZE(ch_buf), ch_buf); in main()
77 memset(ch_buf, 0, ARRAY_SIZE(ch_buf)); in main()
78 ret = led_write_channels(led_dev, 0, ARRAY_SIZE(ch_buf), ch_buf); in main()
/Zephyr-latest/samples/sensor/fdc2x1x/src/
Dmain.c65 struct sensor_value ch_buf[] = { in main() local
69 uint8_t num_ch = ARRAY_SIZE(ch_buf); in main()
121 sensor_channel_get(dev, base++, &ch_buf[i]); in main()
122 printf("ch%d: %f MHz ", i, sensor_value_to_double(&ch_buf[i])); in main()
128 sensor_channel_get(dev, base++, &ch_buf[i]); in main()
129 printf("ch%d: %f pF ", i, sensor_value_to_double(&ch_buf[i])); in main()