飞思卡尔公司LIN总线的例程代码


飞思卡尔公司LIN总线的例程代码,里面有PDF介绍和飞思卡尔众多DEMO板的LIN代码例程,非常适合对LIN总线的通讯进行学习
资源截图
代码片段和文件信息
#include “derivative.h“ /* include peripheral declarations */
#include “LCD_GD5360P.h“

#include 

unsigned char bLCD_CharPosition;


byte *bpaPlace [ ] =
{
(unsigned char *)&Char1a   // LCD4 ---  Pin:5   LCDnAddress=4      bLCD_CharPosition = 0x00
 (unsigned char *)&Char1b // LCD5 ---  Pin:6   LCDnAddress=5      bLCD_CharPosition = 0x01
 (unsigned char *)&Char1c // LCD6 ---  Pin:7   LCDnAddress=6      bLCD_CharPosition = 0x02
 (unsigned char *)&Char1d    // LCD7 ---  Pin:8   LCDnAddress=7      bLCD_CharPosition = 0x03
 (unsigned char *)&Char2a // LCD13 --- Pin:10  LCDnAddress=13     bLCD_CharPosition = 0x04
 (unsigned char *)&Char2b    // LCD14 --- Pin:11  LCDnAddress=14     bLCD_CharPosition = 0x05
 (unsigned char *)&Char2c    // LCD15 --- Pin:12  LCDnAddress=15     bLCD_CharPosition = 0x06
 (unsigned char *)&Char2d    // LCD16 --- Pin:13  LCDnAddress=16     bLCD_CharPosition = 0x07
 (unsigned char *)&Char3a // LCD17 --- Pin:14  LCDnAddress=17     bLCD_CharPosition = 0x08
 (unsigned char *)&Char3b   // LCD18 --- Pin:17  LCDnAddress=18     bLCD_CharPosition = 0x09
 (unsigned char *)&Char3c   // LCD19 --- Pin:18  LCDnAddress=19     bLCD_CharPosition = 0x0A
 (unsigned char *)&Char3d // LCD20 --- Pin:19  LCDnAddress=20     bLCD_CharPosition = 0x0B
 (unsigned char *)&Char4a // LCD29 --- Pin:25  LCDnAddress=29     bLCD_CharPosition = 0x0C
 (unsigned char *)&Char4b    // LCD28 --- Pin:24  LCDnAddress=29     bLCD_CharPosition = 0x0D
 (unsigned char *)&Char4c // LCD27 --- Pin:23  LCDnAddress=28     bLCD_CharPosition = 0x0E
 (unsigned char *)&Char4d    // LCD26 --- Pin:22  LCDnAddress=26     bLCD_CharPosition = 0x0F
 (unsigned char *)&Char5a // LCD39 --- Pin:28  LCDnAddress=29     bLCD_CharPosition = 0x10
 (unsigned char *)&Char5b // LCD38 --- Pin:27  LCDnAddress=30     bLCD_CharPosition = 0x11
 (unsigned char *)&Char5c // LCD30 --- Pin:26  LCDnAddress=38     bLCD_CharPosition = 0x12
 (unsigned char *)&Char5d // LCD26 --- Pin:22  LCDnAddress=39     bLCD_CharPosition = 0x13
};


const byte baAlphanumeric [ ] =
{
 (  SEGA  ) (  SEGB +  SEGF )  (  SEGC + !SEGG )  (  SEGD +  SEGE )          //Char = 0   offset=0
 ( !SEGA  ) (  SEGB + !SEGF )  (  SEGC + !SEGG )  ( !SEGD + !SEGE )          //Char = 1   offset=4
 (  SEGA  ) (  SEGB + !SEGF )  ( !SEGC +  SEGG )  (  SEGD +  SEGE )          //Char = 2   offset=8
 (  SEGA  ) (  SEGB + !SEGF )  (  SEGC +  SEGG )  (  SEGD + !SEGE )          //Char = 3   offset=12
 ( !SEGA  ) (  SEGB +  SEGF )  (  SEGC +  SEGG )  ( !SEGD + !SEGE )          //Char = 4   offset=16
 (  SEGA  ) ( !SEGB +  SEGF )  (  SEGC +  SEGG )  (  SEGD + !SEGE )          //Char = 5   offset=20
 (  SEGA  ) ( !SEGB +  SEGF )  (  SEGC +  SEGG )  (  SEGD +  SEGE )          //Char = 6   offset=24
 (  SEGA  ) (  SEGB + !SEGF )  (  SEGC + !SEGG )  ( !SEGD + !SEGE )          //Char = 7   offset=28
 (  SEGA  ) (  SEGB +  SEGF )

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-01-11 11:36  飞思卡尔公司_FSL LIN Driver Package 4.4.1
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentation
     文件     1033230  2014-03-22 16:15  飞思卡尔公司_FSL LIN Driver Package 4.4.1DocumentationFSL_LIN4.1_Eclipse_User_Manual_v1.1.pdf
     文件         383  2013-09-04 05:28  飞思卡尔公司_FSL LIN Driver Package 4.4.1DocumentationFSL_LIN_API_Documentation.htm
     文件     2541643  2014-03-23 10:29  飞思卡尔公司_FSL LIN Driver Package 4.4.1DocumentationFSL_LIN_User_Manual_v2.4.pdf
     目录           0  2014-01-11 11:36  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtml
     文件       15589  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmlannotated.html
     文件        2818  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmlannotated.js
     文件         676  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmlc_s.png
     文件         147  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmldwn.png
     文件       12307  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmlclasses.html
     文件         132  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmlclosed.png
     文件       20616  2013-09-07 05:36  飞思卡尔公司_FSL LIN Driver Package 4.4.1DocumentationhtmlConfigurationData.JPG
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d00
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d01
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d02
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d03
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d04
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d05
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d06
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d07
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d08
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d09
     文件       11664  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d09group__schedule__management__group.html
     文件         269  2013-09-20 02:39  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d09group__schedule__management__group.js
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d0a
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d0b
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d0c
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d0d
     目录           0  2014-01-11 11:35  飞思卡尔公司_FSL LIN Driver Package 4.4.1Documentationhtmld0d0e
............此处省略5974个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)