| Electronic Components Datasheet Search |
|
HT48CU80 Datasheet(PDF) 25 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48CU80 Datasheet(HTML) 25 Page - Holtek Semiconductor Inc |
|
25 / 54 page ![]() HT48RU80/HT48CU80 Rev. 1.00 25 April 12, 2006 ¨ TXBRK The TXBRK bit is the Transmit Break Character bit. When this bit is ²0² there are no break characters and the TX pin operates normally. When the bit is ²1² there are transmit break characters and the transmitter will send logic zeros. When equal to ²1² after the buffered data has been transmitted, the transmitter output is held low for a minimum of a 13-bit length and until the TXBRK bit is reset. ¨ STOPS This bit determines if one or two stop bits are to be used. When this bit is equal to ²1² two stop bits are used, if the bit is equal to ²0² then only one stop bit is used. ¨ PRT This is the parity type selection bit. When this bit is equal to ²1² odd parity will be selected, if the bit is equal to ²0² then even parity will be selected. ¨ PREN This is parity enable bit. When this bit is equal to ²1² the parity function will be enabled, if the bit is equal to ²0² then the parity function will be disabled. ¨ BNO This bit is used to select the data length format, which can have a choice of either 8-bits or 9-bits. If this bit is equal to ²1² then a 9-bit data length will be selected, if the bit is equal to ²0² then an 8-bit data length will be selected. If 9-bit data length is se- lected then bits RX8 and TX8 will be used to store the 9th bit of the received and transmitted data re- spectively. ¨ UARTEN The UARTEN bit is the UART enable bit. When the bit is ²0² the UART will be disabled and the RX and TX pins will function as General Purpose I/O pins. When the bit is ²1² the UART will be enabled and the TX and RX pins will function as defined by the TXEN and RXEN control bits. When the UART is disabled it will empty the buffer so any character re- maining in the buffer will be discarded. In addition, the baud rate counter value will be reset. When the UART is disabled, all error and status flags will be reset. The TXEN, RXEN, TXBRK, RXIF, OERR, FERR, PERR, and NF bits will be cleared, while the TIDLE, TXIF and RIDLE bits will be set. Other con- trol bits in UCR1, UCR2, and BRG registers will re- main unaffected. If the UART is active and the UARTEN bit is cleared, all pending transmissions and receptions will be terminated and the module will be reset as defined above. When the UART is re-enabled it will restart in the same configuration. · UCR2 register The UCR2 register is the second of the two UART control registers and serves several purposes. One of its main functions is to control the basic enable/dis- able operation of the UART Transmitter and Receiver as well as enabling the various UART interrupt sources. The register also serves to control the baud rate speed, receiver wake-up enable and the address detect enable. Further explanation on each of the bits is given below: ¨ TEIE This bit enables or disables the transmitter empty interrupt. If this bit is equal to ²1² when the transmit- ter empty TXIF flag is set, due to a transmitter empty condition, the UART interrupt request flag will be set. If this bit is equal to ²0² the UART inter- rupt request flag will not be influenced by the condi- tion of the TXIF flag. ¨ TIIE This bit enables or disables the transmitter idle in- terrupt. If this bit is equal to ²1² when the transmitter idle TIDLE flag is set, the UART interrupt request flag will be set. If this bit is equal to ²0² the UART in- terrupt request flag will not be influenced by the condition of the TIDLE flag. U C R 2 R e g i s t e r b 7 W A K E A D D E N R X E N T X E N b 0 R I E T I I E T E I E T r a n s m i t t e r e m p t y i n t e r r u p t e n a b l e 1 : T X I F i n t e r r u p t r e q u e s t e n a b l e 0 : T X I F i n t e r r u p t r e q u e s t d i s a b l e T r a n s m i t t e r i d l e i n t e r r u p t e n a b l e 1 : T I D L E i n t e r r u p t r e q u e s t e n a b l e 0 : T I D L E i n t e r r u p t r e q u e s t d i s a b l e R e c e i v e r i n t e r r u p t e n a b l e 1 : R X I F i n t e r r u p t r e q u e s t e n a b l e 0 : R X I F i n t e r r u p t r e q u e s t d i s a b l e D e f i n e s t h e R X w a k e u p e n a b l e 1 : R X w a k e u p e n a b l e ( f a l l i n g e d g e ) 0 : R X w a k e u p d i s a b l e A d d r e s s d e t e c t m o d e 1 : e n a b l e 0 : d i s a b l e H i g h b a u d r a t e s e l e c t b i t 1 : h i g h s p e e d 0 : l o w s p e e d R e c e i v e r e n a b l e b i t 1 : r e c e i v e r e n a b l e 0 : r e c e i v e r d i s a b l e T r a n s m i t t e r e n a b l e b i t 1 : t r a n s m i t t e r e n a b l e 0 : t r a n s m i t t e r d i s a b l e B R G H |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | 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 |