/Zephyr-latest/include/zephyr/dt-bindings/usb-c/ |
D | pd.h | 32 #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/ |
D | zephyr,adc-emul.yaml | 16 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,
|
D | raspberrypi,pico-adc.yaml | 14 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.
|
D | ambiq,adc.yaml | 21 internal-vref-mv: 24 description: Indicates the reference voltage of the ADC in mV.
|
D | nuvoton,npcx-adc.yaml | 19 vref-mv: 22 description: ADC reference voltage (Unit:mV)
|
/Zephyr-latest/samples/drivers/adc/adc_sequence/ |
D | README.rst | 54 - - 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
|
D | sample.yaml | 25 - "- - \\d+ (= \\d+mV)|(\\(value in mV not available\\))"
|
/Zephyr-latest/dts/bindings/sensor/ |
D | maxim,max17262.yaml | 17 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
|
D | maxim,max17055.yaml | 22 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
|
D | ti,ina219.yaml | 42 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.
|
D | microchip,mcp970x.yaml | 24 MCP9700/9700A - 10.0mV 25 MCP9701/9701A - 19.5mV
|
/Zephyr-latest/arch/riscv/core/ |
D | switch.S | 59 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/ |
D | index.rst | 67 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/ |
D | adc-keys.yaml | 19 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/ |
D | max17262.h | 51 /* 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/ |
D | native_sim.overlay | 33 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/ |
D | stm32c0116_dk.dts | 52 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/ |
D | README.rst | 87 [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/ |
D | max17055.h | 48 /* 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/ |
D | app.overlay | 8 ref-internal-mv = <3300>; 9 ref-external1-mv = <5000>;
|
/Zephyr-latest/drivers/sensor/lm35/ |
D | lm35.c | 53 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/ |
D | Kconfig.it8xxx2 | 14 Voltage range 0 to 3000mV. 24 voltage as full-scale 3300mV.
|
/Zephyr-latest/include/zephyr/arch/riscv/ |
D | reg.h | 15 __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/ |
D | lpcxpresso55s69_lpc55s69_cpu0.overlay | 27 zephyr,vref-mv = <3300>; 41 zephyr,vref-mv = <3300>; 55 zephyr,vref-mv = <3300>;
|
D | lpcxpresso55s69_lpc55s69_cpu0_ns.overlay | 27 zephyr,vref-mv = <3300>; 41 zephyr,vref-mv = <3300>; 55 zephyr,vref-mv = <3300>;
|