Echelon Neuron C Manual de usuario Pagina 91

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 267
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 90
Neuron C Reference Guide 71
Syntax
#include <access.h>
const alias_struct *access_alias (int
index
);
Example
#include <access.h>
alias_struct alias_copy;
void f(void)
{
alias_copy = *(access_alias(2));
}
access_domain( ) Function
The access_domain( ) function returns a const pointer to the domain structure
that corresponds to the index parameter. This pointer can be stored, used to
perform a structure copy, or used in other ways common to C pointers, except
that the pointer cannot be used for writes.
See the ISO/IEC 14908 (ANSI/EIA/CEA-709.1)
Control Network Specification
for
a description of the data structure.
Syntax
#include <access.h>
const domain_struct *access_domain (int
index
);
Example
#include <access.h>
domain_struct domain_copy;
void f(void)
{
domain_copy = *(access_domain(0));
}
access_nv( ) Function
The access_nv( ) function returns a const pointer to the network variable
configuration structure that corresponds to the index parameter. This pointer
can be stored, used to perform a structure copy, or used in other ways common to
Neuron C pointers, except that the pointer cannot be used for writes.
See the ISO/IEC 14908 (ANSI/EIA/CEA-709.1)
Control Network Specification
for
a description of the data structure.
Syntax
#include <access.h>
const nv_struct *access_nv (int
index
);
Vista de pagina 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 266 267

Comentarios a estos manuales

Sin comentarios