数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

RM0319 数据表(PDF) 294 Page - STMicroelectronics

部件名 RM0319
功能描述  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

RM0319 数据表(HTML) 294 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 290Page - STMicroelectronics RM0319 Datasheet HTML 291Page - STMicroelectronics RM0319 Datasheet HTML 292Page - STMicroelectronics RM0319 Datasheet HTML 293Page - STMicroelectronics RM0319 Datasheet HTML 294Page - STMicroelectronics RM0319 Datasheet HTML 295Page - STMicroelectronics RM0319 Datasheet HTML 296Page - STMicroelectronics RM0319 Datasheet HTML 297Page - STMicroelectronics RM0319 Datasheet HTML 298Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 294 / 368 page
background image
Digital audio port (I2S)
RM0319
294/368
Doc ID 022640 Rev 3
27.6
Interrupts
The four I2S interrupt sources are ORed to a single global interrupt request. The I2S global
interrupt is mapped on the same interrupt request line (IRQ30) as the PL_GPIO interrupt
request.
Note:
PL_GPIO interrupts must be disabled if I2S interrupts are used and vice versa.
See also: Interrupt request table on page 361
27.7
Programming examples
27.7.1
Using the I2S transmitter (Tx mode)
Note:
Before executing the following steps, enable the I2S block clocks.
1.
Enable I2S: write IER[0] = 1
2.
Fill TX FIFOs: write data to LTHR and RTHR until filled.
Alternately, use the TXDMA registers to write data into the TX FIFOs.
3.
Enable the transmitter block: write ITER[0] = 1
4.
Enable clock generation: write CER[0] = 1
27.7.2
Using the I2S receiver (Rx mode)
1.
Enable I2S: write IER[0] = 1
2.
Enable the receive block: write IRER[0] = 1
3.
Read data through the LRBR and RRBR/RXDMA registers.
Table 88.
I2S interrupts
Name
Interrupt
Description
intr_emp_tx
Tx block empty
This interrupt is asserted when the empty trigger threshold level for the TX
FIFO is reached. A TX FIFO Empty interrupt is cleared by writing data to the
TX FIFO to bring its level above the empty trigger threshold level for the
channel
intr_or_tx
Tx block overrun
This interrupt is asserted when an attempt is made to write to a full TX. A
Data Overrun interrupt is cleared by reading the Transmit Channel Overrun
(TXCHO) bit [0] of the Transmit Overrun Register (TOR0). FIFO (any data
being written is lost while data in the FIFO is preserved).
intr_da_rx
Rx block data available
This interrupt is asserted when the trigger level for the RX FIFO is reached.
This interrupt is cleared by reading data from the RX FIFO until its level
drops below the data available trigger level for the channel.
intr_or_rx
Rx block overrun
This interrupt is asserted when an attempt is made to write received data to
a full RX FIFO (any data being written is lost while data in the FIFO is
preserved). This interrupt is cleared by reading the Receive Channel
Overrun (RXCHO) bit [0] of the Receive Overrun Register (ROR0).



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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