AnsweredAssumed Answered

Type definitons - mcf5225.h

Question asked by Letha Jacob on Aug 6, 2009
Latest reply on Aug 6, 2009 by Letha Jacob

Hi,

       The controller that I am using is MCF52259.

1) How can I read the general purpose register "D0"?

2) Is mcf5225.h the header file to be used for type definitons of the registers?

 

If YES,

--> The reset control register of M52259 is an 8 bit register, whereas, the file "mcf5225.h" specifies it as a 16 bit int.

" uint_16 RCON; // Reset Configuration Register"

 

Why is this change? Or is there a seperate header file for M52259?

 

Thanks,

Chen

Outcomes