调度
触发异步和后台任务
使用 Hardware Interrupt 模块触发异步任务,使用 Idle Task 模块触发后台任务。
模块
| C28x Hardware Interrupt | C28x 处理器上处理硬件中断的中断服务程序 |
| C29x Hardware Interrupt | Trigger downstream function-call subsystems from interrupt service routine (自 R2025a 起) |
| CLA Task Manager | Create and manage task executions in Control Law Accelerator (CLA) model (自 R2022a 起) |
| Hardware Interrupt | 从中断服务例程触发下游函数调用子系统 (自 R2023a 起) |
| Event Source | Simulate and playback recorded task events (自 R2024a 起) |
| Hardware Profiler | 使用 GPIO、ERAD 或定时器测量模式对函数调用子系统进行配置文件 (自 R2024b 起) |
| Idle Task | Create free-running task |
| Software Trigger CPU<->CLA | 触发处理器 (CPU) 和控制律加速器 (CLA) 之间的软件事件 (自 R2022a 起) |
| Task Manager | Create and manage task executions in Simulink model |
| F2838x-M4 Hardware Interrupt | Trigger downstream function-call subsystem from interrupt service routine |
| F28M3xx-M3 Hardware Interrupt | Trigger downstream function-call subsystem from interrupt service routine |
工具
| 硬件映射 | 将模型中的任务和外围设备映射到硬件板配置 (自 R2022b 起) |
模型设置
主题
- 支持 Texas Instruments C2000 处理器的示例
C2000™ Microcontroller Blockset 为每个处理器系列支持的参考示例。
- 日程安排和时间安排
提供有关 TI C2000 调度的信息
- Modeling and Code Generation Using Hardware Interrupt
Model and generate code using Hardware Interrupt block. For multiprocessor modeling use Task Manager block and Hardware Mapping tool.
- 使用硬件映射配置中断和事件
将 C2000 Microcontroller Blockset 中的任务映射到硬件板上的服务例程中断。
- 提升 TI C2000 Simulink 应用程序中的代码执行速度
优化代码以提高执行效率。
- 探索 TI C2000 工具链选项
利用 TI C2000 工具链(如 COFF ABI、EABI 和 ARM®)生成代码。
- Summary of Profiling Techniques
Compare different profiling techniques based on your specific requirements and hardware capabilities.
疑难解答
Texas Instruments C2000 处理器的外部中断工作流程
本主题将帮助您了解外部中断的工作流程。


