Comet Labs 48-Port 10 Betriebsanweisung Seite 95

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 132
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 131 132

Kommentare zu diesen Handbüchern

Keine Kommentare