| поискавой системы для электроныых деталей |
|
HT46R006 датащи(PDF) 31 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R006 датащи(HTML) 31 Page - Holtek Semiconductor Inc |
|
31 / 72 page ![]() HT48R006/HT46R006 Rev. 1.00 31 October 24, 2011 Input/Output Ports Holtek microcontrollers offer considerable flexibility on their I/O ports. Most pins can have either an input or out- put designation under user program control. Addi- tionally, 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 applica- tion 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 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 external resistor. To eliminate the need for these external resis- tors, 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 resis- tors are implemented using weak PMOS transistors. Note that pin PA7 does not have a pull-high resistor se- lection. Port A Wake-up If the HALT instruction is executed, the device will enter the Sleep Mode, where the system clock will stop result- ing 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~PA2, PA5~PA7 pins from high to low. After a HALT instruction forces the microcontroller into entering the Sleep Mode, the processor will remain 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 es- pecially suitable for applications that can be woken up via external switches. Note that pins PA0~PA2, PA5~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 Register Register Name POR Bit 76543210 PAWK 00H PAWK7 PAWK6 PAWK5 ¾¾ PAWK2 PAWK1 PAWK0 PAC E7H PAC7 PAC6 PAC5 ¾¾ PAC2 PAC1 PAC0 PAPU 00H ¾ PAPU6 PAPU5 ¾¾ PAPU2 PAPU1 PAPU0 ²¾² Unimplemented, read as ²0² PAWKn: PA wake-up function enable 0: disable 1: enable PACn: I/O type selection 0: output 1: input PAPUn: Pull-high function enable 0: disable 1: enable |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |