To achieve this mapping, you may include conditional compilation #ifdef in places where you access the registers.
为了实现这种映射,您可以在访问寄存器的位置包括条件编译#指令。
The Mapping Editor contains support to implement such conditional logic on mappings with use of the If, Else if, and Else transformations.
Mapping Editor 支持使用 If、Else if 和 Else 转换对映射实现这类条件逻辑。
应用推荐