| Electronic Components Datasheet Search |
|
HT46R016 Datasheet(PDF) 37 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R016 Datasheet(HTML) 37 Page - Holtek Semiconductor Inc |
|
37 / 91 page ![]() Rev. 1.00 3� ���� 1�� �01� Rev. 1.00 37 ���� 1�� �01� HT46R016/HT46R017 Enhanced A/D 8-Bit OTP MCU Input/Output Ports Holtek microcontrollers offer considerable flexibility on their I/O ports. Most pins can have either an input or output designation under user program control. Additionally, as there are pull-high resistors and wake-up software configurations, the user is provided with an I/O structure to meet the needs of a wide range of application possibilities. 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. Pull-high Resistors Many product applications require pull-high resistors for their switch inputs usually requiring the use of an external resistor. 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 registers PAPU, PBPU located in the Data Memory. The pull-high resistors are implemented using weak PMOS transistors. Note that pin PA7 does not have a pull-high resistor selection. 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 important 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 the PA0~PA7 pins from high to low. After a HALT instruction forces the microcontroller into entering the Idle/Sleep Mode, the processor will remain idle or in a low-power state until the logic condition of the selected wake-up pin on Port A changes from high to low. This function is especially suitable for applications that can be woken up via external switches. Note that pins PA0 to PA7 can be selected individually to have this wake-up feature using an internal register known as PAWK, located in the Data Memory. PAWK, PAC, PAPU, PBC, PBPU Register Register Name Bit 7 6 5 4 3 2 1 0 PAWK PAWK7 PAWK� PAWK5 PAWK4 PAWK3 PAWK� PAWK1 PAWK0 PAC PAC7 PAC� PAC5 PAC4 PAC3 PAC� PAC1 PAC0 PAPU — PAPU� PAPU5 PAPU4 PAPU3 PAPU� PAPU1 PAPU0 PBC — — PBC5 PBC4 PBC3 PBC� PBC1 PBC0 PBPU — — PBPU5 PBPU4 PBPU3 PBPU� PBPU1 PBPU0 “—” Unimplemented, read as “0” PAWKn: PA wake-up function enable 0: disable 1: enable PACn/PBCn: I/O type selection 0: output 1: input PAPUn/PBPUn: Pull-high function enable 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 |