Comet Labs 48-Port 10 Uživatelská příručka Strana 95

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 94
CIF Peripheral Model - SimpleTimer
CoMET Version 5.9 – Tutorial 91
The fmx file shows the ports as follows.
Adding Tasks
Tasks handle the initialization, execution flow, and destruction of the module instance. Most
peripheral models have a single task which initializes and then suspends indefinitely. After
initialization, callbacks handle execution.
CoMET automatically creates one task for a new CIF Peripheral Model project.
Adding a PortOrNetView
For task behavioral code to have access to a Port, the port must be associated with the Task
via a PortOrNetView.
When the New Project wizard creates a CIF Peripheral Model, it creates default Ports, a
single Task and a PortOrNetView for each default Port. CoMET has created a
PortOrNetView for the BusClock, Bus and Reset ports. We have to add a PortOrNetView for
each of the remaining Ports.
Zobrazit stránku 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 131 132

Komentáře k této Příručce

Žádné komentáře