CodeWarrier

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

CodeWarrier

1,163件の閲覧回数
a8Chcx
Contributor V

Hi,

I am using CodeWarrior IDE 5.7.0 for MCF5282.

I am trying to use gmtime function and got failed.

Is there anyone who can tell me if time related functions are supported? Which CodeWarrior IDE should I use?

Thanks,

Christie

0 件の賞賛
返信
1 返信

876件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Christie,

Unfortunately the time functions are not implemented for ColdFire. The header file (time.h) is provided for compatibility only, the implementation is fully hardware dependent. implementations for these functions cannot be provided because different targets may use different ways to count the time.

If you need it, you have to write your own functions (if you have some Real Time Clock component on your board).


Have a great day,
TIC

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

0 件の賞賛
返信