Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
network.h
- Committer:
- t_lark
- Date:
- 2011-04-27
- Revision:
- 0:7225ff529d1c
File content as of revision 0:7225ff529d1c:
//////////////////////////////////////////////////////////////////////////////
// Model: Network.qm
// File: ./network.h
//
// This file has been generated automatically by QP Modeler (QM).
// DO NOT EDIT THIS FILE MANUALLY.
//
// Please visit www.state-machine.com/qm for more information.
//////////////////////////////////////////////////////////////////////////////
#ifndef network_h
#define network_h
enum PelicanSignals {
PEDS_WAITING_SIG = Q_USER_SIG,
SENSE1_N1_UP_SIG, //the sense1 signal goes high
SENSE1_N1_DOWN_SIG,//the sense signal goes low
SENSE_N1_SIG,//indicates to senses on N1 bus to look out for a toggle
MAX_PUB_SIG, // the last published signal
ON_SIG,
OFF_SIG,
TIMEOUT_SIG,
MAX_SIG
};
static QEvent const sense1_N1_Up_Evt = { SENSE1_N1_UP_SIG, 0 };
static QEvent const sense1_N1_Down_Evt = { SENSE1_N1_DOWN_SIG, 0 };
static QEvent const sense_N1_Evt = { SENSE_N1_SIG, 0 };
// active objects ..................................................
extern QActive * const AO_Pelican; // "opaque" pointer to Pelican AO
extern QActive * const AO_Poll; // "opaque" pointer to IO Poll AO
extern QActive * const AO_Sense1_N1; // "opaque" pointer to Ped AO
#endif // network_h