Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 202 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 202 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 198Page - STMicroelectronics UM0851 Datasheet HTML 199Page - STMicroelectronics UM0851 Datasheet HTML 200Page - STMicroelectronics UM0851 Datasheet HTML 201Page - STMicroelectronics UM0851 Datasheet HTML 202Page - STMicroelectronics UM0851 Datasheet HTML 203Page - STMicroelectronics UM0851 Datasheet HTML 204Page - STMicroelectronics UM0851 Datasheet HTML 205Page - STMicroelectronics UM0851 Datasheet HTML 206Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 202 / 245 page
background image
Audio/video drivers
UM0851
202/245
Doc ID 16604 Rev 2
The API is called only once at the start of bufferization. The only way to change the channel
configuration is by resetting the device. Setting the maximum channel as 'n' (can be 0. 2, 4,
8,16 ) means dividing the buffer memory into 'n' equal blocks.
/* max_chan: specifies the maximum number of channels. It could be 0,2,4,8 or 16. It
will return on success and negative value on error. */
spear_tdm_bfr_max_chan (u32 max_chan);
Frame size configuration
This API configures the number of samples that must be compiled in buffering mode before
switching the banks and interrupting the processor.
/* frame_size: specifies number of samples
It will return zero on success and negative value on error. */
spear_tdm_bfr_frame_size(u32 frame_size);
Getting timeslot information
This API is used to get timeslot information. It returns a pointer to the timeslot structure,
containing the necessary information for switching/bufferization.This information is needed
to start bufferization or switching. It contains the information about endianess of the device,
timeslot number for which the bufferization or switching takes place. It also contains the
information about the channel number for bufferization.
More details on the timeslot structure are given at the beginning of Section 8.2.3: TDM layer
interface
/* Index: represent the timeslot number for which switching/bufferization takes
place. Return timeslot structure on success and zero if the index is greater than the
maximum timeslot value. */
spear_tdm_ts_get(int index);
Get bufferization channel
This API gives the unused channel number for bufferization. If the channel is not available it
will return an error.
/* Return channel number on success and negative value on error.
Note : Not used in switching . */
spear_tdm_bfr_get (struct spear_ts *ts);
struct spear_ts {
u8
endianess;
/* endianness of the device (little ending/big endian)*/
int
ts_index;
/* timeslot number for which bufferization/switching takes
place */
int
bfr_index;
/* represents channel number for bufferization. Valid values
are from 0-15*/
struct spear_ts
*ts_sw; /* */
void __iomem
*io_base_act_mem; /* action memory base address (tdm base
address + action memory base address) */
int
bfr_dir;
/* Direction for the bufferization(IN/OUT/BOTH) */
u16
bfr_active;
/* field value 1 shows bufferization is start,
0 means bufferization is stopped. */
int
status; /* */



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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