当前位置:网站首页>【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中做一些初步处理(比如放入某个全局变量中供其他代码使用)

边栏推荐
- 简单聊聊运维监控的其他用途
- Shell脚本基本使用
- 【Pulsar文档】概念和架构/Concepts and Architecture
- Detailed explanation of pod life cycle
- node_ Modules cannot be deleted
- JSON转换工具类
- NC20806 区区区间间间
- Rust所有权(非常重要)
- 毕业总结
- [shutter] Introduction to the official example of shutter Gallery (learning example | email application | retail application | wealth management application | travel application | news application | a
猜你喜欢

可下载《2022年中国数字化办公市场研究报告》详解1768亿元市场

Shell implements basic file operations (cutting, sorting, and de duplication)

Unity learns from spaceshooter to record the difference between fixedupdate and update in unity for the second time

ftrace工具的介绍及使用

Redis21 classic interview questions, extreme pull interviewer

Rust string slicing, structs, and enumeration classes

An excellent orm in dotnet circle -- FreeSQL

Bloom filter
![[target detection] r-cnn, fast r-cnn, fast r-cnn learning](/img/f0/df285f01ffadff62eb3dcb92f2e04f.jpg)
[target detection] r-cnn, fast r-cnn, fast r-cnn learning
【AutoSAR 五 方法论】
随机推荐
程序分析与优化 - 9 附录 XLA的缓冲区指派
Wechat applet obtains the information of an element (height, width, etc.) and converts PX to rpx.
Nc17059 queue Q
详解用OpenCV的轮廓检测函数findContours()得到的轮廓拓扑结构(hiararchy)矩阵的意义、以及怎样用轮廓拓扑结构矩阵绘制轮廓拓扑结构图
在线预览Word文档
Helm basic learning
Kubernetes simple introduction to writing YML
Install docker and use docker to install MySQL
Solution to the problem of abnormal display of PDF exported Chinese documents of confluence
Free we media essential tools sharing
node_ Modules cannot be deleted
[Chongqing Guangdong education] audio visual language reference materials of Xinyang Normal University
Unity learns from spaceshooter to record the difference between fixedupdate and update in unity for the second time
NC20806 区区区间间间
LeedCode1480.一维数组的动态和
Markdown使用教程
【Pulsar文档】概念和架构/Concepts and Architecture
【日常训练】871. 最低加油次数
Callback event after the antv X6 node is dragged onto the canvas (stepping on a big hole record)
LeedCode1480. Dynamic sum of one-dimensional array