Home
last modified time | relevance | path

Searched refs:PinDesc (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/support/platform/src/pin/
H A Dpin_if.c26 return PinCntlrPutPin((struct PinDesc *)handle); in PinPut()
38 cntlr = PinCntlrGetByPin((struct PinDesc *)handle); in PinSetPull()
39 return PinCntlrSetPinPull(cntlr, (struct PinDesc *)handle, pullType); in PinSetPull()
51 cntlr = PinCntlrGetByPin((struct PinDesc *)handle); in PinGetPull()
52 return PinCntlrGetPinPull(cntlr, (struct PinDesc *)handle, pullType); in PinGetPull()
64 cntlr = PinCntlrGetByPin((struct PinDesc *)handle); in PinSetStrength()
77 cntlr = PinCntlrGetByPin((struct PinDesc *)handle); in PinGetStrength()
90 cntlr = PinCntlrGetByPin((struct PinDesc *)handle); in PinSetFunc()
91 return PinCntlrSetPinFunc(cntlr, (struct PinDesc *)handle, funcName); in PinSetFunc()
103 cntlr = PinCntlrGetByPin((struct PinDesc *)handle); in PinGetFunc()
[all …]
H A Dpin_core.c99 struct PinDesc *PinCntlrGetPinDescByName(const char *pinName) in PinCntlrGetPinDescByName()
150 struct PinCntlr *PinCntlrGetByPin(const struct PinDesc *desc) in PinCntlrGetByPin()
178 static int32_t GetPinIndex(struct PinCntlr *cntlr, struct PinDesc *desc) in GetPinIndex()
198 void PinCntlrPutPin(const struct PinDesc *desc) in PinCntlrPutPin()
203 int32_t PinCntlrSetPinPull(struct PinCntlr *cntlr, struct PinDesc *desc, enum PinPullType pullType) in PinCntlrSetPinPull()
243 int32_t PinCntlrGetPinPull(struct PinCntlr *cntlr, struct PinDesc *desc, enum PinPullType *pullType) in PinCntlrGetPinPull()
289 int32_t PinCntlrSetPinStrength(struct PinCntlr *cntlr, struct PinDesc *desc, uint32_t strength) in PinCntlrSetPinStrength()
321 int32_t PinCntlrGetPinStrength(struct PinCntlr *cntlr, struct PinDesc *desc, uint32_t *strength) in PinCntlrGetPinStrength()
359 int32_t PinCntlrSetPinFunc(struct PinCntlr *cntlr, struct PinDesc *desc, const char *funcName) in PinCntlrSetPinFunc()
396 int32_t PinCntlrGetPinFunc(struct PinCntlr *cntlr, struct PinDesc *desc, const char **funcName) in PinCntlrGetPinFunc()
/ohos5.0/drivers/hdf_core/framework/support/platform/include/pin/
H A Dpin_core.h26 struct PinDesc;
28 struct PinDesc { struct
41 struct PinDesc *pins; argument
58 struct PinDesc *PinCntlrGetPinDescByName(const char *pinName);
62 struct PinCntlr *PinCntlrGetByPin(const struct PinDesc *desc);
64 void PinCntlrPutPin(const struct PinDesc *desc);
66 int32_t PinCntlrSetPinPull(struct PinCntlr *cntlr, struct PinDesc *desc, enum PinPullType pullType);
70 int32_t PinCntlrSetPinStrength(struct PinCntlr *cntlr, struct PinDesc *desc, uint32_t strength);
72 int32_t PinCntlrGetPinStrength(struct PinCntlr *cntlr, struct PinDesc *desc, uint32_t *strength);
74 int32_t PinCntlrSetPinFunc(struct PinCntlr *cntlr, struct PinDesc *desc, const char *funcName);
[all …]
/ohos5.0/docs/zh-cn/device-dev/driver/
H A Ddriver-platform-pin-develop.md261 struct PinDesc *pins; // 管脚资源
318 … hi35xx->cntlr.pins = (struct PinDesc *)OsalMemCalloc(sizeof(struct PinDesc) * hi35xx->pinCount);
/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/virtual/
H A Dpin_virtual.c295 … virtual->cntlr.pins = (struct PinDesc *)OsalMemCalloc(sizeof(struct PinDesc) * virtual->pinCount); in VirtualPinCntlrInit()
/ohos5.0/docs/en/device-dev/driver/
H A Ddriver-platform-pin-develop.md242 struct PinDesc *pins; // Pin resources.
299 … hi35xx->cntlr.pins = (struct PinDesc *)OsalMemCalloc(sizeof(struct PinDesc) * hi35xx->pinCount);