Home
last modified time | relevance | path

Searched refs:AdcMethod (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-adc-develop.md54 AdcMethod和AdcLockMethod定义:
57 struct AdcMethod {
70 在适配层中,AdcMethod必须被实现,AdcLockMethod可根据实际情况考虑是否实现。核心层提供了默认的AdcLockMethod,其中使用Spinlock作为保护临界区的锁:
98 **表 1** AdcMethod结构体成员的钩子函数功能说明
133 - 实例化AdcDevice成员AdcMethod
136 > 实例化AdcDevice成员AdcMethod,其定义和成员说明见[接口说明](#接口说明)。
269 …完成驱动入口注册之后,下一步就是以核心层AdcDevice对象的初始化为核心,包括初始化驱动适配者自定义结构体(传递参数和数据),实例化AdcDevice成员AdcMethod(让用户可以通过接口…
294 const struct AdcMethod *ops;
303 - AdcDevice成员钩子函数结构体AdcMethod的实例化。
308 static const struct AdcMethod g_method = {
[all …]
/ohos5.0/drivers/hdf_core/framework/support/platform/include/adc/
H A Dadc_core.h26 struct AdcMethod;
30 const struct AdcMethod *ops;
38 struct AdcMethod { struct
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-adc-develop.md50 Definitions of **AdcMethod** and **AdcLockMethod**:
53 struct AdcMethod {
66 At the adaptation layer, **AdcMethod** must be implemented, and **AdcLockMethod** can be implemente…
94 **Table 1** Hook functions in **AdcMethod**
123 - Instantiate **AdcMethod** in the **AdcDevice** object.
125 > For details about the functions in **AdcMethod**, see [Available APIs](#available-apis).
246 … member functions (**Bind**, **Init** and **Release**) to instantiate **AdcMethod** in **AdcDevice…
271 const struct AdcMethod *ops;
280 - Instantiate the hook function structure **AdcMethod** of **AdcDevice**.
285 static const struct AdcMethod g_method = {
[all …]
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Dadc_virtual.c69 static const struct AdcMethod g_method = {
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/platform/adc/
H A Dadc_iio_adapter.c136 static const struct AdcMethod g_method = {