Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 200 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) 200 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 196Page - STMicroelectronics UM0851 Datasheet HTML 197Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 200 / 245 page
background image
Audio/video drivers
UM0851
200/245
Doc ID 16604 Rev 2
Figure 56.
TDM driver architecture
8.2.3
TDM layer interface
To use the TDM block, you must call a sequence of the APIs provided for switching and
bufferization. Before using the APIs, you need to understand the timeslot structure shown
below which contains the parameters for bufferization and switching.
struct spear_ts {
u8
endianess; /* endianness of the device (little/big endian) */
int
ts_index; /* timeslot number for which bufferization/switching takes
place */
int
bfr_index; /* represent channel number for bufferization. It can be from
0-15 */
struct spear_ts
*ts_sw;
void __iomem
*io_base_act_mem;
/* tdm action mem 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;
struct list_head rx_list; /* List for received request */
struct list_head tx_list; /* List for transmit request */
};
Clock configuration
This API is used for configuring the TDM clock. The TDM clock structure must be passed as
an input argument.
Spear_tdm_set_clock (struct spear_tdm_confclk *clk);
struct spear_tdm_confclk {
u32 divisor;
/* used for the divided clock input. The output of the divider stage
is then the input frequency divided by {2*(D[15-0] +1}}*/
int bypass;
/* when bypass = 1 the selected input clock is directly used as clock
for master mode. when bypass = 0
the divider output is used for clock
in master mode.*/
int x;
/* Application will fill the x and y value for configuring clock Fout.
Fout = Fin*X/Y, FIN= PLL1 Frq= 333 Mhz, X=1,Y=5,Fout= 66.6MHz. The
value of should be x<=y/2 and y<256. By getting these values the
driver will set clock in miscellaneous register.*/
int y;
/* see x */
enum spear_tdm_clockclock_type; /* input clock source selection. */
TDM controller driver
TDM controller
Kernel application
Kernel space
Hardware



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