实例介绍
这个LIN 的协议栈是ST 官方的, 早期是在官网可以直接搜索下载的. 最近一段时间去ST 官网看的时候, 发现直接搜索LIN 协议栈搜索不到了(没有积分的同志可以直接在官网搜索 "en.stsw-stm8a-lin" 还是可以找到的.). 所以在这里上传分享一下!
【实例截图】
【核心代码】
16359647436829042824.zip
├── STM8_LIN_Package_4.1
│ ├── demo
│ │ ├── generic
│ │ │ └── lin_basic_demo
│ │ │ ├── master
│ │ │ │ └── src
│ │ │ │ ├── lin_basic_demo_master.c
│ │ │ │ └── lin_basic_demo_master.h
│ │ │ └── slave
│ │ │ └── src
│ │ │ ├── lin_basic_demo_slave.c
│ │ │ └── lin_basic_demo_slave.h
│ │ └── stm8
│ │ └── lin_basic_demo
│ │ ├── master
│ │ │ ├── cfg
│ │ │ │ └── lin_master_app.lkf
│ │ │ ├── Command Prompt.lnk
│ │ │ ├── lin_config
│ │ │ │ ├── lin_basic_demo.ldf
│ │ │ │ ├── lin_basic_demo.lgn
│ │ │ │ ├── lin_def.c
│ │ │ │ ├── lin_def.h
│ │ │ │ └── lin_def_stm8.h
│ │ │ ├── make.exe
│ │ │ ├── makefile
│ │ │ ├── obj
│ │ │ │ ├── crtsi.sm8
│ │ │ │ ├── interrupt_vector.o
│ │ │ │ ├── libisl.sm8
│ │ │ │ ├── libm.sm8
│ │ │ │ ├── lin_basic_demo_master.o
│ │ │ │ ├── lin_cfg.c
│ │ │ │ ├── lin_cfg.h
│ │ │ │ ├── lin_cfg.o
│ │ │ │ ├── lin_cfg_types.h
│ │ │ │ ├── lin_def.o
│ │ │ │ ├── lin_diag_master.o
│ │ │ │ ├── lin_diag.o
│ │ │ │ ├── lin_general.o
│ │ │ │ ├── lin.lib
│ │ │ │ ├── lin_master_app.elf
│ │ │ │ ├── lin_master_app.hex
│ │ │ │ ├── lin_master_app.map
│ │ │ │ ├── lin_master_app.o
│ │ │ │ ├── lin_master_app.pdb
│ │ │ │ ├── lin_master_app.sm8
│ │ │ │ ├── lin_master_app.stp
│ │ │ │ ├── lin_master_app.stw
│ │ │ │ ├── lin_master_app.wdb
│ │ │ │ ├── lin_master_app.wed
│ │ │ │ ├── lin_master.o
│ │ │ │ ├── lin_stm8.o
│ │ │ │ └── lin_timer.o
│ │ │ ├── rm.bat
│ │ │ └── src
│ │ │ ├── interrupt_vector.c
│ │ │ ├── lin_master_app.c
│ │ │ └── lin_test_hardware.h
│ │ └── slave
│ │ ├── cfg
│ │ │ └── lin_slave_app.lkf
│ │ ├── Command Prompt.lnk
│ │ ├── lin_config
│ │ │ ├── lin_basic_demo.ldf
│ │ │ ├── lin_basic_demo.lgn
│ │ │ ├── lin_def.c
│ │ │ ├── lin_def.h
│ │ │ └── lin_def_stm8.h
│ │ ├── make.exe
│ │ ├── makefile
│ │ ├── obj
│ │ │ ├── crtsi.sm8
│ │ │ ├── interrupt_vector.o
│ │ │ ├── libisl.sm8
│ │ │ ├── libm.sm8
│ │ │ ├── lin_basic_demo_slave.o
│ │ │ ├── lin_cfg.c
│ │ │ ├── lin_cfg.h
│ │ │ ├── lin_cfg.o
│ │ │ ├── lin_cfg_types.h
│ │ │ ├── lin_def.o
│ │ │ ├── lin_diag.o
│ │ │ ├── lin_diag_slave.o
│ │ │ ├── lin_general.o
│ │ │ ├── lin.lib
│ │ │ ├── lin_slave_app.elf
│ │ │ ├── lin_slave_app.hex
│ │ │ ├── lin_slave_app.map
│ │ │ ├── lin_slave_app.o
│ │ │ ├── lin_slave_app.pdb
│ │ │ ├── lin_slave_app.sm8
│ │ │ ├── lin_slave_app.stp
│ │ │ ├── lin_slave_app.stw
│ │ │ ├── lin_slave_app.wdb
│ │ │ ├── lin_slave_app.wed
│ │ │ ├── lin_slave.o
│ │ │ ├── lin_stm8.o
│ │ │ └── lin_timer.o
│ │ ├── rm.bat
│ │ └── src
│ │ ├── interrupt_vector.c
│ │ ├── lin_slave_app.c
│ │ └── lin_test_hardware.h
│ ├── lingen
│ │ └── bin
│ │ └── win
│ │ └── lingen.exe
│ ├── make
│ │ ├── MAKE_LIN_DEPENDENCIES
│ │ └── stm8
│ │ └── Make_LIN
│ ├── ReadMe.txt
│ └── src
│ ├── arch
│ │ ├── lin_arch_include.h
│ │ ├── lin_def_arch_include.h
│ │ └── stm8
│ │ ├── lin_def_stm8_gen.h
│ │ ├── lin_stm8.c
│ │ └── lin_stm8.h
│ ├── config
│ │ ├── lin_def.c
│ │ ├── lin_def.h
│ │ └── lin_def_stm8.h
│ ├── diag
│ │ ├── lin_diag_api.h
│ │ ├── lin_diag.c
│ │ ├── lin_diag.h
│ │ ├── lin_diag_master.c
│ │ ├── lin_diag_master.h
│ │ ├── lin_diag_slave.c
│ │ └── lin_diag_slave.h
│ ├── general
│ │ ├── lin_def_gen.h
│ │ ├── lin_general.c
│ │ ├── lin_general.h
│ │ └── lin_types.h
│ ├── lin.h
│ ├── lin_version_control.h
│ ├── master
│ │ ├── lin_master.c
│ │ └── lin_master.h
│ ├── slave
│ │ ├── lin_slave.c
│ │ └── lin_slave.h
│ └── timer
│ ├── lin_timer.c
│ └── lin_timer.h
└── STM8_LIN_Package_5.1
├── demo
│ ├── generic
│ │ └── lin_basic_demo
│ │ ├── master
│ │ │ ├── stm8_128-eval
│ │ │ │ ├── lin_basic_demo_master.c
│ │ │ │ └── lin_basic_demo_master.h
│ │ │ └── stm8-discovery
│ │ │ ├── lin_basic_demo_master.c
│ │ │ └── lin_basic_demo_master.h
│ │ └── slave
│ │ ├── stm8_128-eval
│ │ │ ├── lin_basic_demo_slave.c
│ │ │ └── lin_basic_demo_slave.h
│ │ └── stm8-discovery
│ │ ├── lin_basic_demo_slave.c
│ │ └── lin_basic_demo_slave.h
│ ├── stm8_128-eval
│ │ └── lin_basic_demo
│ │ ├── master
│ │ │ ├── cfg
│ │ │ │ ├── lin_master_app.cmd
│ │ │ │ ├── lin_master_app.icf
│ │ │ │ └── lin_master_app.lkf
│ │ │ ├── Command Prompt.lnk
│ │ │ ├── lin_config
│ │ │ │ ├── lin_basic_demo.ldf
│ │ │ │ ├── lin_basic_demo.lgn
│ │ │ │ ├── lin_def.c
│ │ │ │ ├── lin_def.h
│ │ │ │ └── lin_def_stm8.h
│ │ │ ├── make.exe
│ │ │ ├── makefile
│ │ │ ├── obj
│ │ │ │ ├── crtsi.sm8
│ │ │ │ ├── libisl.sm8
│ │ │ │ ├── libm.sm8
│ │ │ │ ├── lin_cfg.c
│ │ │ │ ├── lin_cfg.h
│ │ │ │ ├── lin_cfg_types.h
│ │ │ │ ├── lin.lib
│ │ │ │ ├── lin_master_app.elf
│ │ │ │ ├── lin_master_app.hex
│ │ │ │ ├── lin_master_app.map
│ │ │ │ ├── lin_master_app.pdb
│ │ │ │ ├── lin_master_app.sm8
│ │ │ │ ├── lin_master_app.stp
│ │ │ │ ├── lin_master_app.stw
│ │ │ │ ├── lin_master_app.wdb
│ │ │ │ └── lin_master_app.wed
│ │ │ ├── rm.bat
│ │ │ └── src
│ │ │ ├── interrupt_vector.c
│ │ │ ├── lin_master_app.c
│ │ │ └── lin_test_hardware.h
│ │ └── slave
│ │ ├── cfg
│ │ │ ├── lin_slave_app_128K.icf
│ │ │ ├── lin_slave_app_8K.icf
│ │ │ ├── lin_slave_app.cmd
│ │ │ ├── lin_slave_app.icf
│ │ │ └── lin_slave_app.lkf
│ │ ├── Command Prompt.lnk
│ │ ├── lin_config
│ │ │ ├── lin_basic_demo.ldf
│ │ │ ├── lin_basic_demo.lgn
│ │ │ ├── lin_def.c
│ │ │ ├── lin_def.h
│ │ │ └── lin_def_stm8.h
│ │ ├── make.exe
│ │ ├── makefile
│ │ ├── obj
│ │ │ ├── crts0.sm8
│ │ │ ├── crtsi0.sm8
│ │ │ ├── crtsi.sm8
│ │ │ ├── libis0.sm8
│ │ │ ├── libisl0.sm8
│ │ │ ├── libisl.sm8
│ │ │ ├── libm0.sm8
│ │ │ ├── libm.sm8
│ │ │ ├── lin_cfg.c
│ │ │ ├── lin_cfg.h
│ │ │ ├── lin_cfg_types.h
│ │ │ ├── lin.lib
│ │ │ ├── lin_slave_app.elf
│ │ │ ├── lin_slave_app.hex
│ │ │ ├── lin_slave_app.map
│ │ │ ├── lin_slave_app.pdb
│ │ │ ├── lin_slave_app.sm8
│ │ │ ├── lin_slave_app.stp
│ │ │ ├── lin_slave_app.stw
│ │ │ ├── lin_slave_app.wdb
│ │ │ └── lin_slave_app.wed
│ │ ├── rm.bat
│ │ └── src
│ │ ├── interrupt_vector.c
│ │ ├── lin_slave_app.c
│ │ └── lin_test_hardware.h
│ └── stm8-discovery
│ └── lin_basic_demo
│ ├── master
│ │ ├── cfg
│ │ │ ├── lin_master_app.cmd
│ │ │ ├── lin_master_app.icf
│ │ │ └── lin_master_app.lkf
│ │ ├── Command Prompt.lnk
│ │ ├── lin_config
│ │ │ ├── lin_basic_demo.ldf
│ │ │ ├── lin_basic_demo.lgn
│ │ │ ├── lin_def.c
│ │ │ ├── lin_def.h
│ │ │ └── lin_def_stm8.h
│ │ ├── make.exe
│ │ ├── makefile
│ │ ├── obj
│ │ │ ├── crtsi.sm8
│ │ │ ├── libisl.sm8
│ │ │ ├── libm.sm8
│ │ │ ├── lin_cfg.c
│ │ │ ├── lin_cfg.h
│ │ │ ├── lin_cfg_types.h
│ │ │ ├── lin.lib
│ │ │ ├── lin_master_app.elf
│ │ │ ├── lin_master_app.hex
│ │ │ ├── lin_master_app.map
│ │ │ ├── lin_master_app.pdb
│ │ │ ├── lin_master_app.sm8
│ │ │ ├── lin_master_app.stp
│ │ │ ├── lin_master_app.stw
│ │ │ ├── lin_master_app.wdb
│ │ │ └── lin_master_app.wed
│ │ ├── rm.bat
│ │ └── src
│ │ ├── interrupt_vector.c
│ │ ├── L99PM62drv_AL.h
│ │ ├── L99PM62drv.c
│ │ ├── L99PM62drv_Cfg.h
│ │ ├── L99PM62drv.h
│ │ ├── lin_master_app.c
│ │ ├── lin_test_hardware.h
│ │ ├── stm8s_conf.h
│ │ └── STM8S_StdPeriph_Driver
│ │ ├── inc
│ │ │ ├── stm8s_adc1.h
│ │ │ ├── stm8s_adc2.h
│ │ │ ├── stm8s_awu.h
│ │ │ ├── stm8s_beep.h
│ │ │ ├── stm8s_can.h
│ │ │ ├── stm8s_clk.h
│ │ │ ├── stm8s_exti.h
│ │ │ ├── stm8s_flash.h
│ │ │ ├── stm8s_gpio.h
│ │ │ ├── stm8s.h
│ │ │ ├── stm8s_i2c.h
│ │ │ ├── stm8s_itc.h
│ │ │ ├── stm8s_iwdg.h
│ │ │ ├── stm8s_rst.h
│ │ │ ├── stm8s_spi.h
│ │ │ ├── stm8s_tim1.h
│ │ │ ├── stm8s_tim2.h
│ │ │ ├── stm8s_tim3.h
│ │ │ ├── stm8s_tim4.h
│ │ │ ├── stm8s_tim5.h
│ │ │ ├── stm8s_tim6.h
│ │ │ ├── stm8s_uart1.h
│ │ │ ├── stm8s_uart2.h
│ │ │ ├── stm8s_uart3.h
│ │ │ └── stm8s_wwdg.h
│ │ └── src
│ │ ├── stm8s_adc1.c
│ │ ├── stm8s_adc2.c
│ │ ├── stm8s_awu.c
│ │ ├── stm8s_beep.c
│ │ ├── stm8s_can.c
│ │ ├── stm8s_clk.c
│ │ ├── stm8s_exti.c
│ │ ├── stm8s_flash.c
│ │ ├── stm8s_gpio.c
│ │ ├── stm8s_i2c.c
│ │ ├── stm8s_itc.c
│ │ ├── stm8s_iwdg.c
│ │ ├── stm8s_rst.c
│ │ ├── stm8s_spi.c
│ │ ├── stm8s_tim1.c
│ │ ├── stm8s_tim2.c
│ │ ├── stm8s_tim3.c
│ │ ├── stm8s_tim4.c
│ │ ├── stm8s_tim5.c
│ │ ├── stm8s_tim6.c
│ │ ├── stm8s_uart1.c
│ │ ├── stm8s_uart2.c
│ │ ├── stm8s_uart3.c
│ │ └── stm8s_wwdg.c
│ └── slave
│ ├── cfg
│ │ ├── lin_slave_app.cmd
│ │ ├── lin_slave_app.icf
│ │ └── lin_slave_app.lkf
│ ├── Command Prompt.lnk
│ ├── lin_config
│ │ ├── lin_basic_demo.ldf
│ │ ├── lin_basic_demo.lgn
│ │ ├── lin_def.c
│ │ ├── lin_def.h
│ │ └── lin_def_stm8L.h
│ ├── make.exe
│ ├── makefile
│ ├── obj
│ │ ├── crtsi.sm8
│ │ ├── libisl.sm8
│ │ ├── libm.sm8
│ │ ├── lin_cfg.c
│ │ ├── lin_cfg.h
│ │ ├── lin_cfg_types.h
│ │ ├── lin.lib
│ │ ├── lin_slave_app.elf
│ │ ├── lin_slave_app.hex
│ │ ├── lin_slave_app.map
│ │ ├── lin_slave_app.pdb
│ │ ├── lin_slave_app.sm8
│ │ ├── lin_slave_app.stp
│ │ ├── lin_slave_app.stw
│ │ ├── lin_slave_app.wdb
│ │ └── lin_slave_app.wed
│ ├── rm.bat
│ └── src
│ ├── interrupt_vector.c
│ ├── L99PM62drv_AL.h
│ ├── L99PM62drv.c
│ ├── L99PM62drv_Cfg.h
│ ├── L99PM62drv.h
│ ├── lcd.c
│ ├── lcd.h
│ ├── lin_slave_app.c
│ ├── lin_test_hardware.h
│ ├── STM8AL-discovery.h
│ ├── stm8l15x_conf.h
│ └── STM8L15x_StdPeriph_Driver
│ ├── inc
│ │ ├── stm8l15x_adc.h
│ │ ├── stm8l15x_aes.h
│ │ ├── stm8l15x_beep.h
│ │ ├── stm8l15x_clk.h
│ │ ├── stm8l15x_comp.h
│ │ ├── stm8l15x_dac.h
│ │ ├── stm8l15x_dma.h
│ │ ├── stm8l15x_exti.h
│ │ ├── stm8l15x_flash.h
│ │ ├── stm8l15x_gpio.h
│ │ ├── stm8l15x.h
│ │ ├── stm8l15x_i2c.h
│ │ ├── stm8l15x_irtim.h
│ │ ├── stm8l15x_itc.h
│ │ ├── stm8l15x_iwdg.h
│ │ ├── stm8l15x_lcd.h
│ │ ├── stm8l15x_pwr.h
│ │ ├── stm8l15x_rst.h
│ │ ├── stm8l15x_rtc.h
│ │ ├── stm8l15x_spi.h
│ │ ├── stm8l15x_syscfg.h
│ │ ├── stm8l15x_tim1.h
│ │ ├── stm8l15x_tim2.h
│ │ ├── stm8l15x_tim3.h
│ │ ├── stm8l15x_tim4.h
│ │ ├── stm8l15x_tim5.h
│ │ ├── stm8l15x_usart.h
│ │ ├── stm8l15x_wfe.h
│ │ └── stm8l15x_wwdg.h
│ └── src
│ ├── stm8l15x_adc.c
│ ├── stm8l15x_aes.c
│ ├── stm8l15x_beep.c
│ ├── stm8l15x_clk.c
│ ├── stm8l15x_comp.c
│ ├── stm8l15x_dac.c
│ ├── stm8l15x_dma.c
│ ├── stm8l15x_exti.c
│ ├── stm8l15x_flash.c
│ ├── stm8l15x_gpio.c
│ ├── stm8l15x_i2c.c
│ ├── stm8l15x_irtim.c
│ ├── stm8l15x_itc.c
│ ├── stm8l15x_iwdg.c
│ ├── stm8l15x_lcd.c
│ ├── stm8l15x_pwr.c
│ ├── stm8l15x_rst.c
│ ├── stm8l15x_rtc.c
│ ├── stm8l15x_spi.c
│ ├── stm8l15x_syscfg.c
│ ├── stm8l15x_tim1.c
│ ├── stm8l15x_tim2.c
│ ├── stm8l15x_tim3.c
│ ├── stm8l15x_tim4.c
│ ├── stm8l15x_tim5.c
│ ├── stm8l15x_usart.c
│ ├── stm8l15x_wfe.c
│ └── stm8l15x_wwdg.c
├── lingen
│ └── bin
│ └── win
│ └── lingen.exe
├── make
│ ├── MAKE_LIN_DEPENDENCIES
│ ├── stm8
│ │ └── Make_LIN
│ └── stm8L
│ └── Make_LIN
├── ReadMe.txt
└── src
├── arch
│ ├── lin_arch_include.h
│ ├── lin_def_arch_include.h
│ ├── stm8
│ │ ├── lin_def_stm8_gen.h
│ │ ├── lin_stm8.c
│ │ └── lin_stm8.h
│ └── stm8L
│ ├── lin_def_stm8L_gen.h
│ ├── lin_stm8L.c
│ └── lin_stm8L.h
├── config
│ ├── lin_def.c
│ ├── lin_def.h
│ ├── lin_def_stm8.h
│ └── lin_def_stm8L.h
├── diag
│ ├── lin_diag_api.h
│ ├── lin_diag.c
│ ├── lin_diag.h
│ ├── lin_diag_master.c
│ ├── lin_diag_master.h
│ ├── lin_diag_slave.c
│ └── lin_diag_slave.h
├── general
│ ├── lin_def_gen.h
│ ├── lin_general.c
│ ├── lin_general.h
│ └── lin_types.h
├── lin.h
├── lin_version_control.h
├── master
│ ├── lin_master.c
│ └── lin_master.h
├── slave
│ ├── lin_slave.c
│ └── lin_slave.h
└── timer
├── lin_timer.c
└── lin_timer.h
90 directories, 409 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论