| поискавой системы для электроныых деталей |
|
PC87591L датащи(PDF) 157 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
PC87591L датащи(HTML) 157 Page - National Semiconductor (TI) |
|
157 / 437 page ![]() Embedded Controller Modules (Continued) Revision 1.07 157 www.national.com Figure 58 shows a diagram of the interrupt sources and associated enable bits. The interrupts can be individually enabled or disabled using Enable Transmit Interrupt (ETI), Enable Receive Interrupt (ERI) and Enable Receive Error Interrupt (EEI) bits in UICTRL register. A transmit interrupt is generated when both the TBE and ETI bits are set. To remove this interrupt, the software must either disable the interrupt by clearing the ETI bit or write to UTBUF register (thus clearing the TBE bit). A receive interrupt is generated on two conditions: ● If both the RBF and ERI bits are set. To remove this interrupt, the software must either disable the interrupt, by clear- ing the ERI bit, or read from URBUF register (thus clearing the RBF bit). ● If both the ERR and the EEI bits are set. To remove this interrupt, the software must either disable it by clearing the EEI bit, or read USTAT register, which causes ERR flag to be cleared. DMA Support The USART can operate with either one or two DMA channels. Two DMA channels are required for processor-independent full-duplex operation. Both receive and transmit DMA can be enabled individually. If the transmit DMA is enabled (ETD=1), the USART issues a DMA request every time the TBE flag is set. Enabling the transmit DMA automatically disables the TX interrupt independent of the value of the ETI bit. Enabling the receive DMA (ERD=1) causes a DMA request to be asserted every time the Receive Buffer Full flag (RBF) is set. Once the receive DMA is enabled the RX interrupt is automatically disabled independent of the value of the ERI bit. However, to detect errors during reception the receive error interrupt should be enabled (EEI=1) while using the DMA. Break Generation and Detection A line break is generated when BRK bit is set in MDSL register. The UTXD line remains low until the user resets the BRK bit. A line break is detected if URXD remains low for a time equivalent to 10 bit times or longer, after a missing stop bit has been detected. Parity Generation and Detection Parity is only generated or checked with 7- and 8-bit data formats. It is not generated or checked in Diagnostic Loopback mode, Attention mode or in Normal mode with 9-bit data format. Parity generation and checking is enabled and disabled via PEN bit in UFRS register. PSEL bits in UFRS register are used to select odd, even, mark or space parity. ISE Mode Operation The USART module supports breakpoint operation by preserving some of the status bits of the USTAT and UICTRL regis- ters. While the FREEZE bit is asserted, the PE, FE, DOE, BKD and DCTS bits are not cleared on a read of STAT register. EEI ERI ERR RBF FE DOE PE RX Interrupt ETI TBE TX Interrupt Figure 58. USART Interrupt Sources |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |