English
Language : 

EMC12 Datasheet, PDF (26/48 Pages) List of Unclassifed Manufacturers – Audio Interface for the EmPack System
EMC12 Hardware Reference Manual
The following function is used to update the hardware copy of the map after making one or more
incremental changed to the map:
int
EmWriteTdmMap (
MODULE_HANDLE Module
)
This function writes the software copy of the TDM map to the hardware if the hardware copy is
not current. The new map will become active on the next TDM frame boundary. Note that the
EmStartTdm function will also update the hardware map if it is not current.
In case an application is required to adopt the current configuration of the TDM map, the following
function is used to initialize the software copy of the map to reflect the current hardware map form the
module.
int
EmReadTdmMap (
MODULE_HANDLE Module
)
Note that in such cases, the application should not call EmInitModule , EmInitEmpack or
EmClearTdmMap as doing so would destroy the current configuration of the hardware. After
calling EmReadTdmMap the application may modify and update the map normally.
The following functions are used to make incremental additions, adding TDM sources or destinations to
the software copy of theTDM map.
int
EmAddTdmSrc (
MODULE_HANDLE Module,
RESOURCE_HANDLE Resource,
int Slot,
int Bus,
int Option1,
int Option2
)
int
EmAddTdmDst (
MODULE_HANDLE Module,
RESOURCE_HANDLE Resource,
int Slot,
int Bus,
int Option1,
int Option2
)
EmAddTdmSrc is used to add a device that will drive data onto a specified TDM bus during a
specified TDM time slot. EmAddTdmDst is used to add a device to receive data from a
specified TDM bus during a specified TDM time slot. Both functions require arguments to
specify the Empack Module and Resource for the TDM device.
09 Jan 2006
Communication Automation Corporation
1-22