| Electronic Components Datasheet Search |
|
HT48F06E Datasheet(PDF) 24 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48F06E Datasheet(HTML) 24 Page - Holtek Semiconductor Inc |
|
24 / 69 page ![]() HT48F06E/HT48F10E/HT48F30E Rev. 1.00 24 September 10, 2007 Pin-shared Functions The flexibility of the microcontroller range is greatly en- hanced by the use of pins that have more than one func- tion. Limited numbers of pins can force serious design constraints on designers but by supplying pins with multi-functions, many of these difficulties can be over- come. For some pins, the chosen function of the multi-function I/O pins is set by configuration options while for others the function is set by application pro- gram control. · Buzzer The buzzer pins BZ and BZ are pin-shared with I/O pins PB0 and PB1. The buzzer function is selected via a configuration option and remains fixed after the de- vice is programmed. Note that the corresponding bits of the port control register, PBC, must setup the pins as outputs to enable the buzzer outputs. If the PBC port control register has setup the pins as inputs, then the pins will function as normal logic inputs with the usual pull-high options, even if the buzzer configura- tion option has been selected. · External Interrupt Input The external interrupt pin INT is pin-shared with the I/O pin PC0 or PG0 depending upon which device is used. For the shared function pins to operate as an external interrupt pin and not as a normal I/O pin, the corresponding external interrupt enable bits in the INTC interrupt control register must be correctly set. For applications not requiring an external interrupt in- put, the pin-shared external interrupt pin can be used as a normal I/O pin, however to do this, the external in- terrupt enable bits in the INTC register must be dis- abled. · External Timer/Event Counter Input Each device contains a single 8-bit Timer/Event Counter which has an external pin known as TMR. This is pin-shared with I/O pin PC0 or PC1. If this shared pin is to be used as a Timer/Event Counter in- put, then the Timer/Event Counter must be configured to be in the Event Counter or Pulse Width Measure- ment Mode. This is achieved by setting the appropri- ate bits in the relevant Timer/Event Counter Control Register. The pin must also be setup as an input by setting the appropriate bit in the Port Control Register. Pull-high resistor options can also be selected via the appropriate port pull-high configuration option. If the shared pin is to be used as a normal I/O pin, then the external timer input function must be disabled, by en- suring that the corresponding Timer/Event Counter is configured to be in the Off Mode or Timer Mode. · I/O Pin Structures The following diagrams illustrate the I/O pin internal structures. As the exact logical construction of the I/O pin may differ from these drawings, they are supplied as a guide only to assist with the functional under- standing of the I/O pins. Note also that the specified pins refer to the largest device package, therefore not all pins specified will exist on all devices. W a k e - u p O p t i o n S y s t e m W a k e - u p R e a d D a t a R e g i s t e r C o n t r o l B i t P u l l - H i g h O p t i o n D a t a B u s W r i t e C o n t r o l R e g i s t e r C h i p R e s e t R e a d C o n t r o l R e g i s t e r W r i t e D a t a R e g i s t e r D a t a B i t P A 0 ~ P A 7 S c h m i t t T r i g g e r I n p u t O p t i o n W e a k P u l l - u p D Q C K S Q D Q C K S Q V D D M U X PA Input/Output Port |
|
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 |