INOS
cinoscopmodule.h File Reference

COP slave definition. More...

#include <vector>
#include <xmlparser.h>
Include dependency graph for cinoscopmodule.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SINOSCOPModule
 Struct with data describing a COP module. More...
 
struct  SINOSCOPBoardInfo
 Struct for the COP module board info data. More...
 
struct  SINOSCOPModuleEeprom
 Struct of the eeprom data of a COP module. More...
 
class  CINOSCOPModule
 The class handling a single COP module. More...
 

Macros

#define DF_INOS_COP_MAX_MODULES   16
 Max. number of supported COP modules (external and internal).
 
#define DF_INOS_COP_PORT_ADDRESS   0x80000000
 port base address
 
#define DF_INOS_COP_PORT_MEMORY_SIZE   256
 port memory size (16 bit values)
 
#define DF_INOS_COP_RAM_ADDRESS   0x00000000UL
 ram base address
 
#define DF_INOS_COP_RAM_MEMORY_SIZE   512
 ram memory size (16 bit values)
 
#define DF_INOS_COP_PORT_RAM_ADR   0xF8
 ram address port
 
#define DF_INOS_COP_PORT_RAM_DAT   0xF9
 ram data port
 
#define DF_INOS_COP_PORT_STATUS   0xFC
 status
 
#define DF_INOS_COP_PORT_APPREV   0xFE
 apprev
 
#define DF_INOS_COP_PORT_SEQREV   0xFF
 seqrev
 
#define DF_INOS_COP_PORT_ENABLE_WRITE   0x4000
 enable port write (for one second)
 
#define DF_INOS_COP_FLAG_EEPROM_VALID   0x00000001
 Flag if eeprom could be read and is valid.
 
#define DF_INOS_COP_FLAG_XML_MOD_VALID   0x00000002
 Flag if module's xml config file is valid.
 
#define DF_INOS_COP_FLAG_RAM_PROTECT   0x00000004
 Flag if ram config ports (0xF8/0xF9) need enable flag before writing.
 
#define DF_INOS_COP_FLAG_LITTLE_ENDIAN   0x00000008
 Flag if ram is little endian.
 
#define DF_INOS_COP_FLAG_INFO_1   0x00000010
 Flag if eeprom has to be registred as Target.Info.1.
 
#define DF_INOS_COP_STRT_OPTION_SLOW   0x00000001
 Action on slow port e.g. status.
 

Detailed Description

COP slave definition.

Author
Ch. Hirzel
Remarks
project         : INOS
language        : GNU C++
system          : COP (COmponent Peripherals)

COP (COmponent Peripherals) slave definition.