| Zakładka z wyszukiwarką danych komponentów |
|
MK68564 Arkusz danych(PDF) 29 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
MK68564 Arkusz danych(HTML) 29 Page - STMicroelectronics |
|
29 / 46 page ![]() D4, D3 : Receive Interrupt Modes 1 and 0 Together, these two bits specify the various charac- ter-avalaible conditions that will cause interrupt re- quests. When receiver interrupts are enabled, a Special Receive Condition can cause an interrupt request and modify the interrupt vector. Special Re- ceive conditions are : Rx Overrun Error, Framing Er- ror (in async mode), End Of Frame (in SDLC mode), and Parity Error (when selected). The Rx Overrun Error and the Parity Error conditions are latched in Status Register 1 when they occur ; they are cleared by an Error Reset command (Command 4) or by a hardware or channel rest. Receive Interrupts Disabled. This mode prevents the receiver from generating an interrupt request and clears any pending receiver interrupts. If a char- acter is avalaible in the receiver data FIFO, or if a Special Receive Condition exists before or during the time receiver interrupts are disabled, and recei- ver interrupts are then enabled without clearing these conditions, an interrupt request will immedi- ately be generated. Receive Interrupt On First Character Only. The receiver requests an interrupt in this mode on the first available character (or stored FIFO character), or on a Special Receive Condition. If a Special Re- ceive Condition occurs, the data with the special condition is held in the receive data FIFO until an Er- ror Reset command (Command 6) is issued. The receive Interrupt On First Character Only mode can be re-enabled by the Enable Interrupt On Next Rx Character command (Command 4). If this inter- rupt mode was terminated by a Special Receive Condition, the Error Reset command must be is- sued, before Command 4, for proper operation to re- sume. Interrupt On All Receive Characters. This mode ammows an interrupt for every character received (or character in the receive data FIFO) and provides a unique vector (if Status Affects ector is enabled) when a Special Receive Condition exists. When the interrupt request is due to a special condition, the data containing that condition, the data containing data FIFO. D2 : Status Affects Vector When this bit is zero, the value programmed into the Vector Register is returned during a read cycle or an interrupt acknowledge cycle. If the Vector Register has not been programmed following a hardware re- set, then ”0FH” is returned. When this bit is a one, the vector returned during a read cycle or an interrupt acknowledge cycle is va- riable. The variable field returned depends on the hi- ghest-priority pending interrupt at the start of the cy- cle. The Status Affects Vector control bits from both channels are logical ”or” ed together ; therefore, if ei- ther is programmed to a one, its operation affects both channels. This is the only control bit that func- tions in this manner on the MK68564. D1 : Transmit Interrupt Enable When this bit is set to a one, the transmitter will re- quest an interrupt whenever the transmit buffer be- comes empty. When this bit is zero, no transmitter interrupts will be requested. Rx I N T MO D E 1 Rx I N T MO DE 0 0 0 1 1 0 1 0 1 Receive Interrupts Disabled Receive Interrupt On First Character Only Interrupt On All Receive Characters-parity Error is a Special Receive Condition Interrupt On All Receive Characters-parity Error is not a Special Receive Condition V 2 V 1 0 Interrupt Condition 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 Ch B Transmit Buffer Empty Ch B External/status Change Ch B Receive Character Available Ch B Special Receive Condition* Ch A Transmit Buffer Empty Ch A External/status Change Ch A Receive Character Available Ch A Special Receive Condition* * Special Receive Conditions : Parity Error, Rx Overrun Er- D0 : External/Status Interrupt Enable When this bit is set to a one, an interrupt will be re- quested by the external/status logic on any of the fol- lowing occurrences : a transition (high-to-low or low- to-high) on the DCD, CTS, or SYNC input pins, a break/abort condition that has been detected and MK68564 29/46 |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |