Home
last modified time | relevance | path

Searched full:mv (Results 1 – 25 of 233) sorted by relevance

12345678910

/Zephyr-latest/include/zephyr/dt-bindings/usb-c/
Dpd.h32 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */
35 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument
38 #define PDO_FIXED(mv, ma, flags) \ argument
40 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma))
42 #define VSAFE5V 5000 /* mv units */
44 #define PDO_BATT_MAX_VOLT_SHIFT 20 /* 50mV units */
45 #define PDO_BATT_MIN_VOLT_SHIFT 10 /* 50mV units */
48 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument
49 #define PDO_BATT_MAX_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MAX_VOLT_SHIFT) argument
56 #define PDO_VAR_MAX_VOLT_SHIFT 20 /* 50mV units */
[all …]
/Zephyr-latest/dts/bindings/adc/
Dzephyr,adc-emul.yaml16 ref-internal-mv:
20 Internal reference voltage in mV. If not provided or set to zero,
23 ref-vdd-mv:
27 VDD reference voltage in mV. If not provided or set to zero,
30 ref-external0-mv:
34 External 0 reference voltage in mV. If not provided or set to zero,
37 ref-external1-mv:
41 External 1 reference voltage in mV. If not provided or set to zero,
Draspberrypi,pico-adc.yaml14 vref-mv:
18 Indicate the reference voltage of the ADC in mV.
21 In such case, set this property to the VDD (in mV) value.
Dambiq,adc.yaml21 internal-vref-mv:
24 description: Indicates the reference voltage of the ADC in mV.
Dnuvoton,npcx-adc.yaml19 vref-mv:
22 description: ADC reference voltage (Unit:mV)
/Zephyr-latest/samples/drivers/adc/adc_sequence/
DREADME.rst54 - - 36 = 65mV
55 - - 35 = 63mV
56 - - 36 = 65mV
57 - - 35 = 63mV
58 - - 36 = 65mV
60 - - 0 = 0mV
61 - - 0 = 0mV
62 - - 1 = 1mV
63 - - 0 = 0mV
64 - - 1 = 1mV
Dsample.yaml25 - "- - \\d+ (= \\d+mV)|(\\(value in mV not available\\))"
/Zephyr-latest/dts/bindings/sensor/
Dmaxim,max17262.yaml17 description: Battery Design Voltage in mV (3300 to 4400)
22 description: Battery Desired Voltage in mV (3300 to 4400)
37 description: Empty voltage target during load in mV (default 3300)
42 description: The voltage level for clearing empty detection in mV (default 3880)
47 description: Charge voltage in mV
Dmaxim,max17055.yaml22 description: Battery Design Voltage in mV (3300 to 4400)
27 description: Battery Desired Voltage in mV (3300 to 4400)
48 description: The empty voltage of the cell in mV
Dti,ina219.yaml42 0 = 1 -> ±40 mV
43 1 = /2 -> ±80 mV
44 2 = /4 -> ±160 mV
45 3 = /8 -> ±320 mV
47 The default of ±320 mV is the power-on reset value of the device.
Dmicrochip,mcp970x.yaml24 MCP9700/9700A - 10.0mV
25 MCP9701/9701A - 19.5mV
/Zephyr-latest/arch/riscv/core/
Dswitch.S59 mv s0, a0
61 mv a0, s0
66 mv s0, a0
68 mv a0, s0
78 mv s0, a0
80 mv a0, s0
85 mv s0, a0
87 mv a0, s0
/Zephyr-latest/samples/shields/npm6001_ek/doc/
Dindex.rst67 1200 mV
68 1250 mV
69 1300 mV
70 1350 mV
71 1400 mV
82 # set BUCK3 voltage to exactly 3000 mV
86 3000 mV
87 # set BUCK0 voltage to a value between 2350 mV and 2450 mV
91 2400 mV
/Zephyr-latest/dts/bindings/input/
Dadc-keys.yaml19 keyup-threshold-mv = <0>;
22 press-thresholds-mv = <1650>, /* KEY0 */
28 press-thresholds-mv = <2300>, /* KEY1 */
52 keyup-threshold-mv:
61 press-thresholds-mv:
/Zephyr-latest/drivers/sensor/maxim/max17262/
Dmax17262.h51 /* Current cell voltage in units of 1.25/16mV */
81 /* Design voltage of cell in mV */
83 /* Desired voltage of cell in mV */
89 /* Empty voltage detection in mV */
91 /* Recovery voltage detection in mV */
93 /* Defined charge voltage value in mV */
/Zephyr-latest/tests/drivers/adc/adc_rescale/boards/
Dnative_sim.overlay33 ref-internal-mv = <3300>;
34 ref-external1-mv = <5000>;
48 zephyr,vref-mv = <3300>;
57 zephyr,vref-mv = <3300>;
66 zephyr,vref-mv = <3300>;
/Zephyr-latest/boards/st/stm32c0116_dk/
Dstm32c0116_dk.dts52 keyup-threshold-mv = <3300>;
55 press-thresholds-mv = <0>;
60 press-thresholds-mv = <670>;
65 press-thresholds-mv = <1320>;
70 press-thresholds-mv = <2010>;
75 press-thresholds-mv = <2650>;
157 zephyr,vref-mv = <3300>;
/Zephyr-latest/samples/boards/nordic/battery/
DREADME.rst87 [0:00:00.016]: 4078 mV; 10000 pptt
88 [0:00:04.999]: 4078 mV; 10000 pptt
89 [0:00:09.970]: 4078 mV; 10000 pptt
90 [0:00:14.939]: 4069 mV; 10000 pptt
91 [0:00:19.910]: 4078 mV; 10000 pptt
92 [0:00:24.880]: 4069 mV; 10000 pptt
/Zephyr-latest/drivers/sensor/maxim/max17055/
Dmax17055.h48 /* Current cell voltage in units of 1.25/16mV */
50 /* Current cell open circuit voltage in units of 1.25/16mV */
78 /* Design voltage of cell in mV */
80 /* Desired voltage of cell in mV */
86 /* The empty voltage of the cell in mV */
/Zephyr-latest/tests/drivers/adc/adc_emul/
Dapp.overlay8 ref-internal-mv = <3300>;
9 ref-external1-mv = <5000>;
/Zephyr-latest/drivers/sensor/lm35/
Dlm35.c53 int32_t mv = data->raw; in lm35_channel_get() local
56 cfg->adc_seq.resolution, &mv); in lm35_channel_get()
61 /* LM35 computes linearly 10mV per 1 degree C */ in lm35_channel_get()
62 val->val1 = mv / 10; in lm35_channel_get()
63 val->val2 = (mv % 10) * 100000; in lm35_channel_get()
/Zephyr-latest/drivers/adc/
DKconfig.it8xxx214 Voltage range 0 to 3000mV.
24 voltage as full-scale 3300mV.
/Zephyr-latest/include/zephyr/arch/riscv/
Dreg.h15 __asm__ volatile("mv %0, " STRINGIFY(reg) : "=r"(__rv)); \
19 #define reg_write(reg, val) ({ __asm__("mv " STRINGIFY(reg) ", %0" : : "r"(val)); })
/Zephyr-latest/tests/drivers/adc/adc_api/boards/
Dlpcxpresso55s69_lpc55s69_cpu0.overlay27 zephyr,vref-mv = <3300>;
41 zephyr,vref-mv = <3300>;
55 zephyr,vref-mv = <3300>;
Dlpcxpresso55s69_lpc55s69_cpu0_ns.overlay27 zephyr,vref-mv = <3300>;
41 zephyr,vref-mv = <3300>;
55 zephyr,vref-mv = <3300>;

12345678910