Electronic Components Datasheet Search
  English  ▼

X  

HT46R14 Datasheet(PDF) 22 Page - Holtek Semiconductor Inc

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

HT46R14 Datasheet(HTML) 22 Page - Holtek Semiconductor Inc

Back Button HT46R14 Datasheet HTML 18Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 19Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 20Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 21Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 22Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 23Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 24Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 25Page - Holtek Semiconductor Inc HT46R14 Datasheet HTML 26Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 47 page
background image
HT46R14
Rev. 1.00
22
November 1, 2005
The I/O functions of PA3 are shown below.
I/O
Mode
I/P
(Normal)
O/P
(Normal)
I/P
(PFD)
O/P
(PFD)
PA3
Logical
Input
Logical
Output
Logical
Input
PFD
(Timer on)
Note:
The PFD frequency is the timer/event counter
overflow frequency divided by 2.
It is recommended that unused or not bonded out I/O
lines should be set as output pins by software instruction
to avoid consuming power under input floating state.
The PFD (PFD0 or PFD1) output shares pin with PA3,
as determined by options. When the PFD (PFD0 or
PFD1) option is selected, setting PA3
²1² (²SET PA.3²)
will enable the PFD output and setting PA3
²0² (²CLR
PA.3
²) will disable the PFD output and PA3 output at low
level.
The definitions of PFD control signal and PFD output
frequency are listed in the following table.
Timer
Timer
Preload
Value
PA3 Data
Register
PA3 Pad
State
PFD
Frequency
OFF
X
0
0
X
OFF
X
1
U
X
ON
N
0
0
X
ON
N
1
PFD
fTMR/[2
´(M-N)]
Note:
²X² stands for unused
²U² stands for unknown
²M² is ²256² for PFD
²N² is preload value for timer/event counter
²fTMR² is input clock frequency for timer/event
counter
A/D Converter
The 8 channels and 9-bit resolution A/D (8-bit accuracy)
converter are implemented in this microcontroller. The
reference voltage is VDD. The A/D converter contains
four special registers which are; ADRL (24H), ADRH
(25H), ADCR (26H) and ACSR (27H). The ADRH and
ADRL are A/D result register higher-order byte and
lower-order byte and are read-only. After the A/D con-
version is completed, the ADRH and ADRL should be
read to get the conversion result data. The ADCR is an
A/D converter control register, which defines the A/D
channel number, analog channel select, start A/D con-
version control bit and the end of A/D conversion flag. If
the users want to start an A/D conversion. Define PB
configuration, select the converted analog channel, and
give START bit a raising edge and falling edge
(0
®1®0). At the end of A/D conversion, the EOCB bit is
cleared and an A/D converter interrupt occurs (if the A/D
converter interrupt is enabled). The ACSR is A/D clock
setting register, which is used to select the A/D clock
source.
The A/D converter control register is used to control the
A/D converter. The bit2~bit0 of the ADCR are used to
select an analog input channel. There
¢s a total of eight
channels to select. The bit5~bit3 of the ADCR are used
to set the PB configurations. PB can be an analog input
or as digital I/O line determined by these 3 bits. Once a
PB line is selected as an analog input, the I/O functions
and pull-high resistor of this I/O line are disabled and the
A/D converter circuit is powered on. The EOCB bit (bit6
of the ADCR) is end of A/D conversion flag. Check this
bit to know when A/D conversion is completed. The
START bit of the ADCR is used to begin the conversion
of the A/D converter. Giving START bit a rising edge and
falling edge means that the A/D conversion has started.
In order to ensure the A/D conversion is completed, the
START should remain at
²0² until the EOCB is cleared to
²0² (end of A/D conversion).
Bit 7 of the ACSR register is used for test purposes only
and must not be used for other purposes by the applica-
tion program. Bit1 and bit0 of the ACSR register are
used to select the A/D clock source.
When the A/D conversion has completed, the A/D inter-
rupt request flag will be set. The EOCB bit is set to
²1²
when the START bit is set from
²0² to ²1².
Important Note for A/D initialization:
Special care must be taken to initialize the A/D con-
verter each time the Port B A/D channel selection bits
are modified, otherwise the EOCB flag may be in an un-
defined condition. An A/D initialization is implemented
by setting the START bit high and then clearing it to zero
within 10 instruction cycles of the Port B channel selec-
tion bits being modified. Note that if the Port B channel
selection bits are all cleared to zero then an A/D initial-
ization is not required.



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


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