主要内容

本页采用了机器翻译。点击此处可查看英文原文。

调度

触发异步和后台任务

使用 Hardware Interrupt 模块触发异步任务,使用 Idle Task 模块触发后台任务。

模块

C28x Hardware InterruptC28x 处理器上处理硬件中断的中断服务程序
C29x Hardware InterruptTrigger downstream function-call subsystems from interrupt service routine (自 R2025a 起)
CLA Task ManagerCreate and manage task executions in Control Law Accelerator (CLA) model (自 R2022a 起)
Hardware Interrupt从中断服务例程触发下游函数调用子系统 (自 R2023a 起)
Event SourceSimulate and playback recorded task events (自 R2024a 起)
Hardware Profiler使用 GPIO、ERAD 或定时器测量模式对函数调用子系统进行配置文件 (自 R2024b 起)
Idle TaskCreate free-running task
Software Trigger CPU<->CLA触发处理器 (CPU) 和控制律加速器 (CLA) 之间的软件事件 (自 R2022a 起)
Task ManagerCreate and manage task executions in Simulink model
F2838x-M4 Hardware InterruptTrigger downstream function-call subsystem from interrupt service routine
F28M3xx-M3 Hardware InterruptTrigger downstream function-call subsystem from interrupt service routine

工具

硬件映射将模型中的任务和外围设备映射到硬件板配置 (自 R2022b 起)

主题

疑难解答

Texas Instruments C2000 处理器的外部中断工作流程

本主题将帮助您了解外部中断的工作流程。

精选示例