What does a blocking peripheral driver actually block?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What does a blocking peripheral driver actually block?

328 Views
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?

Labels (1)
0 Kudos
1 Reply

255 Views
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 Kudos