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

边栏推荐
- Multiprocess programming (V): semaphores
- LeedCode1480. Dynamic sum of one-dimensional array
- node_ Modules cannot be deleted
- Web2.0的巨头纷纷布局VC,Tiger DAO VC或成抵达Web3捷径
- Basic use of shell script
- Two common methods and steps of character device registration
- JSON conversion tool class
- 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
- Form form instantiation
- Set up nacos2 X cluster steps and problems encountered
猜你喜欢

Install docker and use docker to install MySQL

【小程序项目开发-- 京东商城】uni-app之自定义搜索组件(中)-- 搜索建议

Shell 实现文件基本操作(切割、排序、去重)

Attributeerror: 'tuple' object has no attribute 'layer' problem solving

Rust字符串切片、结构体和枚举类

AttributeError: ‘tuple‘ object has no attribute ‘layer‘问题解决

Understanding and application of least square method

Markdown使用教程

mm中的GAN模型架构

Shell implements basic file operations (cutting, sorting, and de duplication)
随机推荐
Install docker and use docker to install MySQL
1.12 - 指令
pageoffice-之bug修改之旅
NC50965 Largest Rectangle in a Histogram
Rust所有权(非常重要)
1.11 - 总线
Array common operation methods sorting (including ES6) and detailed use
Attributeerror: 'tuple' object has no attribute 'layer' problem solving
University of Oslo: Li Meng | deep reinforcement learning based on swing transformer
文件操作IO-Part2
字符设备注册常用的两种方法和步骤
There is an unknown problem in inserting data into the database
2022上半年值得被看见的10条文案,每一句都能带给你力量!
Unity learns from spaceshooter to record the difference between fixedupdate and update in unity for the second time
NC24840 [USACO 2009 Mar S]Look Up
Graduation summary
NC24840 [USACO 2009 Mar S]Look Up
Understanding and application of least square method
多进程编程(四):共享内存
Web2.0的巨头纷纷布局VC,Tiger DAO VC或成抵达Web3捷径