| Electronic Components Datasheet Search |
|
UM0851 Datasheet(PDF) 204 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 Datasheet(HTML) 204 Page - STMicroelectronics |
|
204 / 245 page ![]() Audio/video drivers UM0851 204/245 Doc ID 16604 Rev 2 u32 len; /* length of requested data.for single transaction it cannot be greater than 16 * 1024/bfr_max_channel_ configured.for e.g. if a given timeslot is configured for 16 channel, then length cannot be greater than 1024 bytes.*/ u32 actual_len; /* Reports bytes transfered to/from the buffer */ /* Function call when request completes.*/ void (*complete)( struct spear_ts *ts , struct spear_tdm_req *); int status; /* Reports zero or negative error number.*/ struct list_head list; /* request list used by TDM driver.*/ }; Buffer read This API is used to read n bytes of data from the buffer memory /* spear_ts: timeslot structure. spear_tdm_req: tdm request structure. */ spear_tdm_bfr_read(struct spear_ts *spear_ts , struct spear_tdm_req *req ); TDM bufferization start This API starts bufferization for a single channel and enables the interrupt line. If bufferization for more than one channel is required, the API needs to be called again for each channel. /* spear_ts: timeslot structure. pcm_synchro: Indicate whether the channel used is narrowband/wideband. dir: Direction for the bufferization(IN/OUT/BOTH) Note : Not used in switching. */ spear_tdm_bfr_start(struct spear_ts *ts , u8 pcm_synchro, int dir); TDM bufferization stop This API is used to stop TDM bufferization and disable interrupts. It also frees any pending request. /* spear_ts: timeslot structure. Note : Not used in switching. */ spear_tdm_bfr_stop(struct spear_ts *spear_ts); Bufferization channel free If the channel is not in use, this API is called to free the unused channel. /* spear_ts: timeslot structure. Note : Not used in switching. Return channel number on success and negative value on error. */ spear_tdm_bfr_put(struct spear_ts *ts); |
|
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 |