Electronic Components Datasheet Search
  English  ▼

X  

HT46R016 Datasheet(PDF) 38 Page - Holtek Semiconductor Inc

Part # HT46R016
Description  Enhanced A/D Type 8-Bit OTP MCU
PDF  91 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R016 Datasheet(HTML) 38 Page - Holtek Semiconductor Inc

Back Button HT46R016 Datasheet HTML 34Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 35Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 36Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 37Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 38Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 39Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 40Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 41Page - Holtek Semiconductor Inc HT46R016 Datasheet HTML 42Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 38 / 91 page
background image
Rev. 1.00
38
���� 1�� �01�
Rev. 1.00
39
���� 1�� �01�
HT46R016/HT46R017
Enhanced A/D Type 8-Bit OTP MCU
I/O Port Control Registers
Each Port has its own control register, known as PAC, PBC which controls the input/output
configuration. With this control register, each I/O pin with or without pull-high resistors can be
reconfigured dynamically under software control. For the I/O pin to function as an input, the
corresponding bit of the control register must be written as a “1”. This will then allow the logic state
of the input pin to be directly read by instructions. When the corresponding bit of the control register
is written as a “0”, the I/O pin will be setup as a CMOS output. If the pin is currently setup as an
output, instructions can still be used to read the output register. However, it should be noted that the
program will in fact only read the status of the output data latch and not the actual logic status of the
output pin.
Pin-shared Functions
The flexibility of the microcontroller range is greatly enhanced by the use of pins that have more
than one function. Limited numbers of pins can force serious design constraints on designers but by
supplying pins with multi-functions, many of these difficulties can be overcome. 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 program control.
● External Interrupt Input
The external interrupt pin, INT, is pin-shared with an I/O pin. To use the pin as an external
interrupt input the correct bits in the INTC0 register must be programmed. The pin must also be
setup as an input by setting the PAC3 bit in the Port Control Register. A pull-high resistor can also
be selected via the appropriate port pull-high resistor register. Note that even if the pin is setup as
an external interrupt input the I/O function still remains.
● External Timer/Event Counter Input
The Timer/Event Counter pins, TC0 and TC1 are pin-shared with I/O pins. For these shared pins
to be used as Timer/Event Counter inputs, the Timer/Event Counter must be configured to be in
the Event Counter or Pulse Width Capture Mode. This is achieved by setting the appropriate bits
in the Timer/Event Counter Control Register. The pins must also be setup as inputs by setting the
appropriate bit in the Port Control Register. Pull-high resistor options can also be selected using
the port pull-high resistor registers. Note that even if the pin is setup as an external timer input the
I/O function still remains.
● PFD Output
The PFD complementary output pair is pin-shared with I/O pins. The output function of these pins
is chosen using the PFDCTRL register. Note that the corresponding bit of the port control register,
must setup the pin as an output to enable the PFD output. If the port control register has setup
the pin as an input, then the pin will function as a normal logic input with the usual pull-high
selection, even if the PFD function has been selected.
● PWM Outputs
The PWM function output is pin-shared with an I/O pin. The PWM output function is chosen
using the CTRL0 register. Note that the corresponding bit of the port control registers, for the
output pin, must setup the pin as an output to enable the PWM output. If the pin is setup as an
input, then the pin will function as a normal logic input with the usual pull-high selection, even if
the PWM register has enabled the PWM function.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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