DEM模块配置详解 - 下
以一个Event的状态上报,手把手实现操作流程。
一、操作循环的使用
1.1 指定初始的操作循环
当我们Dem模块存在多个operation cycle
,并且Event使用了多个operation cycle。在Dem模块初始化阶段只能启动一个operation cycle,其他使用的operation cycle需要我们手动使能。
细节说明:
- Dem模块的多个
operation cycle
- Event使用的多个
operation cycle
DTC_0x000002
使用的是PowerCycle
。
DTC_0x000003
使用的是OBDDrivingCycle
。
3. 在Dem初始化阶段自启动的operation cycle配置,在调用Dem_PreInit()自动启动引用的循环。