| Electronic Components Datasheet Search |
|
HT46R01 Datasheet(PDF) 15 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R01 Datasheet(HTML) 15 Page - Holtek Semiconductor Inc |
|
15 / 60 page ![]() HT46R01/HT46R02/HT46R03 Rev. 1.00 15 September 21, 2007 S y s t e m C o n t r o l R e g i s t e r C T R L 0 b 7 C L K M O D b 0 Q O S C P W M S E L P F D C S P F D C P W M C R T C o s c i l l a t o r q u i c k s t a r t - u p f u n c t i o n 0 : q u i c k s t a r t - u p 1 : s l o w s t a r t - u p I / O o r P F D s e l e c t i o n 0 : I / O 1 : P F D N o t i m p l e m e n t e d , r e a d a s " 0 " I / O o r P W M s e l e c t i o n 0 : I / O 1 : P W M P W M m o d e s e l e c t i o n 0 : 6 + 2 1 : 7 + 1 P F D c l o c k s o u r c e s e l e c t i o n ( N o t e : F o r H T 4 6 R 0 1 , P F D C S i s a l w a y s 0 . ) 0 : T i m e r 0 1 : T i m e r 1 N o t i m p l e m e n t e d , r e a d a s " 0 " S y s t e m c l o c k m o d e s e l e c t i o n 0 : h i g h s p e e d - I n t e r n a l R C a s s y s t e m c l o c k 1 : l o w s p e e d - R T C a s s y s t e m c l o c k , I n t e r n a l R C o s c i l l a t o r s t o p p e d N o t e t h a t t h e s e s e l e c t i o n s a r e o n l y v a l i d i f t h e o s c i l l a t o r c o n f i g u r a t i o n o p t i o n s h a v e s e l e c t e d t h e I n t e r n a l R C + R T C a s t h e s y s t e m c l o c k System Control Register - CTRL0 b 7 b 0 W D T E N 3 N o t i m p l e m e n t e d , r e a d a s " 0 " W D T f u n c t i o n I O I O X X X X d i s a b l e o t h e r v a l u e s - e n a b l e I N T E S 1 I N T E S 0 W D T E N 2 W D T E N 1 W D T E N 0 E x t e r n a l i n t e r r u p t e d g e t r i g g e r t y p e I N T E S 1 0 0 1 1 I N T E S 0 0 1 0 1 d i s a b l e r i s i n g e d g e t r i g g e r f a l l i n g e d g e t r i g g e r d u a l e d g e t r i g g e r S y s t e m C o n t r o l R e g i s t e r C T R L 1 System Control Register - CTRL1 Input/Output Ports Holtek microcontrollers offer considerable flexibility on their I/O ports. There are seven I/O pins whose input or output designation is under user program control and an additional input pin. Additionally, as there are pull-high resistor and wake-up software configurations for each pin, the user is provided with an I/O structure to meet the needs of a wide range of application possibilities. Each device has a single I/O port known as Port A, which has a corresponding data register known as PA. This register is mapped to the Data Memory with an ad- dresses as shown in the Special Purpose Data Memory table. Seven of these I/O lines can be used for input and output operations and one line as an input only. For in- put operation, these ports are non-latching, which means the inputs must be ready at the T2 rising edge of instruction ²MOV A,[m]², where m denotes the port ad- dress. For output operation, all the data is latched and remains unchanged until the output latch is rewritten. Pull-high Resistors Many product applications require pull-high resistors for their switch inputs usually requiring the use of an exter- nal resistor. To eliminate the need for these external re- sistors, I/O pins PA0~PA6, when configured as an input have the capability of being connected to an internal pull-high resistor. These pull-high resistors are selectable via a register known as PAPU, located in the Data Memory. The pull-high resistors are implemented using weak PMOS transistors. Port A Wake-up If the HALT instruction is executed, the device will enter the Power Down Mode, where the system clock will stop resulting in power being conserved, a feature that is im- portant for battery and other low-power applications. Various methods exist to wake-up the microcontroller, one of which is to change the logic condition on one of |
|
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 |