What does a blocking peripheral driver actually block?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

What does a blocking peripheral driver actually block?

814 次查看
althafismail
Contributor I

I'm trying to optimize the timing in my application that uses the K64F12, KDS3.0, KSDK1.3, and MQX.  I wonder if any one know if a blocking peripheral driver only blocks the corresponding MQX task that calls it, or does it completely block MQX from continuing on with other tasks?

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

741 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Althaf,

As far as I know, most peripheral drivers of MQX do not use blocking mechanism, in other words, the read()/write() function return immediately without blocking. If the peripheral drivers use blocking mechanism, it only blocks the corresponding MQX task that calls it.

Hope it can help you.

BR

Xiangjun Rong

0 项奖励
回复