What does a blocking peripheral driver actually block?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

What does a blocking peripheral driver actually block?

830件の閲覧回数
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 返信

757件の閲覧回数
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 件の賞賛
返信