\qquad 下面是HD-GR GNSS导航软件的电文处理任务相关定义:
// main_message.h -- Header file for the main_message.c file
/*
* Copyright (C) 2005 Andrew Greenberg
* Distributed under the GNU GENERAL PUBLIC LICENSE (GPL) Version 2 (June 1991).
* See the "COPYING" file distributed with this software for more information.
*/
/* Namuru GPS receiver project
* Original : message.h
* Modes : None
* version : V1.0
* date : 21st/Dec/2006
*/
/*
* HD-GR GNSS receiver project
* Modes : Inherited the definitions of message.h in the Namuru GPS receiver
* project V1.0 and made necessary adjustments to adapt to the new
* RTOS and functions.
* version : V1.0
* date : xx/xx/2015
*/
#ifndef __MAIN_MESSAGE_H__
#define __MAIN_MESSAGE_H__
#include "constants.h"
/*******************************************************************************
* Definitions
******************************************************************************/
/*******************************************************************************
* Declarations
******************************************************************************/
/*******************************************************************************
* Prototypes (Globally visible functions)
******************************************************************************/
void message_task(void* pdata) __attribute__ ((section(".isrcode.txt")));
/*******************************************************************************
* Externs
******************************************************************************/
extern OS_FLAG_GRP* m_MessageFlag __attribute__ ((section(".isrdata.rwdata")));
extern OS_FLAGS channels_with_subframes __attribute__ ((section(".isrdata.rwdata")));
#endif // __MAIN_MESSAGE_H__