Home
last modified time | relevance | path

Searched +full:channel0 +full:- +full:gain (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/dts/bindings/dac/
Dti,dacx0508-base.yaml2 # SPDX-License-Identifier: Apache-2.0
4 include: [dac-controller.yaml, spi-device.yaml]
7 voltage-reference:
13 See constants in dt-bindings/dac/dacx0508.h.
15 channel0-gain:
19 Channel 0 gain select
21 See constants in dt-bindings/dac/dacx0508.h.
23 channel1-gain:
27 Channel 1 gain select
29 See constants in dt-bindings/dac/dacx0508.h.
[all …]
/Zephyr-latest/drivers/sensor/ams/tsl2561/
Dtsl2561.c4 * SPDX-License-Identifier: Apache-2.0
92 uint8_t gain; member
104 const struct tsl2561_config *config = dev->config; in tsl2561_reg_read()
107 ret = i2c_write_read_dt(&config->i2c, &cmd, 1U, buf, size); in tsl2561_reg_read()
119 const struct tsl2561_config *config = dev->config; in tsl2561_reg_write()
125 ret = i2c_write_dt(&config->i2c, buf, 2U); in tsl2561_reg_write()
136 const struct tsl2561_config *config = dev->config; in tsl2561_sample_fetch()
137 struct tsl2561_data *data = dev->data; in tsl2561_sample_fetch()
143 return -ENOTSUP; in tsl2561_sample_fetch()
155 k_msleep(config->integration_time); in tsl2561_sample_fetch()
[all …]
/Zephyr-latest/tests/drivers/build_all/dac/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
9 * with real-world devicetree nodes, to allow these tests to run on
15 #address-cells = <1>;
16 #size-cells = <1>;
20 gpio-controller;
22 #gpio-cells = <0x2>;
27 #address-cells = <1>;
28 #size-cells = <0>;
32 clock-frequency = <100000>;
37 #io-channel-cells = <1>;
[all …]