//$file${.::bsp.h} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
//
// Model: CPF.qm
// File:  ${.::bsp.h}
//
// This code has been generated by QM 4.5.1 (https://www.state-machine.com/qm).
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
//
// This program is open source software: you can redistribute it and/or
// modify it under the terms of the GNU General Public License as published
// by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
// for more details.
//
//$endhead${.::bsp.h} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#ifndef BSP_H
#define BSP_H

// a very simple Board Support Package (BSP) -----========--------------------
class BSP {
public:
    enum { TICKS_PER_SEC = 100 }; // numer of clock ticks in a second
    static void init(void);
    static void ledOff(void);
    static void ledOn(void);
};

enum MissionSignals {
    TIMEOUT_SIG = QP::Q_USER_SIG, // offset the first signal
    IPDone_SIG,
    IMDone_SIG,
    GotPositionRec_SIG,
    SBDBuiltRec_SIG,
    SBDUploadedRec_SIG,
    SO_TIMEOUT_Rec_SIG,
    GotNewMissionRec_SIG,
    RestartMission_SIG,
    CheckDepthFNB_SIG,
    StartDescend_SIG,
    atSurfaceRecovery_SIG,
    GotGo_SIG,
    ProfileSampleInstr_SIG,
    DescParkTIMEOUT_SIG,
    ParkCheckDandT_SIG,
    AtParkPt_SIG,
    SampleInstr_SIG,
    HitBottom_SIG,
    ProfileDone_SIG,
    DoneSampling_SIG,
    AnchorOffBottom_SIG,
    AnchorCheckDandT_SIG,
    ProfileVelCtrlrStarted_SIG,
    SO_SBDBuilt_SIG,
    SO_SBDUploaded_SIG,
    GotSOPosition_SIG,
    SOGotNewMission_SIG,
    Action1Done_SIG,
    Action2Done_SIG,
    SODone_SIG,
    NeedToDescend_SIG,
    FNB_CheckDepthTIMEOUT_SIG,
    FoundNeutral_SIG,
    FNBDescending_SIG,
    StateTIMEOUT_SIG,
    MAX_SIG
};

// active object(s) used in this application -------------------------------
extern QP::QActive * const AO_Mission; // opaque pointer to the Blinky AO

#endif // BSP_H