| Electronic Components Datasheet Search |
|
HT66F016 Datasheet(PDF) 46 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT66F016 Datasheet(HTML) 46 Page - Holtek Semiconductor Inc |
|
46 / 116 page ![]() HT66F016/HT66F017/HT68F016/HT68F017 Rev. 1.00 46 May 14, 2012 Input/Output Ports Holtek microcontrollers offer considerable flexibility on their I/O ports. With the input or output designation of every pin fully under user program control, pull-high selections for all ports and wake-up selections on certain pins, the user is provided with an I/O structure to meet the needs of a wide range of application possibilities. The device provides bidirectional input/output lines labeled with port names PA and PB. These I/O ports are mapped to the RAM Data Memory with specific addresses as shown in the Special Purpose Data Memory table. All of these I/O ports can be used for input and output operations. For input 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 address. For output operation, all the data is latched and remains unchanged until the output latch is rewritten. · I/O Register List Register Name Bit 76543210 PA D7 D6 D5 D4 D3 D2 D1 D0 PAC D7 D6 D5 D4 D3 D2 D1 D0 PAPU D7 D6 D5 D4 D3 D2 D1 D0 PAWU D7 D6 D5 D4 D3 D2 D1 D0 PB ¾¾ D5 D4 D3 D2 D1 D0 PBC ¾¾ D5 D4 D3 D2 D1 D0 PBPU ¾¾ D5 D4 D3 D2 D1 D0 PRM PRML3 PRML2 PRML1 PRML0 PRMS3 PRMS2 PRMS1 PRMS0 Pull-High Resistors Many product applications require pull-high resistors for their switch inputs usually requiring the use of an external re- sistor. To eliminate the need for these external resistors, all I/O pins, when configured as an input have the capability of being connected to an internal pull-high resistor. These pull-high resistors are selected using the register PAPU and PBPU, and are implemented using weak PMOS transistors. · PAPU Register Bit 76543210 Name D7 D6 D5 D4 D3 D2 D1 D0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 00000000 Bit 7~0 I/O Port A bit 7 ~ bit 0 Pull-high control 0: disable 1: enable · PBPU Register Bit 76543210 Name ¾¾ D5 D4 D3 D2 D1 D0 R/W ¾¾ R/W R/W R/W R/W R/W R/W POR ¾¾ 000000 Bit 7~6 ²¾² Unimplemented, read as 0 Bit 5~0 I/O Port B bit 5 ~ bit 0 Pull-high control 0: disable 1: enable |
|
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 |