mc9s12c128 header files

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

mc9s12c128 header files

2,365件の閲覧回数
lost2007
Contributor I
This may be an ignorant question but I would like to know the answer. I would like to know if there is a mc9s12c128.h header file available for programming this microprocessor? If not does the mc9s12c32.h header file work?
ラベル(1)
0 件の賞賛
返信
1 返信

695件の閲覧回数
Lundin
Senior Contributor IV
The register map is the same for all S12 devices, the smaller devices are just missing parts of it (the registers are reserved instead of used).

I really don't know why Metrowerks/Freescale made separate register maps for separate derivates, it makes no sense since they are code compatible. Why they wrote the h-file non-standard C is also a good question. If you want to use ANSI C, the only option is to write your own register map.

I'm using my own register map called "s12reg" which is originally for DP256 but works fine with DG256, DG128, C128, C32 etc.
0 件の賞賛
返信