| Electronic Components Datasheet Search |
|
UM0851 Datasheet(PDF) 201 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0851 Datasheet(HTML) 201 Page - STMicroelectronics |
|
201 / 245 page ![]() UM0851 Audio/video drivers Doc ID 16604 Rev 2 201/245 }; /* input clock source selection */ enum spear_tdm_clock { TDM_CLK_CLKSM = 1, /* slave mode clock coming on CLK pin */ TDM_CLK_CLKROSC1, /* It is the internally generated source clock, generally 24MHz.*/ TDM_CLK_CLKRSYNT3, /* Internal clock, can be taken from PLL1 or PLL2 */ TDM_CLK_PLCLK4 /* External clock source,can be taken some external clock source generator.*/ }; Sync signal generation This API is used to configure the sync signal. It specifies the start and end of the signal. The first argument is the structure of the sync register and the second argument defines whether the channel used is narrowband or wideband. spear_tdm_set_sync (struct spear_sync_gen *sync,u8 pcm_synchro); struct spear_sync_gen { enum spear_sync_type sync_type; /* used for the generation of sync signal.*/ enum spear_sync_delay delay; /* indicates the sync generation delayed value.*/ u8 sync_aligned; /* indicates no delay. For delay pass sync_aligned as 1 */ }; enum spear_sync_delay { NODELAY = 0, //for no delay DELAY1 = 1, //for 1 byte delay DELAY2 = 2 , //for 2 byte delay DELAY4 = 4 //for 4byte delay }; enum spear_sync_type { SYNC0 = 0, /* used in slave mode, sampled at slave clock rate (ClkSM) */ SYNC1, /* used in master mode */ SYNC2, /* used in master mode */ SYNC3 /* used in master mode */ }; Configuring timeslot Configuring timeslot number This API is used to configure the timeslot number register. The argument specifies the number of timeslots contained in the frame. By programming 2 in the timeslot register indicates that the sync signal will be generated after two timeslots. /* max_ts: specifies the maximum number of timeslot user wants to configure. Maximum timeslot can be configure is 1024(0x400). It will return zero on success and negative value on error.*/ spear_tdm_ts_max(u32 max_ts); Channel configuration This API indicates how many channels are present. It also indicates how many valid bits are used to indicate the channel number. The API is not used in Switching. |
|
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 |