MWC-GPS 源代码
汇集 MWC-GPS 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
GPS20-Sep-2008 10:34:2521-Sep-2008 23:20:34241020-Sep-2008 10:34:2544, 14, 0, 589AVR GCCdefault\GPS.elfE:\Design\AVR_Studio\GPS\v2…
############################################################################### # Makefile for the project GPS #################…
function AbortTransfer(gps) global pid_command_data cmd_abort_transfer % Tell the GPS to stop sending data WritePacket(gps,…
function SendEndPacket(gps, cmd) % SENDENDPACKET Send the standard ending packet WritePacketHeader(gps, pid_xfer_cmplt, 2) fw…
function WritePacket(gps, id, data, type) % WritePacket Write the a packet with the given id and data % Since pid_dle_byte is us…
function [id, sz] = ReadPacketHeader(gps); dle = 16; etx = 3; nak = 21; ack = 6; % Three byte heade…
function data = ReadProductDataType(gps) % ReadProductDataType Read product id, version number and descriptive text global…
function [gps, pid, version, text, protocols] = OpenGPS(port) global pid_product_rqst % Initialize global consta…
function protocols = ReadProtocols(gps) % READPROTOCOLS Read the Protocol Capability Protocol data from the GPS % Return a struc…