Could not find the definition of TIM registers in XET256

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

Could not find the definition of TIM registers in XET256

ソリューションへジャンプ
1,117件の閲覧回数
myles0
Contributor I

Hi:

     I Could not find the definition of each TIM register in "mc9s12xet256.h", such as  "TIM_TIOS, TIM_TCTL4, and so on". Meanwhile , I could not find any definition on the addresses of 0x03D0–0x03FF,which are mapped to the TIM module.They can all be found in "mc9s12xep100.h".My H file version is 3.00.034.

     Should the TIM register definition be finished by user himself when use mc9s12xet256 ?

Original Attachment has been moved to: mc9s12xet256.h.zip

ラベル(1)
0 件の賞賛
返信
1 解決策
878件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi 小兵 祝,

It is correct.

Please look at Table D-2. Peripheral Options of MC9S12XE-Family Members in RM.

The TIM module is available only for 9S12XEP100 and 9S12XEP768. The TIM is routed to port R.

Please use ECT timer which is routed to port T.

It is enhanced version of TIM timer (+16-Bit Modulus Down Counter, +Pulse Accumulator B).

I hope it helps you.

Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

1 返信
879件の閲覧回数
RadekS
NXP Employee
NXP Employee

Hi 小兵 祝,

It is correct.

Please look at Table D-2. Peripheral Options of MC9S12XE-Family Members in RM.

The TIM module is available only for 9S12XEP100 and 9S12XEP768. The TIM is routed to port R.

Please use ECT timer which is routed to port T.

It is enhanced version of TIM timer (+16-Bit Modulus Down Counter, +Pulse Accumulator B).

I hope it helps you.

Have a great day,
Radek

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------