25、BDS B1I电文处理定义

2024-04-27 04:48
文章标签 25 定义 处理 电文 bds b1i

本文主要是介绍25、BDS B1I电文处理定义,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

\qquad 下面是HD-GR GNSS导航软件的BDS B1I电文处理相关定义:

// b1i_message.h -- Header file for the b1i_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 __B1I_MESSAGE_H__
#define __B1I_MESSAGE_H__#include "main_message.h"/******************************************************************************** Definitions******************************************************************************//******************************************************************************** Declarations******************************************************************************/typedef struct{unsigned long word[10];unsigned long SOW;		// Time since beginning of the week in 1 second incrementsunsigned long valid;	// 10 bits of word validity flags; all good = 0x3ff} b1i_subframe_t;typedef struct{unsigned short D;		// BCH(15,11,1) shift registerunsigned short swd;		// BCH(15,11,1) short words} bchdc_t;typedef struct {unsigned short prn;				// satellite prnunsigned short frame_sync;		// frame sync. flagunsigned short set_epoch_flag;	// only set the epoch counter once per sync on a channelunsigned short data_inverted;	// data inverted flagunsigned short bitcount;		// # of bits in the current wordunsigned short wordcount;		// # of words in the subframe so farunsigned long wordbuf0;			// Current word (2+30 format)unsigned long wordbuf1;			// previous word (2+30 format)bchdc_t bch_dc1, bch_dc2;		// BCH(15,11,1) decoder data.unsigned short subframe;		// Current subframe #b1i_subframe_t subframes[5];		// Array of 5 subframes (1 frame)
} b1i_message_t;/******************************************************************************** Prototypes (Globally visible functions)******************************************************************************/void b1i_clear_messages(unsigned short ch) __attribute__ ((section(".isrcode.txt")));
void b1i_sync_frame(unsigned short ch, unsigned short bit) __attribute__ ((section(".isrcode.txt")));
void b1i_process_message(OS_FLAGS channels_with_bits, OS_FLAGS channel_bits) __attribute__ ((section(".isrcode.txt")));/******************************************************************************** Externs******************************************************************************/extern b1i_message_t m_b1i_messages[B1I_MAX_CHANNELS] __attribute__ ((section(".isrdata.rwdata")));#endif // __B1I_MESSAGE_H__

这篇关于25、BDS B1I电文处理定义的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/939556

相关文章

MyBatis-Plus通用中等、大量数据分批查询和处理方法

《MyBatis-Plus通用中等、大量数据分批查询和处理方法》文章介绍MyBatis-Plus分页查询处理,通过函数式接口与Lambda表达式实现通用逻辑,方法抽象但功能强大,建议扩展分批处理及流式... 目录函数式接口获取分页数据接口数据处理接口通用逻辑工具类使用方法简单查询自定义查询方法总结函数式接口

SpringBoot结合Docker进行容器化处理指南

《SpringBoot结合Docker进行容器化处理指南》在当今快速发展的软件工程领域,SpringBoot和Docker已经成为现代Java开发者的必备工具,本文将深入讲解如何将一个SpringBo... 目录前言一、为什么选择 Spring Bootjavascript + docker1. 快速部署与

Python使用vllm处理多模态数据的预处理技巧

《Python使用vllm处理多模态数据的预处理技巧》本文深入探讨了在Python环境下使用vLLM处理多模态数据的预处理技巧,我们将从基础概念出发,详细讲解文本、图像、音频等多模态数据的预处理方法,... 目录1. 背景介绍1.1 目的和范围1.2 预期读者1.3 文档结构概述1.4 术语表1.4.1 核

Spring Boot @RestControllerAdvice全局异常处理最佳实践

《SpringBoot@RestControllerAdvice全局异常处理最佳实践》本文详解SpringBoot中通过@RestControllerAdvice实现全局异常处理,强调代码复用、统... 目录前言一、为什么要使用全局异常处理?二、核心注解解析1. @RestControllerAdvice2

CSS Anchor Positioning重新定义锚点定位的时代来临(最新推荐)

《CSSAnchorPositioning重新定义锚点定位的时代来临(最新推荐)》CSSAnchorPositioning是一项仍在草案中的新特性,由Chrome125开始提供原生支持需... 目录 css Anchor Positioning:重新定义「锚定定位」的时代来了! 什么是 Anchor Pos

电脑提示xlstat4.dll丢失怎么修复? xlstat4.dll文件丢失处理办法

《电脑提示xlstat4.dll丢失怎么修复?xlstat4.dll文件丢失处理办法》长时间使用电脑,大家多少都会遇到类似dll文件丢失的情况,不过,解决这一问题其实并不复杂,下面我们就来看看xls... 在Windows操作系统中,xlstat4.dll是一个重要的动态链接库文件,通常用于支持各种应用程序

SQL Server数据库死锁处理超详细攻略

《SQLServer数据库死锁处理超详细攻略》SQLServer作为主流数据库管理系统,在高并发场景下可能面临死锁问题,影响系统性能和稳定性,这篇文章主要给大家介绍了关于SQLServer数据库死... 目录一、引言二、查询 Sqlserver 中造成死锁的 SPID三、用内置函数查询执行信息1. sp_w

Java对异常的认识与异常的处理小结

《Java对异常的认识与异常的处理小结》Java程序在运行时可能出现的错误或非正常情况称为异常,下面给大家介绍Java对异常的认识与异常的处理,本文给大家介绍的非常详细,对大家的学习或工作具有一定的参... 目录一、认识异常与异常类型。二、异常的处理三、总结 一、认识异常与异常类型。(1)简单定义-什么是

Golang 日志处理和正则处理的操作方法

《Golang日志处理和正则处理的操作方法》:本文主要介绍Golang日志处理和正则处理的操作方法,本文通过实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考... 目录1、logx日志处理1.1、logx简介1.2、日志初始化与配置1.3、常用方法1.4、配合defer

springboot加载不到nacos配置中心的配置问题处理

《springboot加载不到nacos配置中心的配置问题处理》:本文主要介绍springboot加载不到nacos配置中心的配置问题处理,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑... 目录springboot加载不到nacos配置中心的配置两种可能Spring Boot 版本Nacos