cancel
Showing results for 
Search instead for 
Did you mean: 

ST7FLITEUS2M6 Register File

oc
Associate II
Posted on May 28, 2009 at 19:40

ST7FLITEUS2M6 Register File

3 REPLIES 3
oc
Associate II
Posted on May 26, 2009 at 21:38

Hello all,

I am developing with the ST7FLITEUS2M6, using ST7VD and the ST7 C library.

I cannot find an appropriate register definition file (st7xxx_reg.h) for this micro, specifically one that defines both EICR1 and EICR2 registers.

I can write my own definition file based on the datasheet, but is there something I am missing?

Cheers,

James

wolfgang2399
Associate II
Posted on May 27, 2009 at 08:42

Hi James,

installing the st7tools, you'll get a lot of include-files in the folder include.

The file ST7FLITEUS2.h includes definitions of EICR1 and EICR2 as well.

Regards,

WoRo

oc
Associate II
Posted on May 28, 2009 at 19:40

Ah, OK. Is there an easy way to integrate those files into the existing ST7 C library structure, i.e. device selection in ST7lib_config.h (by virtue of including the device _periph.h file)? How have other approached this?

From a brief look, I guess I should do away with ST7lib_config as supplied, and write my own based on the file in that include folder...