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

X  

PC87373 数据表(PDF) 134 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
部件名 PC87373
功能描述  LPC SuperI/O with Glue Functions
PDF  174 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  NSC [National Semiconductor (TI)]
网页  http://www.national.com
标志 NSC - National Semiconductor (TI)

PC87373 数据表(HTML) 134 Page - National Semiconductor (TI)

Back Button PC87373 Datasheet HTML 130Page - National Semiconductor (TI) PC87373 Datasheet HTML 131Page - National Semiconductor (TI) PC87373 Datasheet HTML 132Page - National Semiconductor (TI) PC87373 Datasheet HTML 133Page - National Semiconductor (TI) PC87373 Datasheet HTML 134Page - National Semiconductor (TI) PC87373 Datasheet HTML 135Page - National Semiconductor (TI) PC87373 Datasheet HTML 136Page - National Semiconductor (TI) PC87373 Datasheet HTML 137Page - National Semiconductor (TI) PC87373 Datasheet HTML 138Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 134 / 174 page
background image
11.0 Musical Instrument Digital Interface (MIDI) Port (Continued)
134
www.national.com
Revision 1.1
The Receive FIFO Full and Transmit FIFO Empty status flags are reflected by MSTAT register bits 5 and 2, respectively.
These bits are updated only when the MIDI Port operates in UART mode or when in Pass-Thru mode with the Receive FIFO
enabled. Otherwise, these bits are constantly cleared. The values of these bits are set by the MIDI Port hardware and are
not affected by reading the MSTAT register.
The Receive Overrun Error flag indicates that serial data was received by the MIDI Communication Engine while the Receive
Buffer of FIFO was full. This flag is reflected by bit 3 of the MSTAT register. It is updated in both Pass-Thru and UART modes.
When a Receive Overrun Event occurs, the data in the Receive Buffer/FIFO is kept and all incoming data is lost. Incoming
data will keep getting lost until there is room in the Receive Buffer/FIFO to accept it. The Receive Overrun Error status flag
is cleared when the MSTAT register is read.
The MIDI Port Operation Mode flag indicates whether the MIDI Port is currently operating in Pass-Thru or UART mode. This
status flag is reflected by bit 4 of the MSTAT register. It can be used by software to keep track of the currently selected MIDI
Port operation mode.
11.2.8 MIDI Port Interrupts
The MIDI Port supports interrupt assertion in both Pass-Thru and UART modes in response to one or both of the following
events:
q
Receive Data Ready
q
Transmit Buffer Empty
The Receive Data Ready event refers to the case in which there is data to be read in the Receive Buffer/FIFO. An interrupt
request is asserted by the MIDI Port to indicate a Receive Data Ready event in one of the following cases:
The MIDI Port is in Pass-Thru mode and the Receive Buffer contains a data or acknowledge byte that has not been read
yet. In this case, the interrupt request is de-asserted once the Receive buffer is read.
The MIDI Port is either in UART mode and the Receive FIFO contains eight or more data bytes that have not been read
yet, or it is in Pass-Thru mode with the Receive FIFO enabled. In this case, the interrupt request is de-asserted once the
Receive FIFO level drops below eight bytes.
The MIDI Port is in UART mode, the Receive FIFO contains less than eight data bytes which have not been read yet,
and no data was received by the Communication Engine, the MIDI Port is in Pass-Thru mode with the Receive FIFO
enabled, or a read occurs from the Receive FIFO during a timeout period of approximately 1.28 msec (the time it takes
to transfer 4 bytes over the MIDI communication channel). In this case, the interrupt request is de-asserted when either
new data is received by the Communication Engine or data is read from the Receive FIFO.
The Transmit Buffer Empty event refers to the case in which the Transmit Buffer/FIFO of the MIDI Port can still accept data
to transmit. An interrupt request is asserted by the MIDI Port to indicate a Transmit Buffer Empty event in one of the following
cases:
The MIDI Port is in Pass-Thru mode and the Transmit Buffer is empty. In this case, the interrupt request is de-asserted
once a byte is written to the Transmit Buffer.
The MIDI Port is in UART mode and the Transmit FIFO is empty. In this case, the interrupt request is de-asserted once
the Transmit FIFO is filled with at least three bytes.
After a Hardware reset, interrupts are asserted by the MIDI Port only in response to a Receive Data Ready event. Interrupt
assertion in response to Transmit Buffer Empty events can be enabled by writing 1 to bit 1 of the MCNTL register. Interrupt
assertion in response to Receive Data Ready events can be disabled by writing 0 to bit 3 of the MCNTL register.
11.2.9 Enhanced MIDI Port Features
The MIDI Port supports the following modes/operations, which are not part of the Legacy definition of the MIDI Port:
q
Transmit in Pass-Thru
q
Loopback mode
q
MIDI Thru
q
MDTX pin masking
Transmit in Pass-Thru. When the MIDI Port is operated in Pass-Thru mode, transmit is disabled by default. To enable it,
write 1 to bit 4 of the MCNTL register.
Loopback Mode. The MIDI serial data transmit signal is routed internally to the MIDI Serial Data Receive signal. This caus-
es all the data transmitted by the MIDI Port to also be received. Loopback mode can be used as a mode for testing the MIDI
Port or its software. To enable it, write 1 to bit 7 of the MCNTL register.



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