Skip to main content
oc_it
Associate II
May 28, 2009
Question

ST7FLITEUS2M6 Register File

  • May 28, 2009
  • 3 replies
  • 1020 views
Posted on May 28, 2009 at 19:40

ST7FLITEUS2M6 Register File

This topic has been closed for replies.

3 replies

oc_it
oc_itAuthor
Associate II
May 26, 2009
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 III
May 27, 2009
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_it
oc_itAuthor
Associate II
May 28, 2009
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...