![]() |
![]() |
TSIP timeslot run-time configuration structure specific to Tx/Rx directions. More...
#include <tsip.h>
Data Fields | |
| unsigned short | enable |
| int16_t | timeslot |
| uint16_t | frameSize |
| void(* | callout )(void *, tsipData_t **, tsipData_t **, uint32_t, uint16_t) |
| void * | context |
| tsipData_t * | buffer |
TSIP timeslot run-time configuration structure specific to Tx/Rx directions.
The parameters in this structure are used to run-time configure Tx/Rx directions of individual timeslots
Initial data to send out for transmit; Place to store initial data for receive
| void(* tsipTsControlDir_t::callout)(void *, tsipData_t **, tsipData_t **, uint32_t, uint16_t) |
Callout function to transmit data between TSIP and application
First argument to pass back in the above callout function
| unsigned short tsipTsControlDir_t::enable |
Enable or disable the timeslot
| uint16_t tsipTsControlDir_t::frameSize |
Frame size and it must be multiple of subFrameRate
| int16_t tsipTsControlDir_t::timeslot |
Timeslot number Bits TSIP_TS_LSB - TSIP_TS_MSB: Timeslot ID Bits TSIP_LINK_LSB - TSIP_LINK_MSB: Link ID Bits TSIP_PORT_LSB - TSIP_PORT_MSB: Port ID