Electronic Components Datasheet Search |
|
COP87L88KG Datasheet(PDF) 18 Page - National Semiconductor (TI) |
|
|
COP87L88KG Datasheet(HTML) 18 Page - National Semiconductor (TI) |
18 / 42 page UART (Continued) UART CONTROL AND STATUS REGISTERS The operation of the UART is programmed through three registers ENU ENUR and ENUI The function of the individ- ual bits in these registers is as follows ENU-UART Control and Status Register (Address at 0BA) PEN PSEL1 XBIT9 CHL1 CHL0 ERR RBFL TBMT PSEL0 0RW 0RW 0RW 0RW 0RW 0R 0R 1R Bit 7 Bit 0 ENUR-UART Receive Control and Status Register (Address at 0BB) DOE FE PE SPARE RBIT9 ATTN XMTG RCVG 0RD 0RD 0RD 0RW 0R 0RW 0R 0R Bit7 Bit0 ENUI-UART Interrupt and Clock Source Register (Address at 0BC) STP2 STP78 ETDX SSEL XRCLK XTCLK ERI ETI 0RW 0RW 0RW 0RW 0RW 0RW 0RW 0RW Bit7 Bit0 Bit is not used 0 Bit is cleared on reset 1 Bit is set to one on reset R Bit is read-only it cannot be written by software RW Bit is readwrite D Bit is cleared on read when read by software as a one it is cleared automatically Writing to the bit does not affect its state DESCRIPTION OF UART REGISTER BITS ENUUART CONTROL AND STATUS REGISTER TBMT This bit is set when the UART transfers a byte of data from the TBUF register into the TSFT register for trans- mission It is automatically reset when software writes into the TBUF register RBFL This bit is set when the UART has received a com- plete character and has copied it into the RBUF register It is automatically reset when software reads the character from RBUF ERR This bit is a global UART error flag which gets set if any or a combination of the errors (DOE FE PE) occur CHL1 CHL0 These bits select the character frame format Parity is not included and is generatedverified by hardware CHL1 e 0 CHL0 e 0 The frame contains eight data bits CHL1 e 0 CHL0 e 1 The frame contains seven data bits CHL1 e 1 CHL0 e 0 The frame contains nine data bits CHL1 e 1 CHL0 e 1 Loopback Mode selected Trans- mitter output internally looped back to receiver input Nine bit framing format is used XBIT9PSEL0 Programs the ninth bit for transmission when the UART is operating with nine data bits per frame For seven or eight data bits per frame this bit in conjunction with PSEL1 selects parity PSEL1 PSEL0 Parity select bits PSEL1 e 0 PSEL0 e 0 Odd Parity (if Parity enabled) PSEL1 e 0 PSEL0 e 1 Odd Parity (if Parity enabled) PSEL1 e 1 PSEL0 e 0 Mark(1) (if Parity enabled) PSEL1 e 1 PSEL0 e 1 Space(0) (if Parity enabled) PEN This bit enablesdisables Parity (7- and 8-bit modes only) PEN e 0 Parity disabled PEN e 1 Parity enabled ENURUART RECEIVE CONTROL AND STATUS REGISTER RCVG This bit is set high whenever a framing error occurs and goes low when RDX goes high XMTG This bit is set to indicate that the UART is transmit- ting It gets reset at the end of the last frame (end of last Stop bit) ATTN ATTENTION Mode is enabled while this bit is set This bit is cleared automatically on receiving a character with data bit nine set RBIT9 Contains the ninth data bit received when the UART is operating with nine data bits per frame SPARE Reserved for future use PE Flags a Parity Error PE e 0 Indicates no Parity Error has been detected since the last time the ENUR register was read PE e 1 Indicates the occurrence of a Parity Error FE Flags a Framing Error FE e 0 Indicates no Framing Error has been detected since the last time the ENUR register was read FE e 1 Indicates the occurrence of a Framing Error DOE Flags a Data Overrun Error DOE e 0 Indicates no Data Overrun Error has been de- tected since the last time the ENUR register was read DOE e 1 Indicates the occurrence of a Data Overrun Er- ror ENUIUART INTERRUPT AND CLOCK SOURCE REGISTER ETI This bit enablesdisables interrupt from the transmitter section ETI e 0 Interrupt from the transmitter is disabled ETI e 1 Interrupt from the transmitter is enabled ERI This bit enablesdisables interrupt from the receiver section ERI e 0 Interrupt from the receiver is disabled ERI e 1 Interrupt from the receiver is enabled XTCLK This bit selects the clock source for the transmitter section XTCLK e 0 The clock source is selected through the PSR and BAUD registers XTCLK e 1 Signal on CKX (L1) pin is used as the clock XRCLK This bit selects the clock source for the receiver section XRCLK e 0 The clock source is selected through the PSR and BAUD registers XRCLK e 1 Signal on CKX (L1) pin is used as the clock SSEL UART mode select SSEL e 0 Asynchronous Mode SSEL e 1 Synchronous Mode http www nationalcom 18 |
Similar Part No. - COP87L88KG |
|
Similar Description - COP87L88KG |
|
|
Link URL |
Privacy Policy |
ALLDATASHEET.COM |
Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Datasheet Upload | Contact us | Privacy Policy | 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 |