Home
last modified time | relevance | path

Searched +full:full +full:- +full:current (Results 1 – 25 of 377) sorted by relevance

12345678910>>...16

/Zephyr-latest/dts/bindings/sensor/
Dti,fdc2x1x.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 sd-gpios:
12 type: phandle-array
18 intb-gpios:
19 type: phandle-array
28 Set to identify the sensor as FDC2114 or FDC2214 (4-channel version)
33 Set the Auto-Scan Mode.
36 "active-channel" (single channel mode).
38 true = Auto-Scan conversions as selected by "rr-sequence"
[all …]
/Zephyr-latest/drivers/sensor/
Dshell_battery.c4 * SPDX-License-Identifier: Apache-2.0
19 * first is the sensor channel to read (-1 to terminate the list)
36 if (chan == -1) { in get_channels()
54 struct sensor_value temp, volt, current, i_desired, charge_remain; in cmd_battery() local
56 struct sensor_value full, empty; in cmd_battery() local
63 return -ENODEV; in cmd_battery()
74 SENSOR_CHAN_GAUGE_AVG_CURRENT, &current, in cmd_battery()
84 SENSOR_CHAN_GAUGE_TIME_TO_FULL, &full, in cmd_battery()
86 -1); in cmd_battery()
95 shell_fprintf(sh, SHELL_NORMAL, "V-desired: %d.%02d V\n", in cmd_battery()
[all …]
/Zephyr-latest/samples/sensor/bq274xx/
DREADME.rst1 .. zephyr:code-sample:: bq274xx
3 :relevant-api: sensor_interface
12 - Voltage, in volts
13 - Average current, in amps
14 - Standby current, in amps
15 - Maximum load current, in amps
16 - Gauge temperature
17 - State of charge measurement in percentage
18 - Full Charge Capacity in mAh
19 - Remaining Charge Capacity in mAh
[all …]
/Zephyr-latest/dts/bindings/adc/
Dnxp,gau-adc.yaml2 # SPDX-License-Identifier: Apache-2.0
7 compatible: "nxp,gau-adc"
10 - name: base.yaml
11 - name: adc-controller.yaml
20 nxp,clock-divider:
27 nxp,power-mode:
30 Current bias.
31 Default is "full-bias" because it is the reset value.
33 - "full-bias"
34 - "half-bias"
[all …]
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.h4 * SPDX-License-Identifier: Apache-2.0
48 /* Current cell voltage in units of 1.25/16mV */
50 /* Current cell open circuit voltage in units of 1.25/16mV */
52 /* Average current in units of 1.5625uV / Rsense */
58 /* Full charge capacity in 5/Rsense uA */
64 /* Time to full in units of 5.625s */
82 /* Desired charging current in mA */
84 /* The charge termination current in uA */
/Zephyr-latest/drivers/sensor/maxim/max17262/
Dmax17262.h4 * SPDX-License-Identifier: Apache-2.0
51 /* Current cell voltage in units of 1.25/16mV */
53 /* Average current in units of 156.25uA */
55 /* Desired charging current in mA */
61 /* Full charge capacity in mAh */
67 /* Time to full in seconds */
85 /* Desired charging current in mA */
DKconfig3 # SPDX-License-Identifier: Apache-2.0
11 Enable I2C-based driver for MAX17262 Fuel Gauge. This driver supports
12 reading various sensor settings including voltage, current, temperature,
13 time to full/empty and remaining capacity in mAh.
/Zephyr-latest/samples/sensor/bq274xx/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
15 value.val2 = -(value.val2); in bq274xx_show_values()
16 printk("%s: -%d.%06d\n", type, value.val1, value.val2); in bq274xx_show_values()
20 value.val2 = -(value.val2); in bq274xx_show_values()
30 struct sensor_value voltage, current, state_of_charge, in do_main() local
54 printk("Unable to fetch the Average current\n"); in do_main()
59 &current); in do_main()
61 printk("Unable to get the current value\n"); in do_main()
65 bq274xx_show_values("Avg Current in Amps", current); in do_main()
70 printk("Unable to fetch Standby Current\n"); in do_main()
[all …]
/Zephyr-latest/dts/bindings/battery/
Dbattery.yaml2 # SPDX-License-Identifier: Apache-2.0
11 device-chemistry:
14 The "lithium-ion" value is a blanket type for all lithium-ion batteries.
16 the precise "lithium-ion-X" options.
18 - "nickel-cadmium"
19 - "nickel-metal-hydride"
20 - "lithium-ion"
21 - "lithium-ion-polymer"
22 - "lithium-ion-iron-phosphate"
23 - "lithium-ion-manganese-oxide"
[all …]
/Zephyr-latest/drivers/sensor/maxim/max30101/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
32 bool "FIFO rolls on full"
41 int "FIFO almost full value"
63 bool "Multi-LED mode"
65 Set to operate in multi-LED mode. The green, red, and/or IR LED
75 Set the ADC's full-scale range.
104 Set the pulse amplitude to control the LED1 (red) current. The actual
105 measured LED current for each part can vary significantly due to the
118 Set the pulse amplitude to control the LED2 (IR) current. The actual
119 measured LED current for each part can vary significantly due to the
[all …]
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_md.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief GPTP Media Dependent interface for full duplex and point to point
29 /* Time of the current grandmaster compared to the previous. */
41 /* Frequency of the current grandmaster compared to the previous. */
50 /* Time Base Indicator of the current Grand Master. */
53 /** Current Log Sync Interval for this port. */
/Zephyr-latest/include/zephyr/drivers/timer/
Dsystem_timer.h5 * SPDX-License-Identifier: Apache-2.0
36 * from the current time have elapsed. Note that spurious calls
59 * ticks and real-world time must be correct.
105 * Queries the clock driver for the current time elapsed since the
128 * user-facing API is owned by the architecture, not the driver. The
132 * If the counter clock is large enough for this to wrap its full range
137 * @return The current cycle time. This should count up monotonically
138 * through the full 32 bit space, wrapping at 0xffffffff. Hardware
153 * its full range within a few seconds (i.e. CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
156 * @return The current cycle time. This should count up monotonically
[all …]
/Zephyr-latest/samples/tfm_integration/psa_crypto/src/
Dutil_sformat.c4 * SPDX-License-Identifier: Apache-2.0
20 len--; in sf_hex_ascii()
28 uint32_t cpos; /* Current position. */ in sf_hex_tabulate_16()
29 uint32_t ca; /* Current address. */ in sf_hex_tabulate_16()
37 ea = fmt->addr + len; in sf_hex_tabulate_16()
40 if (fmt->addr_label) { in sf_hex_tabulate_16()
46 printf("%08X ", fmt->addr - (fmt->addr % 16)); in sf_hex_tabulate_16()
50 cpos = fmt->addr % 16; in sf_hex_tabulate_16()
59 ca = fmt->addr; in sf_hex_tabulate_16()
61 /* Print the current value. */ in sf_hex_tabulate_16()
[all …]
/Zephyr-latest/samples/drivers/led/is31fl3733/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
25 /* Set all LEDs to full brightness */ in led_channel_write()
26 printk("Set all LEDs to full brightness\n"); in led_channel_write()
119 printk("Error- LED device is not ready\n"); in main()
137 /* Select lower current limt */ in main()
138 printk("Restarting sample with lower current limit\n"); in main()
142 printk("Could not set LED current limit (%d)\n", ret); in main()
146 /* Select higher current limt */ in main()
147 printk("Restarting sample with higher current limit\n"); in main()
151 printk("Could not set LED current limit (%d)\n", ret); in main()
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dprep_c.c2 * Copyright (c) 2013-2014 Wind River Systems, Inc.
3 * Copyright 2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
5 * SPDX-License-Identifier: Apache-2.0
10 * @brief Full C support initialization
13 * Initialization of full C support: zero the .bss, copy the .data if XIP,
22 #include <zephyr/linker/linker-defs.h>
47 * CPACR : Coprocessor Access Control Register -> CP15 1/0/2 in z_arm_floating_point_init()
48 * comp. ARM Architecture Reference Manual, ARMv7-A and ARMv7-R edition, in z_arm_floating_point_init()
54 * 11b = Full access as defined for the respective CP, in z_arm_floating_point_init()
66 * FPEXC: Floating-Point Exception Control register in z_arm_floating_point_init()
[all …]
/Zephyr-latest/dts/bindings/serial/
Dzephyr,native-tty-uart.yaml3 include: uart-controller.yaml
5 compatible: "zephyr,native-tty-uart"
9 serial-port:
12 Full path to the serial port device, such as "/dev/ttyUSB0" or
14 current-speed:
19 - 1200
20 - 1800
21 - 2400
22 - 4800
23 - 9600
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/transport/
Dsmp_dummy.h3 * Copyright Laird Connectivity 2021-2022. All rights reserved.
5 * SPDX-License-Identifier: Apache-2.0
46 * returns either when a full message is ready or when the timeout has
61 * @brief Gets current send buffer position
63 * @retval Current send buffer position (in bytes)
68 * @brief Gets current receive buffer position
70 * @retval Current receive buffer position (in bytes)
/Zephyr-latest/tests/drivers/adc/adc_rescale/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/adc/adc.h>
11 compatible = "voltage-divider";
12 io-channels = <&adc0 0>;
13 output-ohms = <50>;
14 full-ohms = <100>;
18 compatible = "current-sense-shunt";
19 io-channels = <&adc0 1>;
20 shunt-resistor-micro-ohms = <500000>;
24 compatible = "current-sense-amplifier";
[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/boards/particle/argon/
Dparticle_argon.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "particle_argon-pinctrl.dtsi"
19 vctl1-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
20 vctl2-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
24 compatible = "voltage-divider";
25 io-channels = <&adc 3>;
26 output-ohms = <2100000>;
27 full-ohms = <(2100000 + 806000)>;
36 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
[all …]
/Zephyr-latest/boards/particle/xenon/
Dparticle_xenon.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
11 #include "particle_xenon-pinctrl.dtsi"
19 vctl1-gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
20 vctl2-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>;
24 compatible = "voltage-divider";
25 io-channels = <&adc 3>;
26 output-ohms = <2100000>;
27 full-ohms = <(2100000 + 806000)>;
36 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
[all …]
/Zephyr-latest/samples/subsys/ipc/openamp/remote/boards/
Dmimxrt1170_evk_mimxrt1176_cm4_B.overlay4 * SPDX-License-Identifier: Apache-2.0
12 zephyr,shell-uart = &lpuart2;
17 /delete-node/ gpt@400f0000;
21 compatible = "nxp,gpt-hw-timer";
28 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
33 compatible = "zephyr,memory-region", "mmio-sram";
35 zephyr,memory-region="OCRAM2_OVERLAY";
36 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
43 current-speed = <115200>;
Dmimxrt1160_evk_mimxrt1166_cm4.overlay2 * Copyright 2022-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
14 zephyr,shell-uart = &lpuart2;
19 /delete-node/ gpt@400f0000;
23 compatible = "nxp,gpt-hw-timer";
30 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
35 compatible = "zephyr,memory-region", "mmio-sram";
37 zephyr,memory-region="OCRAM2_OVERLAY";
38 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
[all …]
Dmimxrt1170_evk_mimxrt1176_cm4.overlay2 * Copyright 2022-2023 NXP
4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
14 zephyr,shell-uart = &lpuart2;
19 /delete-node/ gpt@400f0000;
23 compatible = "nxp,gpt-hw-timer";
30 /* OpenAMP fails with full 512K OCRAM2 memory region as shared memory.
35 compatible = "zephyr,memory-region", "mmio-sram";
37 zephyr,memory-region="OCRAM2_OVERLAY";
38 zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
[all …]
/Zephyr-latest/boards/intel/socfpga/agilex5_socdk/
Dintel_socfpga_agilex5_socdk.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
13 compatible = "intel,socfpga-agilex5";
14 #address-cells = <1>;
15 #size-cells = <1>;
19 zephyr,shell-uart = &uart0;
28 compatible = "zephyr,sdmmc-disk";
29 disk-name = "SD";
36 current-speed = <115200>;
40 full-duplex-mode-en;
[all …]

12345678910>>...16