| Electronic Components Datasheet Search |
|
HT48CU80 Datasheet(PDF) 24 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48CU80 Datasheet(HTML) 24 Page - Holtek Semiconductor Inc |
|
24 / 54 page ![]() HT48RU80/HT48CU80 Rev. 1.00 24 April 12, 2006 ¨ NF The NF flag is the noise flag. When this read only flag is ²0² it indicates a no noise condition. When the flag is ²1² it indicates that the UART has de- tected noise on the receiver input. The NF flag is set during the same cycle as the RXIF flag but will not be set in the case of an overrun. The NF flag can be cleared by a software sequence which will involve a read to the USR status register, followed by an ac- cess to the RXR data register. ¨ PERR The PERR flag is the parity error flag. When this read only flag is ²0² it indicates that a parity error has not been detected. When the flag is ²1² it indi- cates that the parity of the received word is incor- rect. This error flag is applicable only if Parity mode (odd or even) is selected. The flag can also be cleared by a software sequence which involves a read to the USR status register, followed by an ac- cess to the RXR data register. · UCR1 register The UCR1 register together with the UCR2 register are the two UART control registers that are used to set the various options for the UART function, such as overall on/off control, parity control, data transfer bit length etc. Further explanation on each of the bits is given below: ¨ TX8 This bit is only used if 9-bit data transfers are used, in which case this bit location will store the 9th bit of the transmitted data, known as TX8. The BNO bit is used to determine whether data transfers are in 8-bit or 9-bit format. ¨ RX8 This bit is only used if 9-bit data transfers are used, in which case this bit location will store the 9th bit of the received data, known as RX8. The BNO bit is used to determine whether data transfers are in 8-bit or 9-bit format. U S R R e g i s t e r b 7 R I D L E O E R R N F P E R R b 0 R X I F T I D L E T X I F T r a n s m i t d a t a r e g i s t e r e m p t y 1 : c h a r a c t e r t r a n s f e r r e d t o t r a n s m i t s h i f t r e g i s t e r 0 : c h a r a c t e r n o t t r a n s f e r r e d t o t r a n s m i t s h i f t r e g i s t e r T r a n s m i s s i o n i d l e 1 : n o t r a n s m i s s i o n i n p r o g r e s s 0 : t r a n s m i s s i o n i n p r o g r e s s R e c e i v e R X R r e g i s t e r s t a t u s 1 : R X R r e g i s t e r h a s a v a i l a b l e d a t a 0 : R X R r e g i s t e r i s e m p t y R e c e i v e r s t a t u s 1 : r e c e i v e r i s i d l e 0 : d a t a b e i n g r e c e i v e d O v e r r u n e r r o r 1 : o v e r r u n e r r o r d e t e c t e d 0 : n o o v e r r u n e r r o r d e t e c t e d F r a m i n g e r r o r f l a g 1 : f r a m i n g e r r o r d e t e c t e d 0 : n o f r a m i n g e r r o r N o i s e f l a g 1 : n o i s e d e t e c t e d 0 : n o n o i s e d e t e c t e d P a r i t y e r r o r f l a g 1 : p a r i t y e r r o r d e t e c t e d 0 : n o p a r i t y e r r o r d e t e c t e d F E R R U C R 1 R e g i s t e r b 7 S T O P S P R T B N O U A R T E N b 0 T X B R K R X 8 T X 8 T r a n s m i t d a t a b i t 8 ( w r i t e o n l y ) R e c e i v e d a t a b i t 8 ( r e a d o n l y ) T r a n s m i t b r e a k c h a r a c t e r 1 : t r a n s m i t b r e a k c h a r a c t e r s 0 : n o b r e a k c h a r a c t e r s D e f i n e s t h e n u m b e r o f s t o p b i t s 1 : t w o s t o p b i t s 0 : o n e s t o p b i t P a r i t y t y p e b i t 1 : o d d p a r i t y f o r p a r i t y g e n e r a t o r 0 : e v e n p a r i t y f o r p a r i t y g e n e r a t o r P a r i t y e n a b l e b i t 1 : p a r i t y f u n c t i o n e n a b l e d 0 : p a r i t y f u n c t i o n d i s a b l e d N u m b e r o f d a t a t r a n s f e r b i t s 1 : 9 - b i t d a t a t r a n s f e r 0 : 8 - b i t d a t a t r a n s f e r U A R T e n a b l e b i t 1 : e n a b l e U A R T , T X & R X p i n s a s U A R T p i n s 0 : d i s a b l e U A R T , T X & R X p i n s a s I / O p o r t p i n s P R E N |
|
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 |