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

边栏推荐
- 【AutoSAR 七 工具链简介】
- About the practice topic of screen related to unity screen, unity moves around a certain point inside
- 简单聊聊运维监控的其他用途
- 关于XML一些介绍和注意事项
- One of the reasons why setinterval timer does not take effect in ie: the callback is the arrow function
- University of Toronto:Anthony Coache | 深度强化学习的条件可诱导动态风险度量
- Rust ownership (very important)
- [shutter] image component (load network pictures | load static pictures | load local pictures | path | provider plug-in)
- Some introduction and precautions about XML
- Pat 1030 travel plan (30 points) (unfinished)
猜你喜欢

Why is the website slow to open?

Logback configuration file

How SQLSEVER removes data with duplicate IDS

redis21道经典面试题,极限拉扯面试官

ftrace工具的介绍及使用

Hdu3507 (slope DP entry)

使用jenkins之二Job

University of Toronto:Anthony Coache | 深度强化学习的条件可诱导动态风险度量

The "2022 China Digital Office Market Research Report" can be downloaded to explain the 176.8 billion yuan market in detail

如何系统学习机器学习
随机推荐
Wechat applet obtains the information of an element (height, width, etc.) and converts PX to rpx.
node_ Modules cannot be deleted
Unity learns from spaceshooter to record the difference between fixedupdate and update in unity for the second time
form表单实例化
Is there a free text to speech tool to help recommend?
There is an unknown problem in inserting data into the database
[jetcache] jetcache configuration description and annotation attribute description
Shell 实现文件基本操作(切割、排序、去重)
Hundreds of continuous innovation to create free low code office tools
【单片机项目实训】八路抢答器
NC50965 Largest Rectangle in a Histogram
Markdown tutorial
Andorid gets the system title bar height
关于QByteArray存储十六进制 与十六进制互转
Install docker and use docker to install MySQL
[shutter] image component (load network pictures | load static pictures | load local pictures | path | provider plug-in)
logback配置文件
ftrace工具的介绍及使用
Nc20806 District interval
Kubernetes simple introduction to writing YML