Porting of the host application
Copyright IXXAT Automation GmbH
48
IEM Manual, 1.5
*/
#define IEM_cfg_EXT_PORT_INFO CFG_k_FEAT_ENABLE
/** IEM_cfg_LINK_STATE_INFO:
This define has to be activated to enable access to link information
provided by the module. Only if both host and protocol firmware version
support this feature, it can be used. Descriptions of protocol firmware
functionality can be found at the version history file "_ReadMe.txt"
delivered with the module firmware.
Allowed values: CFG_k_FEAT_ENABLE, CFG_k_FEAT_DISABLE
*/
#define IEM_cfg_LINK_STATE_INFO CFG_k_FEAT_DISABLE
/** IEM_cfg_HOST_FUP:
activate this define to enable firmware update at host side.
Allowed values: CFG_k_FEAT_ENABLE, CFG_k_FEAT_DISABLE
*/
#define IEM_cfg_HOST_FUP CFG_k_FEAT_ENABLE
3.2.3 Target.h
The target.h file contains all target specific settings and macros. The important
settings are endianess (little or big) and the macros.
Define the host system set XC161 / TMS320 / other
Define the data format
select little or big endian with corresponding value
Set macro definitions
Define memory and string access functions
3.2.4 Integral.h
The integral.h contains a subset of macros, which are used to adapt the appli-
cation processor endianess to the IEM endianess.
Verify/Adapt memory macros
macros to write/read in little/big endian byte or-
der
3.3
Scaling
The API can be adapted on systems with limited memory resources.
3.3.1 Service channels
For communication between host and module controller, request/response and
indication/confirmation mechanisms are used (see chapter 1.8.5.2). It is possi-
ble to deactivate one or both service channels. By default, both channels are
activated.