资源简介
ARINC429的资料,内含天津英贝特HT6302板卡的说明书及应用程序Demo源码,还有一篇《ARINC-429-tutorial.pdf》,非常适合429总线入门。

代码片段和文件信息
//*************************************************************************
// BCMenu.cpp : implementation file
// Version : 3.02
// Date : March 2002
// Author : Brent Corkum
// Email : corkum@rocscience.com
// Latest Version : http://www.rocscience.com/~corkum/BCMenu.html
//
// Bug Fixes and portions of code supplied by:
//
// Ben AshleyGirish BharadwajJean-Edouard Lachand-Robert
// Robert Edward CaldecottKenny GoersLeonardo Zide
// Stefan KuhrReiner JungMartin VladicKim Yoo Chul
// Oz SolomonovichTongzhe CuiStephane ClogWarren Stevens
// Damir ValiulinDavid KinderMarc Loiry
//
// You are free to use/modify this code but leave this header intact.
// This class is public domain so you are free to use it any of
// your applications (FreewareSharewareCommercial). All I ask is
// that you let me know so that if you have a real winner I can
// brag to my buddies that some of my code is in your app. I also
// wouldn‘t mind if you sent me a copy of your application since I
// like to play with new stuff.
//*************************************************************************
#include “stdafx.h“ // Standard windows header file
#include “BCMenu.h“ // BCMenu class declaration
#include //SK: makes A2W and other spiffy AFX macros work
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define BCMENU_GAP 1
#ifndef OBM_CHECK
#define OBM_CHECK 32760 // from winuser.h
#endif
#if _MFC_VER <0x400
#error This code does not work on Versions of MFC prior to 4.0
#endif
static CPINFO CPInfo;
// how the menu‘s are drawn in win9x/NT/2000
UINT BCMenu::original_drawmode=BCMENU_DRAWMODE_ORIGINAL;
BOOL BCMenu::original_select_disabled=TRUE;
// how the menu‘s are drawn in winXP
UINT BCMenu::xp_drawmode=BCMENU_DRAWMODE_XP;
BOOL BCMenu::xp_select_disabled=FALSE;
BOOL BCMenu::xp_draw_3D_bitmaps=TRUE;
CImageList BCMenu::m_AllImages;
CArray BCMenu::m_AllImagesID;
enum Win32Type{
Win32s
WinNT3
Win95
Win98
WinME
WinNT4
Win2000
WinXP
};
Win32Type IsShellType()
{
Win32Type ShellType;
DWORD winVer;
OSVERSIONINFO *osvi;
winVer=GetVersion();
if(winVer<0x80000000){/*NT */
ShellType=WinNT3;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
GetVersionEx(osvi);
if(osvi->dwMajorVersion==4L)ShellType=WinNT4;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==0L)ShellType=Win2000;
else if(osvi->dwMajorVersion==5L&&osvi->dwMinorVersion==1L)ShellType=WinXP;
free(osvi);
}
}
else if (LOBYTE(LOWORD(winVer))<4)
ShellType=Win32s;
else{
ShellType=Win95;
osvi= (OSVERSIONINFO *)malloc(sizeof(OSVERSIONINFO));
if (osvi!=NULL){
memset(osvi0sizeof(OSVERSIONINFO));
osvi->dwOSVersionInfoSize=sizeof(OSVERSIONINFO);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 545212 2011-05-23 10:22 ARINC-429-tutorial.pdf
文件 830435 2014-01-09 14:56 HT-6302手册.pdf
目录 0 2014-01-11 19:41 HT-6302程序\
文件 88816 2002-03-31 12:20 HT-6302程序\BCMenu.cpp
文件 16478 2002-03-31 12:20 HT-6302程序\BCMenu.h
文件 52061 2002-04-17 18:34 HT-6302程序\BtnST.cpp
文件 8392 2002-04-18 10:14 HT-6302程序\BtnST.h
文件 6420 2007-03-26 10:55 HT-6302程序\commandbutton.cpp
文件 2817 2007-03-26 10:55 HT-6302程序\commandbutton.h
文件 10122 2007-03-26 10:55 HT-6302程序\control.cpp
文件 2922 2007-03-26 10:55 HT-6302程序\control.h
文件 3337 2007-03-26 10:55 HT-6302程序\controls.cpp
文件 1679 2007-03-26 10:55 HT-6302程序\controls.h
文件 13463 2007-03-27 15:47 HT-6302程序\CoolTabCtrl.cpp
文件 3220 2001-09-30 19:25 HT-6302程序\CoolTabCtrl.h
文件 64 2014-01-09 14:46 HT-6302程序\CPCI_429.ldb
文件 262144 2007-06-18 09:01 HT-6302程序\CPCI_429.mdb
文件 1227256 2014-01-11 09:20 HT-6302程序\CPCI_429_Demo.aps
文件 79 2007-08-30 16:42 HT-6302程序\CPCI_429_Demo.bbs
文件 9645 2007-08-14 16:32 HT-6302程序\CPCI_429_Demo.cpp
文件 12655 2007-08-28 14:20 HT-6302程序\CPCI_429_Demo.dsp
文件 683 2007-03-29 14:36 HT-6302程序\CPCI_429_Demo.dsw
文件 1720320 2009-04-27 11:36 HT-6302程序\CPCI_429_Demo.exe
文件 1586 2007-04-09 10:58 HT-6302程序\CPCI_429_Demo.h
文件 951296 2014-01-11 09:20 HT-6302程序\CPCI_429_Demo.ncb
文件 50688 2014-01-11 09:20 HT-6302程序\CPCI_429_Demo.opt
文件 7290 2014-01-09 14:36 HT-6302程序\CPCI_429_Demo.plg
文件 25122 2007-08-16 20:34 HT-6302程序\CPCI_429_Demo.rc
文件 1882 2007-03-19 09:37 HT-6302程序\CPCI_429_DemoDoc.cpp
文件 1552 2007-03-19 09:37 HT-6302程序\CPCI_429_DemoDoc.h
文件 2792 2007-03-28 09:15 HT-6302程序\CPCI_429_DemoView.cpp
............此处省略112个文件信息
- 上一篇:FDTD Solutions 在微纳光学器件设计中的应用
- 下一篇:3d打印机固件
相关资源
- AFDX协议/ARINC664中文版第七部分
- u014556429_10418431.zip
- STM32F429内部FLASH读写程序
- stm32F429中文数据手册279362
- ARINC 404A-1974.pdf
- STM32F429DISCOVERY外接SD卡使用SDIO4BIT方式
- stm32f429discovery的USB_HID移植
- labview429板卡程序
- 基于Verilog VHDL的ARINC429通信设计
- ARINC429通信系统的电路设计
- stm32F429多通道ADC+串口30
- 激光测距模块简易测量(STM32F429).
- ARINC825 通用CAN总线航空-民航协议介绍
- ARINC429总线板卡设计
- stm32f429+FATFS+SD卡项目模版
- STM32F429ZITG6驱动OV2640串口图像助手显示
- 基于CompactPCI总线的ARINC429总线接口板
- STM32F429操作两片AD7689
- STM32F429内部FLASH读写保护测试程序
- stm32f429I核心板
- 基于ARM STM32F429的红外遥控贪吃蛇游戏
- STM32F429中文数据手册
- 3f26db3f6200470f34b5574e55642937-副本.rar
- stm32 f429 disco 示波器程序
- STM32F767_429 PCB工程
- 2018最新全国行政区划数据4290行
- 移植MPU9250_DMP原代码到STM32F429
- STM32F429 USB HID
- STM32F429 485实验源码(hal库)
- stm32F429-discovery USART1 的测试程序
评论
共有 条评论