Home
last modified time | relevance | path

Searched +full:chsel +full:- +full:bit (Results 1 – 8 of 8) sorted by relevance

/Zephyr-Core-3.5.0/dts/bindings/tach/
Dite,it8xxx2-tach.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "ite,it8xxx2-tach"
8 include: [tach.yaml, pinctrl-device.yaml]
14 dvs-bit:
17 description: tachometer data valid bit of tswctlr register
19 chsel-bit:
22 description: tachometer data valid status bit of tswctlr register
28 - 0
29 - 1
32 pulses-per-round:
[all …]
/Zephyr-Core-3.5.0/dts/bindings/adc/
Dmaxim,max11102.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Maxim Integrated 2 channels 12 bit 2 Msps SPI ADC
8 include: maxim,max11102-17-base.yaml
11 chsel-gpios:
12 type: phandle-array
Dmaxim,max11103.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Maxim Integrated 2 channels 12 bit 3 Msps SPI ADC
8 include: maxim,max11102-17-base.yaml
11 chsel-gpios:
12 type: phandle-array
Dmaxim,max11106.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Maxim Integrated 2 channels 10 bit 3 Msps SPI ADC
8 include: maxim,max11102-17-base.yaml
11 chsel-gpios:
12 type: phandle-array
Dmaxim,max11111.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Maxim Integrated 2 channels 8 bit 3 Msps SPI ADC
8 include: maxim,max11102-17-base.yaml
11 chsel-gpios:
12 type: phandle-array
/Zephyr-Core-3.5.0/drivers/adc/
Dadc_max11102_17.c4 * SPDX-License-Identifier: Apache-2.0
44 const struct max11102_17_config *config = dev->config; in max11102_17_switch_channel()
45 struct max11102_17_data *data = dev->data; in max11102_17_switch_channel()
58 memcpy(&bus, &config->bus, sizeof(bus)); in max11102_17_switch_channel()
67 gpio_pin_set_dt(&config->gpio_chsel, data->current_channel_id); in max11102_17_switch_channel()
69 result = spi_read_dt(&config->bus, &rx); in max11102_17_switch_channel()
81 const struct max11102_17_config *config = dev->config; in max11102_17_channel_setup()
83 LOG_DBG("read from ADC channel %i", channel_cfg->channel_id); in max11102_17_channel_setup()
85 if (channel_cfg->reference != ADC_REF_EXTERNAL0) { in max11102_17_channel_setup()
86 LOG_ERR("invalid reference %i", channel_cfg->reference); in max11102_17_channel_setup()
[all …]
/Zephyr-Core-3.5.0/dts/riscv/ite/
Dit8xxx2.dtsi3 * Copyright (c) 2019-2020 Jyunlin Chen <jyunlin.chen@ite.com.tw>
5 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/dt-util.h>
10 #include <zephyr/dt-bindings/adc/adc.h>
11 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
12 #include <zephyr/dt-bindings/interrupt-controller/it8xxx2-wuc.h>
13 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #include <zephyr/dt-bindings/i2c/it8xxx2-i2c.h>
15 #include <zephyr/dt-bindings/pinctrl/it8xxx2-pinctrl.h>
16 #include <zephyr/dt-bindings/pwm/pwm.h>
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_scan_aux.c4 * SPDX-License-Identifier: Apache-2.0
114 LL_ASSERT(!err || err == -EINPROGRESS); in lll_scan_aux_prepare()
134 LL_ASSERT(pdu->type == PDU_ADV_TYPE_EXT_IND); in lll_scan_aux_setup()
137 pri_com_hdr = (void *)&pdu->adv_ext_ind; in lll_scan_aux_setup()
138 if (!pdu->len || !pri_com_hdr->ext_hdr_len) { in lll_scan_aux_setup()
143 pri_hdr = (void *)pri_com_hdr->ext_hdr_adv_data; in lll_scan_aux_setup()
144 pri_dptr = pri_hdr->data; in lll_scan_aux_setup()
147 if (pri_hdr->adv_addr) { in lll_scan_aux_setup()
152 if (pri_hdr->tgt_addr) { in lll_scan_aux_setup()
157 if (pri_hdr->cte_info) { in lll_scan_aux_setup()
[all …]