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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 117
CIF Peripheral Model - SimpleTimer
114 CoMET Version 5.9 – Tutorial
CODE ENDS
At this point it is appropriate to perform another build. See Building the Project, page 101.
1. Click on the build button to do a build of your device, if all of the code has been added
correctly the device should build with no errors or warnings. NOTE: depending on
where you placed your callback and helper functions you may need to create function
prototypes for the callback and helper functions.
Adding the SimpleTimer Device to the Virtual Platform
The SimpleTimer device is now complete. We can now add an instance of the device to our
Virtual Platform. The steps involved are:
Create the SimpleTimer1 instance of the SimpleTimer in the Virtual Platform
Create the additional IrqNet required to connect the SimpleTimer to the VPM
Add and modify Instance Port Connections as required
Set the SimpleTimer base address by modifying the associated SimpleTimer1 Parameter
Override in the Prototype Configuration (.pcx) file
The block diagram below shows the SimpleTimer instance in the SimpleVsp.
Vista de pagina 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 131 132

Comentarios a estos manuales

Sin comentarios