How to use PEx Timeout component

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

How to use PEx Timeout component

1,009件の閲覧回数
javervalino
Contributor III

Hi,

Can anyone tell me how to use the timeout component in PEx?

I did something like this.. But unfortunately, it doesn't work.

TMOUT1_Init();

handle = TMOUT1_GetCounter(4000);

res = TMOUT1_Value(handle);

while (TMOUT1_CounterExpired(handle) != TRUE) {

printf(“%d \r\n”, res);

}

TMOUT1_LeaveCounter(handle);

printf(“%d \r\n”, res);

Thank you in advance.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

856件の閲覧回数
BlackNight
NXP Employee
NXP Employee
0 件の賞賛
返信