| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT49CU80 bảng dữ liệu(PDF) 30 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49CU80 bảng dữ liệu(HTML) 30 Page - Holtek Semiconductor Inc |
|
30 / 54 page ![]() HT49RU80/HT49CU80 Rev. 1.20 30 December 16, 2009 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 · 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. ¨ RIE This bit enables or disables the receiver interrupt. If this bit is equal to ²1² when the receiver overrun OERR flag or receive data available RXIF flag is set, the UART interrupt request flag will be set. If this bit is equal to ²0² the UART interrupt will not be influenced by the condition of the OERR or RXIF flags. ¨ WAKE This bit enables or disables the receiver wake-up function. If this bit is equal to ²1² and if the MCU is in the Power Down Mode, a low going edge on the RX input pin will wake-up the device. If this bit is equal to ²0² and if the MCU is in the Power Down Mode, any edge transitions on the RX pin will not wake-up the device. ¨ ADDEN The ADDEN bit is the address detect mode bit. When this bit is ²1² the address detect mode is en- abled. When this occurs, if the 8th bit, which corre- sponds to RX7 if BNO=0, or the 9th bit, which corresponds to RX8 if BNO=1, has a value of ²1² then the received word will be identified as an ad- dress, rather than data. If the corresponding inter- rupt is enabled, an interrupt request will be generated each time the received word has the ad- dress bit set, which is the 8 or 9 bit depending on the value of BNO. If the address bit is ²0² an interrupt will not be generated, and the received data will be discarded. ¨ BRGH The BRGH bit selects the high or low speed mode of the Baud Rate Generator. This bit, together with the value placed in the BRG register, controls the Baud Rate of the UART. If this bit is equal to ²1² the high speed mode is selected. If the bit is equal to ²0² the low speed mode is selected. ¨ RXEN The RXEN bit is the Receiver Enable Bit. When this bit is equal to ²0² the receiver will be disabled with any pending data receptions being aborted. In addi- tion the buffer will be reset. In this situation the RX pin can be used as a general purpose I/O pin. If the RXEN bit is equal to ²1² the receiver will be enabled and if the UARTEN bit is equal to ²1² the RX pin will be controlled by the UART. Clearing the RXEN bit during a transmission will cause the data reception to be aborted and will reset the receiver. If this oc- curs, the RX pin can be used as a general purpose I/O pin. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |