Home
last modified time | relevance | path

Searched +full:internal +full:- +full:pullup (Results 1 – 25 of 27) sorted by relevance

12

/Zephyr-latest/dts/bindings/w1/
Dadi,max32-w1.yaml1 # Copyright (c) 2023-2024 Analog Devices, Inc.
2 # SPDX-License-Identifier: Apache-2.0
4 description: ADI MAX32xxx MCUs 1-Wire Master
6 include: [w1-master.yaml, pinctrl-device.yaml]
8 compatible: "adi,max32-w1"
20 pinctrl-0:
23 pinctrl-names:
26 internal-pullup:
31 Set this field to enable the internal pullup resistor.
32 0 - Internal pullup disabled.
[all …]
/Zephyr-latest/tests/drivers/build_all/sensor/
Dadc.dtsi5 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/battery/battery.h>
16 io-channels = <&test_adc 0>;
21 compatible = "voltage-divider";
22 io-channels = <&test_adc 1>;
23 io-channel-names = "VOLTAGE";
24 output-ohms = <47000>; /* R1 */
25 full-ohms = <(100000 + 47000)>; /* R2 + R1 */
26 power-gpios = <&test_gpio 0 0>;
31 compatible = "current-sense-amplifier";
[all …]
/Zephyr-latest/tests/drivers/w1/w1_api/boards/
Dapard32690_max32690_m4.overlay4 * SPDX-License-Identifier: Apache-2.0
9 internal-pullup = <1>;
Dmax32666evkit_max32666_cpu0.overlay4 * SPDX-License-Identifier: Apache-2.0
9 internal-pullup = <1>;
Dmax32680evkit_max32680_m4.overlay4 * SPDX-License-Identifier: Apache-2.0
9 internal-pullup = <1>;
Dmax78002evkit_max78002_m4.overlay4 * SPDX-License-Identifier: Apache-2.0
9 internal-pullup = <1>;
Dmax32655evkit_max32655_m4.overlay2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
9 internal-pullup = <1>;
Dmax32666fthr_max32666_cpu0.overlay2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
9 internal-pullup = <1>;
Dmax32690evkit_max32690_m4.overlay2 * Copyright (c) 2023-2024 Analog Devices, Inc.
4 * SPDX-License-Identifier: Apache-2.0
9 internal-pullup = <1>;
/Zephyr-latest/dts/bindings/sensor/
Dhoneywell,hmc5883l.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Honeywell HMC5883L 3-axis magnetometer sensor
8 include: [sensor-device.yaml, i2c-device.yaml]
11 int-gpios:
12 type: phandle-array
15 This pin is active low, with an internal pullup in the sensor.
/Zephyr-latest/drivers/gpio/
Dgpio_kscan_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
13 #include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h>
42 const struct gpio_kscan_cfg *const config = dev->config; in gpio_kscan_it8xxx2_configure()
43 volatile uint8_t *reg_ksi_kso_gctrl = config->reg_ksi_kso_gctrl; in gpio_kscan_it8xxx2_configure()
44 volatile uint8_t *reg_ksi_kso_goen = config->reg_ksi_kso_goen; in gpio_kscan_it8xxx2_configure()
45 volatile uint8_t *reg_ksi_kso_gdat = config->reg_ksi_kso_gdat; in gpio_kscan_it8xxx2_configure()
46 volatile uint8_t *reg_ksi_kso_gpod = config->reg_ksi_kso_gpod; in gpio_kscan_it8xxx2_configure()
53 return -ENOTSUP; in gpio_kscan_it8xxx2_configure()
65 /* Set open-drain and enable internal pullup */ in gpio_kscan_it8xxx2_configure()
68 /* Set push-pull and disable internal pullup */ in gpio_kscan_it8xxx2_configure()
[all …]
Dgpio_ite_it8xxx2_v2.c4 * SPDX-License-Identifier: Apache-2.0
18 #include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h>
19 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
80 const struct gpio_ite_cfg *gpio_config = dev->config; in gpio_ite_configure()
81 volatile uint8_t *reg_gpdr = (uint8_t *)gpio_config->reg_gpdr; in gpio_ite_configure()
82 volatile uint8_t *reg_gpotr = (uint8_t *)gpio_config->reg_gpotr; in gpio_ite_configure()
83 volatile uint8_t *reg_p18scr = (uint8_t *)gpio_config->reg_p18scr; in gpio_ite_configure()
84 volatile uint8_t *reg_gpcr = (uint8_t *)gpio_config->reg_gpcr + pin; in gpio_ite_configure()
85 struct gpio_ite_data *data = dev->data; in gpio_ite_configure()
92 return -ENOTSUP; in gpio_ite_configure()
[all …]
Dgpio_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/gpio/ite-it8xxx2-gpio.h>
12 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
57 ((struct gpio_ite_data *)(dev)->data)
60 ((const struct gpio_ite_cfg *)(dev)->config)
63 * Convert wake-up controller (WUC) group to the corresponding wake-up edge
73 * From WUESR1-WUESR4, the address increases by ones. From WUESR5 on in wuesr()
77 (volatile uint8_t *)(IT8XXX2_WUC_WUESR1 + grp-1) : in wuesr()
78 (volatile uint8_t *)(IT8XXX2_WUC_WUESR5 + 4*(grp-5)); in wuesr()
82 * Convert wake-up controller (WUC) group to the corresponding wake-up edge
[all …]
/Zephyr-latest/dts/bindings/pinctrl/
Dite,it8xxx2-pinctrl-func.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "ite,it8xxx2-pinctrl-func"
11 func3-gcr:
14 func3-en-mask:
17 func3-ext:
21 the setting of func3-gcr, some pins require external setting.
23 func3-ext-mask:
26 func4-gcr:
29 func4-en-mask:
32 volt-sel:
[all …]
/Zephyr-latest/soc/raspberrypi/rpi_pico/common/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/pinctrl/rpi-pico-pinctrl-common.h>
24 /** Enable the internal pull up resistor */
25 uint32_t pullup : 1; member
26 /** Enable the internal pull down resistor */
30 /** Enable the internal schmitt trigger */
32 /** Output-enable override */
/Zephyr-latest/dts/bindings/sdhc/
Dnxp,imx-usdhc.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,imx-usdhc"
8 include: [sdhc.yaml, pinctrl-device.yaml]
14 data-timeout:
20 read-watermark:
26 write-watermark:
41 pwr-gpios:
42 type: phandle-array
49 cd-gpios:
50 type: phandle-array
[all …]
/Zephyr-latest/soc/ambiq/apollo3x/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo3-pinctrl.h>
22 /** Drive strength, relative to full-driver strength */
30 /** Enable the internal pull up resistor */
32 /** Enable the internal pull down resistor */
34 /** pullup resistor value */
/Zephyr-latest/soc/ambiq/apollo4x/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo4-pinctrl.h>
22 /** Drive strength, relative to full-driver strength */
32 /** Enable the internal pull up resistor */
34 /** Enable the internal pull down resistor */
36 /** pullup resistor value */
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
53 * KSO push-pull/open-drain bit of KSO[15:0] control register
58 * KSI/KSO pullup bit of KSI[7:0]/KSO[15:0] control register
74 const struct pinctrl_it8xxx2_config *pinctrl_config = pins->pinctrls->config; in pinctrl_it8xxx2_set()
75 const struct pinctrl_it8xxx2_gpio *gpio = &(pinctrl_config->gpio); in pinctrl_it8xxx2_set()
76 uint32_t pincfg = pins->pincfg; in pinctrl_it8xxx2_set()
77 uint8_t pin = pins->pin; in pinctrl_it8xxx2_set()
78 volatile uint8_t *reg_gpcr = (uint8_t *)gpio->reg_gpcr + pin; in pinctrl_it8xxx2_set()
79 volatile uint8_t *reg_volt_sel = (uint8_t *)(gpio->volt_sel[pin]); in pinctrl_it8xxx2_set()
80 volatile uint8_t *reg_pdsc = (uint8_t *)gpio->reg_pdsc; in pinctrl_it8xxx2_set()
[all …]
/Zephyr-latest/dts/bindings/gpio/
Dadi,max14916-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "adi,max14916-gpio"
10 "#gpio-cells":
17 drdy-gpios:
19 High-Side Open-Drain Output. READY is passive low when the internal
22 type: phandle-array
23 fault-gpios:
27 type: phandle-array
28 sync-gpios:
31 type: phandle-array
[all …]
Dadi,max14906-gpio.yaml3 # SPDX-License-Identifier: Apache-2.0
7 compatible: "adi,max14906-gpio"
10 "#gpio-cells":
17 drdy-gpios:
19 High-Side Open-Drain Output. READY is passive low when the internal
22 type: phandle-array
23 fault-gpios:
27 type: phandle-array
28 sync-gpios:
31 type: phandle-array
[all …]
/Zephyr-latest/boards/adi/max32672evkit/doc/
Dindex.rst6 of the MAX32672 microcontroller, which is a small, high-reliability, ultra-low power,
7 32-bit microcontroller. The MAX32672 is a secure and cost-effective solution
8 for motion/motor control, industrial sensors, and battery-powered medical devices and offers legacy
9 designs an easy, cost-optimal upgrade path from 8-bit or 16-bit microcontrollers.
16 - MAX32672 MCU:
18 - High-Efficiency Microcontroller for Low-Power High-Reliability Devices
20 - Arm Cortex-M4 Processor with FPU up to 100MHz
21 - 1MB Dual-Bank Flash with Error Correction
22 - 200KB SRAM (160KB with ECC Enabled), Optionally Preserved in Lowest Power Modes
23 - EEPROM Emulation on Flash
[all …]
/Zephyr-latest/drivers/sdhc/
Dimx_usdhc.c4 * SPDX-License-Identifier: Apache-2.0
101 struct usdhc_data *data = dev->data; in transfer_complete_cb()
104 data->transfer_status |= TRANSFER_DATA_FAILED; in transfer_complete_cb()
106 data->transfer_status |= TRANSFER_DATA_COMPLETE; in transfer_complete_cb()
108 data->transfer_status |= TRANSFER_CMD_FAILED; in transfer_complete_cb()
110 data->transfer_status |= TRANSFER_CMD_COMPLETE; in transfer_complete_cb()
112 k_sem_give(&data->transfer_sem); in transfer_complete_cb()
119 struct usdhc_data *data = dev->data; in sdio_interrupt_cb()
121 if (data->sdhc_cb) { in sdio_interrupt_cb()
122 data->sdhc_cb(dev, SDHC_INT_SDIO, data->sdhc_cb_user_data); in sdio_interrupt_cb()
[all …]
/Zephyr-latest/boards/actinius/icarus/doc/
Dindex.rst6 The Icarus is a cost-effective cellular IoT board in Adafruit's Feather/FeatherWing
8 LTE-M, NB-IoT, GPS, accelerometer, USB, LiPo charger as well as
12 ARM Cortex-M33F CPU, ARMv8-M Security Extension and the
19 * :abbr:`I2C (Inter-Integrated Circuit)`
26 * :abbr:`UARTE (Universal asynchronous receiver-transmitter with EasyDMA)`
33 The detailed information about the on-board hardware can be found at the `Icarus Product Website`_.
46 +------------+----------------------------+----------------------------------------------+---------…
47 | Icarus pin | Function | Description | Device-t…
49 | RST | Reset | Active low reset with internal pullup | -
50 +------------+----------------------------+----------------------------------------------+---------…
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_nrfx.c5 * SPDX-License-Identifier: Apache-2.0
25 #include <zephyr/dt-bindings/regulator/nrf5x.h>
232 * @param ready USBD Ready flag set after pullup
234 * @param drv_lock Mutex for thread-safe nrfx driver use
285 return get_usbd_ctx()->attached; in dev_attached()
290 return get_usbd_ctx()->ready; in dev_ready()
346 return &ctx->ep_ctx[EP_ISOIN_INDEX]; in endpoint_ctx()
348 return &ctx->ep_ctx[ep_num]; in endpoint_ctx()
352 return &ctx->ep_ctx[EP_ISOOUT_INDEX]; in endpoint_ctx()
354 return &ctx->ep_ctx[CFG_EPIN_CNT + in endpoint_ctx()
[all …]

12