没有合适的资源?快使用搜索试试~ 我知道了~
首页LYNQ OPENCPU开发资料
LYNQ OPENCPU开发资料
需积分: 15 195 浏览量
更新于2023-05-31
评论
收藏 2.15MB PDF 举报
该文档介绍了LYNQ平台的OPENCPU的开发指导,已经开发环境搭建,开发系统架构,各模块功能介绍。
资源详情
资源评论
资源推荐

LYNQ OPENCPU Development Guide
GSM/GPRS+GNSS Module Series
Version: V1.2
Date: 2017-3-24
Shanghai MobiletekCommunication Ltd

LYNQ OPENCPU Development Guide
Shanghai MobiletekCommunication Ltd 1
Notice
Some features of the product and its accessories described herein rely on the software installed,
capacities and settings of local network, and therefore may not be activated or may be limited by local
network operators or network service providers.
Thus, the descriptions herein may not exactly match the product or its accessories which you purchase.
Shanghai Mobiletek Communication Ltd reserves the right to change or modify any information or
specifications contained in this manual without prior notice and without any liability.
Copyright
This document contains proprietary technical information which is the property of Shanghai Mobiletek
Communication Ltd. copying of this document and giving it to others and the using or communication of
the contents thereof, are forbidden without express authority. Offenders are liable to the payment of
damages. All rights reserved in the event of grant of patent or the registration of a utility model or
design. All specification supplied herein are subject to change without notice at any time.
DISCLAIMERgMPGS
ALL CONTENTS OF THIS MANUAL ARE PROVIDED “AS IS”. EXCEPT AS REQUIRED BY
APPLICABLE LAWS, NO WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDINGBUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE, ARE MADE IN RELATION TO THE
ACCURACY, RELIABILITY OR CONTENTS OF THIS MANUAL.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL
SHANGHAI MOBILETEKCOMMUNICATION LTD BE LIABLE FOR ANY SPECIAL,
INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, OR LOSS OF PROFITS,
BUSINESS, REVENUE, DATA, GOODWILL SAVINGS OR ANTICIPATED SAVINGS
REGARDLESS OF WHETHER SUCH LOSSES ARE FORSEEABLE OR NOT.

LYNQ OPENCPU Development Guide
Shanghai MobiletekCommunication Ltd 2
Revision History
Date
Version
Description of charge
Author
2017-2-28
V1.0
Initial
JiangLiang
2017-3-23
V1.1
Add SPI Interface
JiangLiang
2017-3-24
V1.2
Add PWM Interface
JiangLiang

LYNQ OPENCPU Development Guide
Shanghai MobiletekCommunication Ltd 3
Table of Contents
Table of Contents .......................................................................................................................................3
1 OPENCPU Intoduction .........................................................................................................................5
1.1 Overview .............................................................................................................................................5
1.2 Code Style ...........................................................................................................................................5
1.3 Sources Supplied by OPENCPU ...........................................................................................................5
2 OPENCPU Basic Conception ................................................................................................................6
3 Multi Threads .....................................................................................................................................7
3.1 Multi Threads Function Description ....................................................................................................7
3.2 Tread Introduction ..............................................................................................................................7
3.3 Message .............................................................................................................................................9
4 Timer Application .............................................................................................................................11
4.1 Overview ...........................................................................................................................................11
4.2 Function Interface and Example .......................................................................................................11
4.3
Note
..................................................................................................................................................12
5 memery Application .........................................................................................................................13
5.1 Function Description .........................................................................................................................13
5.2 Function Interface and Example .......................................................................................................13
5.3 Note ..................................................................................................................................................14
6 Sleep .................................................................................................................................................15
7 Serial Port interface ..........................................................................................................................16
7.1 Funtion Descrption ...........................................................................................................................16
7.2 Function Interface and Example .......................................................................................................16
7.3 Note ..................................................................................................................................................18
8 File system ........................................................................................................................................19
8.1 Funtion Descrption ...........................................................................................................................19
8.2 Function Interface and Example .......................................................................................................19
8.3 Note ..................................................................................................................................................19

LYNQ OPENCPU Development Guide
Shanghai MobiletekCommunication Ltd 4
9 ADC Application ................................................................................................................................21
9.1 Funtion Descrption ...........................................................................................................................21
9.2 Function Interface and Example .......................................................................................................21
9.3 Note ..................................................................................................................................................21
10 GNSS Application ..............................................................................................................................22
10.1 Function Descrption ..........................................................................................................................22
10.2 Function Interface and Example .......................................................................................................22
11 SOCKET application ...........................................................................................................................23
11.1 Function Descrption ..........................................................................................................................23
11.2 Function Interface and Example .......................................................................................................23
11.3 Note ..................................................................................................................................................24
12 GPIO Application ..............................................................................................................................25
12.1 Function Descrption ..........................................................................................................................25
12.2 Function Interface and Example .......................................................................................................25
12.3 Note ..................................................................................................................................................27
13 WTD application ...............................................................................................................................28
13.1 Function Descrption ..........................................................................................................................28
13.2 Function Interface and Example .......................................................................................................28
14 IIC application ...................................................................................................................................29
14.1 Function Descrption ..........................................................................................................................29
14.2 Function Interface and Example .......................................................................................................29
15 SPI application ..................................................................................................................................31
15.1 Function Descrption ..........................................................................................................................31
15.2 Function Interface and Example .......................................................................................................31
16 PWM application ..............................................................................................................................32
16.1 Function Descrption ..........................................................................................................................32
16.2 Function Interface and Example .......................................................................................................32
17 RILapplication ...................................................................................................................................33
剩余35页未读,继续阅读














qqqqqshow
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助

会员权益专享
安全验证
文档复制为VIP权益,开通VIP直接复制

评论0