|
libxr
1.0
Want to be the best embedded framework
|
HPM I2C 平台资源解析 helper / Platform resource resolver for HPM I2C. More...
Go to the source code of this file.
HPM I2C 平台资源解析 helper / Platform resource resolver for HPM I2C.
本内部 helper 仅依赖 HPM SDK 暴露的实例、IRQ 和 DMA request 宏,将 HPM_I2Cn、IRQn_I2Cn 与 HPM_DMA_SRC_I2Cn 统一维护在同一个表中。 缺少某个 IRQ 或 DMA request 宏时,该字段保持无效值,由调用者返回 NOT_SUPPORT,不按系列名硬编码。
This internal helper only relies on HPM SDK exposed instance, IRQ, and DMA request macros. It keeps HPM_I2Cn, IRQn_I2Cn, and HPM_DMA_SRC_I2Cn in one table. If an IRQ or DMA request macro is absent, that field remains invalid and the caller reports NOT_SUPPORT without hard-coding SoC series names.
Definition in file hpm_i2c_platform.hpp.