English
Language : 

CN8478 Datasheet, PDF (149/221 Pages) Conexant Systems, Inc – Multichannel Synchronous Communications Controller (MUSYCC)
CN8478/CN8474A/CN8472A/CN8471A
Multichannel Synchronous Communications Controller (MUSYCC™)
6.0 Basic Operation
6.3 Channel Operation
6.3.8 Message Length Descriptor
/* maximum frame length register 2 = 0x200 */
/* maximum frame length register 1 = 0x400 */
GroupStr0.MessageLengthDescr = 0x02000400;
/* either write directly into MUSYCC register - or - use a service request */
*(MUSYCC_FUNC_0_BAR + MESSAGE_LENGTH_DESCR_OFFSET) =
GroupStr0.MessageLengthDescr;
The components of the Message Length Descriptor are listed in Table 6-7.
Table 6-7. Example—Components of Message Length Descriptor
Descriptor
Component of Descriptor
Message
Length
Descriptor
MAXFRM2
MAXFRM1
Value of Components
0x200, register 2 to 512 octets
0x400, register 1 to 1024 octets
6.3.9 Transmit Time Slot Map—Channel 0
/* each time slot descriptor contains 4 time slot assignments */
/* each byte in the dword descriptor is a time slot assignment */
/* byte 0/dword 0 is for time slot 0 */
/* byte 1/dword 0 is for time slot 1 */
/* byte 2/dword 0 is for time slot 2 */
/* byte 3/dword 0 is for time slot 3 */
/* for demonstration, assign each byte separately */
GroupStr0.Txtime slotMap[0] = 0; /* zero it out for demo purposes */
/* time slot 0, channel number assigned = 0 */
/* time slot 0, time slot enabled code = 4, enabled and 64 kbps */
GroupStr0.Txtime slotMap[0] |= 0x00000080;
/* time slot 1, channel number assigned = 1 */
/* time slot 1, time slot enabled code = 7, subchannel w/ 1st bit active */
GroupStr0.Txtime slotMap[1] |= 0x0000D100;
/* time slot 2, channel number assigned = 2 */
/* time slot 2, time slot enabled code = 4, enabled and 64 kbps */
GroupStr0.Txtime slotMap[2] |= 0x00820000;
/* time slot 3, channel number assigned = 2 */
/* time slot 3, time slot enabled code = 4, enabled and 64 kbps */
GroupStr0.Txtime slotMap[3] |= 0x82000000;
/* either write directly into MUSYCC register - or - use a service request */
*(MUSYCC_FUNC_0_BAR + TX_time slot_MAP_OFFSET) = GroupStr0.Txtime slotMap[0];
/* the value for the first dword becomes Tx time slot Map = 0x8282D180 */
100660E
Conexant
6-15