| Electronic Components Datasheet Search |
|
UM0851 Datasheet(PDF) 203 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 Datasheet(HTML) 203 Page - STMicroelectronics |
|
203 / 245 page ![]() UM0851 Audio/video drivers Doc ID 16604 Rev 2 203/245 struct list_head rx_list; /* List for received request */ struct list_head tx_list; /* List for transmit request */ }; TDM switching start This API is used to activate TDM switching. /* spear_ts : timeslot structure (as explained above) pcm_synchro: indicate whether the channel used is narrowband/wideband Inside buffer bank, memory pointer increases differently for each frame, according to the kind of frame. Frame types are : TDM_NARROWBAND_COMPANDED : Companded (8 bit) samples, the pointer will progress by 1 byte at each frame. TDM_NARRORBAND_LINEAR: Linear (16 bits) samples, the pointer will progress by 2 bytes at each frame. The two bytes will be in consecutive timeslots. TDM_WIDEBAND_COMPANDED: the pointer will also progress by 2 bytes at each frame. The first sample will be in the first half of the frame and the second sample in the second half. TDM_WIDEBAND_LINEAR: For wideband linear samples, the pointer will progress by 4 bytes at each frame. Two bytes are located in the first half of the frame, two other in the second half. dir: Direction for the switching(IN/OUT/BOTH) Note: Not used in bufferization. */ spear_tdm_sw_start (struct spear_ts *ts1 , struct spear_ts *ts2 , u8 pcm_synchro , int dir); TDM switching stop This API is used to deactivate TDM switching. /* spear_ts: timeslot structure (as explained above) The api will stop switching operation for the given timeslot. Note: Not used in bufferization.*/ spear_tdm_sw_stop(struct spear_ts *ts); Buffer write This API is used to write data to the buffer memory. The information concerning the data (data pointer, data length, …) are in the struct spear_tdm_request. /* spear_ts: timeslot structure. (as explained above) spear_tdm_req: transmit request. Every request is added in tx_list,On reception of interrupt req will be extracted from the tx_list and served. spear_tdm_req: structure describe one i/o request. Note: Not used in switching.*/ spear_tdm_bfr_write (struct spear_ts *spear_ts, struct spear_tdm_req *req); struct spear_tdm_req { u8 *buf; /* Buffer used for data storage */ |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |