当前位置:网站首页>【AutoSAR 九 C/S原理架构】
【AutoSAR 九 C/S原理架构】
2022-07-02 23:49:00 【柯宇谦】
AutoSAR 九 C/S原理架构
1 同步调用
- 同步调用Server是可以设置时限(Timeout)的,一旦超过时限就Return(timeout)。
- 同步是在Rte_Call的时候开始计时
2 异步调用
2.1 带时限 Timeout
- 异步调用的时限和同步调用的时限是不同的,同步是在Rte_Call的时候开始计时,异步是在RequestResult的时候开始计时。
2.2 循环等待 Polling
- 隔一段时间去索取一下结果,如果没有就继续执行下面的代码,直到下一个间隔再去索取一遍,最后直到索取到结果为止。
2.3 触发 Trigger
- 触发的方式有点像是ADC中断,一旦ADC转换完成会产生一个中断,在中断中将ADC数据做一些初步处理。
- 一旦Server执行完成后,就触发一个回调的Runnable2函数执行,将Server的数据Return到这个Runnable2中做一些初步处理(比如放入某个全局变量中供其他代码使用)
边栏推荐
- Pageoffice - bug modification journey
- Explain in detail the significance of the contour topology matrix obtained by using the contour detection function findcontours() of OpenCV, and how to draw the contour topology map with the contour t
- Tensorflow 2.x(keras)源码详解之第十五章:迁移学习与微调
- Nc17059 queue Q
- Callback event after the antv X6 node is dragged onto the canvas (stepping on a big hole record)
- Markdown tutorial
- Extension of flutter
- Redis21 classic interview questions, extreme pull interviewer
- Linux软件:如何安装Redis服务
- [IELTS reading] Wang Xiwei reading P2 (reading fill in the blank)
猜你喜欢
Install docker and use docker to install MySQL
Bigder: how to deal with the bugs found in the 32/100 test if they are not bugs
Solution to the problem of abnormal display of PDF exported Chinese documents of confluence
Shell implements basic file operations (cutting, sorting, and de duplication)
文件操作IO-Part2
How SQLSEVER removes data with duplicate IDS
Vulkan-性能及精细化
图解网络:什么是虚拟路由器冗余协议 VRRP?
[shutter] Introduction to the official example of shutter Gallery (learning example | email application | retail application | wealth management application | travel application | news application | a
Shell 实现文件基本操作(sed-编辑、awk-匹配)
随机推荐
关于QByteArray存储十六进制 与十六进制互转
pageoffice-之bug修改之旅
AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决
NC50965 Largest Rectangle in a Histogram
【AutoSAR 六 描述文件】
【日常训练】871. 最低加油次数
v8
Andorid gets the system title bar height
腾讯云免费SSL证书扩展文件含义
NC50528 滑动窗口
免费自媒体必备工具分享
NC24840 [USACO 2009 Mar S]Look Up
Automated defect analysis in electron microscopic images-论文阅读笔记
lex && yacc && bison && flex 配置的问题
Understanding and application of least square method
Markdown使用教程
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)
【AutoSAR 七 工具链简介】
Confluence的PDF导出中文文档异常显示问题解决
Bigder: how to deal with the bugs found in the 32/100 test if they are not bugs