Produce 100 ms timer interrupt

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

Produce 100 ms timer interrupt

ソリューションへジャンプ
1,850件の閲覧回数
李志權
Contributor II

I have a k60 development board, and now want to use the codewarrior implementation produces a 100 ms interrupt timer, how should I set?

Development board type:TWR-K60D100M

ラベル(1)
0 件の賞賛
返信
1 解決策
1,551件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信
4 返答(返信)
1,551件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

I generate a project using CodeWarrior10.5 with PE.

Use the TimerUnit_LDD as PIT , every 100ms it may run into PIT0_OnCounterRestart at Event.c.

Use the BitIO_LDD as LED_GRN , every time it run into PIT0_OnCounterRestart ,  the green led will change it's status.

0 件の賞賛
返信
1,552件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

You can refer it:

PIT 100ms PE.jpg

0 件の賞賛
返信
1,551件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

There are several module you can use to do that.

Maybe you can use PIT module.

0 件の賞賛
返信
1,551件の閲覧回数
BlackNight
NXP Employee
NXP Employee
0 件の賞賛
返信