Comet Labs 48-Port 10 Guía de usuario Pagina 95

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 131 132

Comentarios a estos manuales

Sin comentarios