Home
last modified time | relevance | path

Searched +full:input +full:- +full:negative (Results 1 – 25 of 167) sorted by relevance

1234567

/Zephyr-latest/tests/drivers/build_all/comparator/mcux_acmp/
Dmke15z7_mux_dac.dts4 * SPDX-License-Identifier: Apache-2.0
10 pinctrl-0 = <&cmp0_default>;
11 pinctrl-names = "default";
14 positive-mux-input = "IN0";
15 positive-port-input = "MUX";
16 negative-mux-input = "IN0";
17 negative-port-input = "DAC";
19 dac-vref-source = "VIN1";
20 dac-value = <128>;
21 dac-enable;
Dmimxrt1176_mux_dac.dts4 * SPDX-License-Identifier: Apache-2.0
11 drive-strength = "high";
12 bias-pull-up;
13 slew-rate = "fast";
20 pinctrl-0 = <&acmp1_default>;
21 pinctrl-names = "default";
23 positive-mux-input = "IN2";
24 positive-port-input = "MUX";
25 negative-mux-input = "IN2";
26 negative-port-input = "DAC";
[all …]
Dmke15z7_mux_mux.dts4 * SPDX-License-Identifier: Apache-2.0
10 pinctrl-0 = <&cmp0_default>;
11 pinctrl-names = "default";
14 positive-mux-input = "IN0";
15 negative-mux-input = "IN1";
Dmimxrt1176_mux_mux.dts4 * SPDX-License-Identifier: Apache-2.0
12 drive-strength = "high";
13 bias-pull-up;
14 slew-rate = "fast";
21 pinctrl-0 = <&acmp1_default>;
22 pinctrl-names = "default";
24 positive-mux-input = "IN1";
25 negative-mux-input = "IN2";
/Zephyr-latest/dts/bindings/comparator/
Dnxp,kinetis-acmp.yaml3 # SPDX-License-Identifier: Apache-2.0
11 compatible = "nxp,kinetis-acmp";
20 positive and negative inputs, and routing them using pinctrl:
32 pinctrl-0 = <&acmp0_default>;
33 pinctrl-names = "default";
35 positive-mux-input = "IN0";
36 negative-mux-input = "IN1";
39 compatible: "nxp,kinetis-acmp"
42 - base.yaml
43 - pinctrl-device.yaml
[all …]
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/boards/
Dfrdm_ke15z.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <nxp/kinetis/MKE17Z256VLL7-pinctrl.h>
8 #include <zephyr/dt-bindings/gpio/gpio.h>
16 test-comp = &cmp0;
20 test-gpios = <&gpioa 1 GPIO_ACTIVE_HIGH>;
32 drive-strength = "high";
38 pinctrl-0 = <&cmp0_default>;
39 pinctrl-names = "default";
42 positive-mux-input = "IN0";
43 positive-port-input = "MUX";
[all …]
/Zephyr-latest/include/zephyr/drivers/comparator/
Dnrf_comp.h4 * SPDX-License-Identifier: Apache-2.0
16 /** Positive input selection */
18 /** AIN0 external input */
20 /** AIN1 external input */
22 /** AIN2 external input */
24 /** AIN3 external input */
26 /** AIN4 external input */
28 /** AIN5 external input */
30 /** AIN6 external input */
32 /** AIN7 external input */
[all …]
/Zephyr-latest/include/zephyr/drivers/sensor/
Dmcux_acmp.h5 * SPDX-License-Identifier: Apache-2.0
70 * Analog Comparator Digital-to-Analog Converter voltage
74 /** Analog Comparator Digital-to-Analog Converter value. */
76 /** Analog Comparator positive port input. */
78 /** Analog Comparator positive mux input. */
80 /** Analog Comparator negative port input. */
82 /** Analog Comparator negative mux input. */
87 /** Analog Comparator Negative Channel Discrete Mode Enable. */
/Zephyr-latest/dts/bindings/adc/
Dadc-controller.yaml3 # SPDX-License-Identifier: Apache-2.0
10 "#io-channel-cells":
14 "#address-cells":
17 "#size-cells":
20 child-binding:
41 - ADC_GAIN_1_6: x 1/6
42 - ADC_GAIN_1_5: x 1/5
43 - ADC_GAIN_1_4: x 1/4
44 - ADC_GAIN_1_3: x 1/3
45 - ADC_GAIN_2_5: x 2/5
[all …]
/Zephyr-latest/include/zephyr/drivers/adc/
Dadc_npcx_threshold.h4 * SPDX-License-Identifier: Apache-2.0
38 * @brief Convert input value in millivolts to corresponding threshold register
45 * @param val_mv Input value in millivolts to be converted.
48 * @returns 0 on success, negative result if input cannot be converted due to
66 * @returns 0 on success, negative error code otherwise.
83 * @returns 0 on success, negative error code otherwise.
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dmain.h8 * SPDX-License-Identifier: Apache-2.0
52 /** Available Provisioning input authentication actions. */
57 BT_MESH_ENTER_NUMBER = BIT(2), /**< Input number */
58 BT_MESH_ENTER_STRING = BIT(3), /**< Input alphanumeric */
63 BT_MESH_PROV_ADV = BIT(0), /**< PB-ADV bearer */
64 BT_MESH_PROV_GATT = BIT(1), /**< PB-GATT bearer */
65 BT_MESH_PROV_REMOTE = BIT(2), /**< PB-Remote bearer */
72 BT_MESH_PROV_OOB_2D_CODE = BIT(2), /**< 2D machine-readable code */
77 BT_MESH_PROV_OOB_CERTIFICATE = BIT(7), /**< Support for certificate-based provisioning */
79 /* 9 - 10 are reserved */
[all …]
/Zephyr-latest/include/zephyr/bluetooth/audio/
Daics.h3 * @brief Bluetooth Audio Input Control Service APIs.
7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
9 * SPDX-License-Identifier: Apache-2.0
16 * @brief Audio Input Control Service (AICS)
18 * @defgroup bt_aics Audio Input Control Service (AICS)
26 * The Audio Input Control Service is a secondary service, and as such should not be used on its
30 * Note that the API abstracts away the change counter in the audio input control state and will
46 * @name Audio Input Control Service mute states
58 * @name Audio Input Control Service input modes
88 * @name Audio Input Control Service input types
[all …]
Dvcp.h7 * Copyright (c) 2020-2024 Nordic Semiconductor ASA
9 * SPDX-License-Identifier: Apache-2.0
52 * Defines the maximum number of Audio Input Control service instances for the
89 /** Initial step size (1-255) */
92 /** Initial mute state (0-1) */
95 /** Initial volume level (0-255) */
101 /** Register parameters for Audio Input Control Services */
121 /** Number of Audio Input Control Service instances */
123 /** Array of pointers to Audio Input Control Service instances */
133 * Audio Input Control Service (AICS) instances.
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/adc/
Dsmartbond-adc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/dt-util.h>
12 /* Values for DT zephyr,input-positive */
27 /* Values for DT zephyr,input-positive or input-negative */
36 /* Values for DT zephyr,input-positive only */
/Zephyr-latest/include/zephyr/audio/
Dcodec.h4 * SPDX-License-Identifier: Apache-2.0
53 AUDIO_PCM_WIDTH_16_BITS = 16, /**< 16-bit sample width */
54 AUDIO_PCM_WIDTH_20_BITS = 20, /**< 20-bit sample width */
55 AUDIO_PCM_WIDTH_24_BITS = 24, /**< 24-bit sample width */
56 AUDIO_PCM_WIDTH_32_BITS = 32, /**< 32-bit sample width */
77 AUDIO_PROPERTY_INPUT_VOLUME, /**< Input volume */
78 AUDIO_PROPERTY_INPUT_MUTE /**< Input mute/unmute */
123 uint32_t mclk_freq; /**< MCLK input frequency in Hz */
133 int vol; /**< Volume level (codec-specific) */
141 /** Output over-current */
[all …]
/Zephyr-latest/soc/nordic/common/
Ddmm.h3 * SPDX-License-Identifier: Apache-2.0
102 * @retval -ENOMEM If output buffer could not be allocated.
103 * @retval -errno Negative errno for other failures.
116 * @retval -errno Negative errno code on failure.
121 * @brief Prepare a DMA input buffer for the specified device
123 * Allocate an input buffer in memory region that given device can perform DMA transfers to.
139 * @retval -ENOMEM If input buffer could not be allocated.
140 * @retval -errno Negative errno for other failures.
145 * @brief Release the previously prepared DMA input buffer
147 * Invalidate data cache lines associated with input buffer, if needed.
[all …]
/Zephyr-latest/samples/shields/lmp90100_evb/rtd/
Dapp.overlay2 * Copyright (c) 2019-2024 Vestas Wind Systems A/S
4 * SPDX-License-Identifier: Apache-2.0
9 io-channels = <&lmp90100_lmp90100_evb 0>;
14 #address-cells = <1>;
15 #size-cells = <0>;
17 rtd-current = <1000>;
23 zephyr,acquisition-time = <ADC_ACQ_TIME(ADC_ACQ_TIME_TICKS, 0)>;
26 zephyr,input-positive = <0>;
27 zephyr,input-negative = <1>;
/Zephyr-latest/include/zephyr/crypto/
Dcrypto.h4 * SPDX-License-Identifier: Apache-2.0
116 api = (struct crypto_driver_api *) dev->api; in crypto_query_hwcaps()
118 tmp = api->query_hw_caps(dev); in crypto_query_hwcaps()
127 "Driver should support at least one op-type: sync/async"); in crypto_query_hwcaps()
160 * @return 0 on success, negative errno code on fail.
171 api = (struct crypto_driver_api *) dev->api; in cipher_begin_session()
172 ctx->device = dev; in cipher_begin_session()
173 ctx->ops.cipher_mode = mode; in cipher_begin_session()
175 flags = (ctx->flags & (CAP_OPAQUE_KEY_HNDL | CAP_RAW_KEY)); in cipher_begin_session()
180 flags = (ctx->flags & (CAP_INPLACE_OPS | CAP_SEPARATE_IO_BUFS)); in cipher_begin_session()
[all …]
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/
Dnrf52840dk_nrf52840.overlay2 * SPDX-License-Identifier: Apache-2.0
10 io-channels = <&adc 0>, <&adc 1>, <&adc 7>;
15 #address-cells = <1>;
16 #size-cells = <0>;
22 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
23 zephyr,input-positive = <NRF_SAADC_AIN1>; /* P0.03 */
31 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 zephyr,input-positive = <NRF_SAADC_VDD>;
41 zephyr,vref-mv = <750>;
42 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
[all …]
Dnrf54h20dk_nrf54h20_cpuapp.overlay2 * SPDX-License-Identifier: Apache-2.0
9 io-channels = <&adc 0>, <&adc 1>, <&adc 7>;
14 #address-cells = <1>;
15 #size-cells = <0>;
21 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
22 zephyr,input-positive = <NRF_SAADC_AIN1>; /* P1.01 */
30 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
31 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.02 */
40 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
41 zephyr,input-positive = <NRF_SAADC_AIN3>; /* P1.03 */
[all …]
Dnrf54l15dk_nrf54l15_cpuapp.overlay2 * SPDX-License-Identifier: Apache-2.0
9 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 7>;
14 #address-cells = <1>;
15 #size-cells = <0>;
21 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
22 zephyr,input-positive = <NRF_SAADC_AIN4>; /* P1.11 */
30 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
31 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.06 */
40 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
41 zephyr,input-positive = <NRF_SAADC_VDD>;
[all …]
/Zephyr-latest/samples/drivers/adc/adc_sequence/boards/
Dnrf54h20dk_nrf54h20_cpuapp.overlay2 * SPDX-License-Identifier: Apache-2.0
15 io-channels = <&adc 0>, <&adc 1>, <&adc 7>;
20 #address-cells = <1>;
21 #size-cells = <0>;
27 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
28 zephyr,input-positive = <NRF_SAADC_AIN1>; /* P1.01 */
36 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
37 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.02 */
46 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
47 zephyr,input-positive = <NRF_SAADC_AIN3>; /* P1.03 */
[all …]
Dnrf54l15dk_nrf54l15_cpuapp.overlay2 * SPDX-License-Identifier: Apache-2.0
9 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 7>;
20 #address-cells = <1>;
21 #size-cells = <0>;
27 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
28 zephyr,input-positive = <NRF_SAADC_AIN4>; /* P1.11 */
36 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
37 zephyr,input-positive = <NRF_SAADC_AIN2>; /* P1.06 */
46 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
47 zephyr,input-positive = <NRF_SAADC_DVDD>; /* 0.9 V internal */
[all …]
Dmimxrt595_evk_cm33.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/adc/mcux-lpadc.h>
16 #address-cells = <1>;
17 #size-cells = <0>;
21 * LPADC0 CH0A and CH0B are set up in differential mode (B-A)
22 * - Connect LPADC0 CH0A signal to voltage between 0~1.8V (J30 pin 1)
23 * - Connect LPADC0 CH0B signal to voltage between 0~1.8V (J30 pin 2)
25 * - Connect LPADC0 CH2A signal to voltage between 0~1.8V (J30 pin 3)
32 zephyr,vref-mv = <1800>;
33 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
[all …]
/Zephyr-latest/samples/sensor/mcux_acmp/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
43 /* Positive input port set to MUX */
46 /* Positive input channel */
50 /* Negative input port set to DAC */
53 /* Negative input channel */
83 printf("ACMP input above threshold\n"); in acmp_input_handler()
85 printf("ACMP input below threshold\n"); in acmp_input_handler()
94 acmp_input_handler((int16_t)trigger->type == in acmp_trigger_handler()
137 printf("Adjust ACMP input voltage by turning the potentiometer\n"); in main()

1234567