![]() |
![]() |
TSIP Port-Link-Timeslot Bit Allocation | |
Define which bits in a 16 bit timeslot field specify the port number, the link number, and the timeslot number. The bit allocation depends on the maximal number of ports, links, timeslots to be supported. In the following example, the maximal number of timeslots, link, and ports is 512, 8, 4, respectively. 15 14 13 12 11 9 8 0 /-------------------------------------------------------------\ | unused | port | link | timeslot | \-------------------------------------------------------------/ | |
#define | TSIP_PORT_MSB 13 |
#define | TSIP_PORT_LSB 12 |
#define | TSIP_LINK_MSB 11 |
#define | TSIP_LINK_LSB 9 |
#define | TSIP_TS_MSB 8 |
#define | TSIP_TS_LSB 0 |
#define TSIP_LINK_LSB 9 |
LSB of TSIP Link bits
#define TSIP_LINK_MSB 11 |
MSB of TSIP Link bits
#define TSIP_PORT_LSB 12 |
LSB of TSIP Port bits
#define TSIP_PORT_MSB 13 |
MSB of TSIP Port bits
#define TSIP_TS_LSB 0 |
LSB of TSIP Timeslot bits
#define TSIP_TS_MSB 8 |
MSB of TSIP Timeslot bits