이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
이벤트 기반 스케줄링
모델에는 다음과 같은 비동기 이벤트를 처리하는 코드를 생성하기 위한 블록이 포함될 수 있습니다.
하드웨어에서 생성되는 인터럽트
비동기 읽기 및 쓰기 작업
실시간 운영 체제(RTOS)에서 생성된 비동기 태스크
시뮬레이션을 위해 비동기 이벤트 데이터를 Function-Call Subsystem에 불러올 수 있습니다.
블록
| Asynchronous Task Specification | Specify priority of asynchronous task represented by referenced model triggered by asynchronous interrupt |
| Async Interrupt | Generate Versa Module Eurocard (VME) interrupt service routines (ISRs) that execute downstream subsystems or Task Sync blocks |
| Task Sync | Run code of downstream function-call subsystem or Stateflow chart by spawning an example RTOS (VxWorks) task |
도움말 항목
- Asynchronous Events
Design models that support execution of blocks in response to events that occur asynchronously to the periodic timing source of the system.
- Generate Interrupt Service Routines
Generate an interrupt service routine (ISR) that is associated with a specific VME interrupt level.
- Convert Asynchronous Subsystem to a Referenced Model
Convert an asynchronous subsystem to a referenced model.
- Timers in Asynchronous Tasks
Maintain absolute and elapsed timing data for blocks that execute in the context of an asynchronous task with the code generator.
- Create a Customized Asynchronous Library
Create custom blocks that support handling of asynchronous events with vxlib1 library blocks as templates.
- Import Asynchronous Event Data for Simulation
Import asynchronous event data into a function-call subsystem.
- Asynchronous Support Limitations
Limitations of asynchronous event support.