Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT48R02B Datasheet(PDF) 45 Page - Holtek Semiconductor Inc

Part # HT48R02B
Description  Small Package 8-Bit OTP MCU
PDF  71 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT48R02B Datasheet(HTML) 45 Page - Holtek Semiconductor Inc

Back Button HT48R02B Datasheet HTML 41Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 42Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 43Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 44Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 45Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 46Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 47Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 48Page - Holtek Semiconductor Inc HT48R02B Datasheet HTML 49Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 45 / 71 page
background image
HT46R01B/02B/01N/02N
HT48R01B/02B/01N/02N
Rev.1.00
45
December 15, 2009
The ADCR control register also contains the
PCR3~PCR0 bits which determine which pins on
PA0~PA3 are used as analog inputs for the A/D converter
and which pins are to be used as normal I/O pins. Note
that if the PCR3~PCR0 bits are all set to zero, then all the
PA0~PA3 pins will be setup as normal I/Os.
The START bit in the register is used to start and reset
the A/D converter. When themicrocontroller sets this bit
from low to high and then low again, an analog to digital
conversion cycle will be initiated. When the START bit is
brought from low to high but not low again, the EOCB bit
in the ADCR register will be set to a
²1² and the analog
to digital converter will be reset. It is the START bit that is
used to control the overall start operation of the internal
analog to digital converter.
The EOCB bit in the ADCR register is used to indicate
when the analog to digital conversion process is com-
plete. This bit will be automatically set to
²0² by the
microcontroller after a conversion cycle has ended. In
addition, the corresponding A/D interrupt request flag
will be set in the interrupt control register, and if the inter-
rupts are enabled, an appropriate internal interrupt sig-
nal will be generated. This A/D internal interrupt signal
will direct the program flow to the associated A/D inter-
nal interrupt address for processing. If the A/D internal
interrupt is disabled, the microcontroller can be used to
poll the EOCB bit in the ADCR register to check whether
it has been cleared as an alternative method of detect-
ing the end of an A/D conversion cycle.
The clock source for the A/D converter, which originates
from the system clock fSYS, is first divided by a division
ratio, the value of which is determined by the ADCS2,
ADCS1 and ADCS0 bits in the ACSR register.
Controlling the power on/off function of the A/D con-
verter circuitry is implemented using the value of the
ADONB bit.
Although the A/D clock source is determined by the sys-
tem clock fSYS, and by bits ADCS2, ADCS1 and ADCS0,
there are some limitations on the maximum A/D clock
source speed that can be selected. As the minimum value
of permissible A/D clock period, tAD,is0.5
ms, care must be
taken for system clock speeds equal to or greater than
4MHz. For example, the system clock operates at a fre-
quency of 4MHz, the ADCS2, ADCS1 and ADCS0 bits
should not be set to
²100². Doing so will give A/D clock pe-
riods that are less than the minimum A/D clock period
which may result in inaccurate A/D conversion values. Re-
fer to the following table for examples, where values
marked with an asterisk * show where, depending upon
the device, special care must be taken, as the values may
be less than the specified minimum A/D Clock Period.
· ACSR Register
Bit
76543210
Name
TEST
ADONB
¾¾¾
ADCS2
ADCS1
ADCS0
R/W
R/W
R/W
¾¾¾
R/W
R/W
R/W
POR
1
0
¾¾¾
000
Bit 7
TEST: for test mode use only
Bit 6
ADONB: ADC module power on/off control bit
0: ADC module power on
1: ADC module power off
Note: 1. it is recommended to set ADONB=1 before entering sleep for saving power.
2. ADONB=1 will power down the ADC module.
Bit 5~3
unimplemented, read as
²0²
Bit 2~0
ADCS2~ADCS0 : Select A/D converter clock source
000: system clock/2
001: system clock/8
010: system clock/32
011: undefined, can
¢t be used.
100: system clock
101: system clock/4
110: system clock/16
111: undefined, can
¢t be used.



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


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