Home
last modified time | relevance | path

Searched refs:voltage (Results 1 – 25 of 158) sorted by relevance

1234567

/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-regulator-des.md12 - Setting the output voltage and current for a regulator
21 …Software used to maintain stable output voltage when the output load is different from the input v…
241 | minUv | Minimum voltage to set. |
242 | maxUv | Maximum voltage to set. |
273 | *voltage | Pointer to the regulator voltage information. |
280 uint32_t voltage;
282 /* Obtain the regulator voltage. */
283 ret = RegulatorGetVoltage(handle, &voltage);
417 uint32_t voltage;
419 /* Obtain the regulator voltage. */
[all …]
H A Ddriver-platform-regulator-develop.md8voltage and current supplies of some devices in the system. In an embedded system (especially a mo…
35 The regulator module controls the voltage and current supplies of some devices in the system.
52 int32_t (*getVoltage)(struct RegulatorNode *node, uint32_t *voltage);
70 …mum voltage to set. It is a uint32_t variable.<br>**maxUv**: maximum voltage to set. It is a uint3…
71 …regulator node at the core layer.<br>**voltage**: pointer to the output voltage.| HDF_STATUS| Obta…
225 uint32_t minUv; /* Minimum output voltage. */
226 uint32_t maxUv; /* Maximum output voltage. */
238 uint32_t minUv; /* Minimum output voltage allowed. */
239 uint32_t maxUv; /* Maximum output voltage allowed. */
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/battery/
H A D_battery_info_v10.md21 | int [voltage](#voltage) | 表示电池的电压。 |
180 ### voltage subsection
183 int BatteryInfo::voltage
H A D_battery_info_v11.md21 | int [voltage](#voltage) | 表示电池的电压。 |
180 ### voltage subsection
183 int BatteryInfo::voltage
H A D_battery_info_v12.md21 | int [voltage](#voltage) | 表示电池的电压。 |
180 ### voltage subsection
183 int BatteryInfo::voltage
H A D_battery_info_v20.md21 | int [voltage](#voltage) | 表示电池的电压。 |
191 ### voltage subsection
194 int BatteryInfo::voltage
/ohos5.0/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/
H A Dbatterymgr_interfaces_test.cpp93 int32_t voltage = GetBatVoltage(); variable
94 EXPECT_EQ ((voltage >= 0 && voltage <= 100), 1)
95 << "GetBatVoltage ret = " << voltage << endl;
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-power-charge-current-voltage-limit.md7voltage limits. When a device is being charged, the battery temperature may become excessively hig…
27 …ee/master/rk3568) as an example to illustrate customization of charging current and voltage limits.
31 2. Create a target folder by referring to the [default folder of charging current and voltage limit…
39 …`battery_config.json` file in the default folder of charging current and voltage limit configurati…
54 …eferring to the `BUILD.gn` in the default folder of charging current and voltage limit configurati…
106 During development, you can refer to the [default charging current and voltage configuration](https…
H A Dsubsys-thermal_control.md56voltage control (charging voltage during fast charging and slow charging)| protocol<br>param | Set…
57 …| name="voltage_xxx" | Charging voltage control | event | - **1**: event sending enabled<br>-**0**…
77 <item name="voltage_buck" protocol="voltage" param="buck" event="1"/>
158 name: voltage_sc params: sc protocol: voltage strict: 0 enableEvent: 1
159 name: voltage_buck params: buck protocol: voltage strict: 0 enableEvent: 1
/ohos5.0/base/powermgr/battery_lite/services/src/
H A Dbattery_manage_feature.c89 int32_t voltage = BATT_INT_VALUE; in VoltageImpl() local
92 return voltage; in VoltageImpl()
94 voltage = g_batteryDevice->GetVoltage(); in VoltageImpl()
95 return voltage; in VoltageImpl()
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/battery_v1_1/foo/battery/v1_1/
H A DTypes.idl111 /** Battery voltage */
112 int voltage;
121 /** Maximum charging voltage */
150 /** Limit type: charging voltage */
155 * @brief Defines the limit on the battery charging current or voltage.
H A DIBatteryInterface.idl96 * @brief Obtains the battery voltage.
98 * @param voltage Battery voltage, in microvolts.
104 GetVoltage([out] int voltage);
233 * @brief Sets a limit on the battery charging current or voltage.
235 * @param ChargingLimit Limit on the battery charging current or voltage.
/ohos5.0/drivers/interface/battery/v1_1/
H A DTypes.idl111 /** Battery voltage */
112 int voltage;
121 /** Maximum charging voltage */
150 /** Limit type: charging voltage */
155 * @brief Defines the limit on the battery charging current or voltage.
H A DIBatteryInterface.idl96 * @brief Obtains the battery voltage.
98 * @param voltage Battery voltage, in microvolts.
104 GetVoltage([out] int voltage);
233 * @brief Sets a limit on the battery charging current or voltage.
235 * @param ChargingLimit Limit on the battery charging current or voltage.
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-regulator-des.md82 | int32_t RegulatorGetVoltage(DevHandle handle, uint32_t \*voltage) | 获取Regulator输出电压 |
267 int32_t RegulatorGetVoltage(DevHandle handle, uint32_t *voltage);
276 | voltage | uint32_t类型指针,待获取的Regulator电压 |
283 uint32_t voltage;
286 ret = RegulatorGetVoltage(handle, &voltage);
422 uint32_t voltage;
425 ret = RegulatorGetVoltage(handle, &voltage);
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/battery_v1_2/foo/battery/v1_2/
H A DTypes.idl111 /** Battery voltage */
112 int voltage;
121 /** Maximum charging voltage */
150 /** Limit type: charging voltage */
155 * @brief Defines the limit on the battery charging current or voltage.
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/battery_v2_0/foo/battery/v2_0/
H A DTypes.idl111 /** Battery voltage */
112 int voltage;
121 /** Maximum charging voltage */
152 /** Limit type: charging voltage */
157 * @brief Defines the limit on the battery charging current or voltage.
/ohos5.0/drivers/interface/battery/v1_2/
H A DTypes.idl111 /** Battery voltage */
112 int voltage;
121 /** Maximum charging voltage */
150 /** Limit type: charging voltage */
155 * @brief Defines the limit on the battery charging current or voltage.
/ohos5.0/drivers/interface/battery/v2_0/
H A DTypes.idl111 /** Battery voltage */
112 int voltage;
121 /** Maximum charging voltage */
152 /** Limit type: charging voltage */
157 * @brief Defines the limit on the battery charging current or voltage.
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-battery-info.md28 | voltage | number | Yes …
52 let voltageInfo: number = batteryInfo.voltage;
110 | OVERVOLTAGE | 3 | The battery voltage is over high. |
142 | EXTRA_VOLTAGE | "voltage" | Battery voltage of the device. |
/ohos5.0/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_service_test.cpp98 auto voltage = g_service->GetVoltage(); variable
99 EXPECT_TRUE(voltage == 4654321);
102 auto voltage = g_service->GetVoltage(); variable
103 BATTERY_HILOGI(LABEL_TEST, "BatteryService004::voltage=%{public}d", voltage);
104 GTEST_LOG_(INFO) << "BatteryService004 executing, voltage=" << voltage;
105 EXPECT_TRUE(voltage >= 0);
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/action/
H A Dvoltage_action.cpp51 int32_t VoltageAction::BatteryVoltageActionRequest(uint32_t voltage) in BatteryVoltageActionRequest() argument
57 std::string voltageStr = std::to_string(voltage); in BatteryVoltageActionRequest()
/ohos5.0/drivers/hdf_core/framework/support/platform/src/regulator/
H A Dregulator_if.c115 int32_t RegulatorGetVoltage(DevHandle handle, uint32_t *voltage) in RegulatorGetVoltage() argument
119 if (node == NULL || voltage == NULL) { in RegulatorGetVoltage()
124 int ret = RegulatorNodeGetVoltage(node, voltage); in RegulatorGetVoltage()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-thermal_control.md56 …充时的充电电压大小) | protocol<br>param | protocol填写voltage,param填写支持的充电协议,快充(sc)和慢充(buck) | string | proto…
77 <item name="voltage_buck" protocol="voltage" param="buck" event="1"/>
160 name: voltage_sc params: sc protocol: voltage strict: 0 enableEvent: 1
161 name: voltage_buck params: buck protocol: voltage strict: 0 enableEvent: 1
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-battery-info.md28 | voltage | number | 是 …
52 let voltageInfo: number = batteryInfo.voltage;
142 | EXTRA_VOLTAGE | "voltage" | 表示当前设备电池电压的查询键。 |

1234567