MQX Lite Driver functionality (Enable / Disable Interrupts)

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

MQX Lite Driver functionality (Enable / Disable Interrupts)

ソリューションへジャンプ
1,180件の閲覧回数
lokuate
Contributor III

Hello,

I've found the MQX Lite driver model is different than MQX, MQX Lite drivers are generated by Processor Expert with a pre-determined functionality and are not intended to be messed with.

My application requires me to Disable / Enable the a UART (SCI / AS) port every period of time, and I cannot find that functionality in the P.E. Driver, how can I go about obtaining this functionality.

There's a _int_disable() function in MQX Lite that disables all interrupt up to the current task priority, that is not exactly what I want or need.

I hope somebody can help me get out of this jam, I'm new with MQX.

I used to work with FreeRTOS where there's a xUARTdisable(UART1handle); function that does the trick.

Kindest Regards,

Carlos

0 件の賞賛
返信
1 解決策
884件の閲覧回数
petr_uhlir
NXP Employee
NXP Employee

Hello Carlos,

if you are using Serial_LDD driver you can use Enable and Disable methods. Both are not generated by default so you have to switch to Advanced or Expert mode and set Value to "generate code"

AS1.PNG

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
885件の閲覧回数
petr_uhlir
NXP Employee
NXP Employee

Hello Carlos,

if you are using Serial_LDD driver you can use Enable and Disable methods. Both are not generated by default so you have to switch to Advanced or Expert mode and set Value to "generate code"

AS1.PNG

0 件の賞賛
返信