поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT46R321 датащи(PDF) 18 Page - Holtek Semiconductor Inc

номер детали HT46R321
подробное описание детали  A/D Type 8-Bit OTP MCU with OPA and 8x4 LED Driver
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  HOLTEK [Holtek Semiconductor Inc]
домашняя страница  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R321 датащи(HTML) 18 Page - Holtek Semiconductor Inc

Back Button HT46R321 Datasheet HTML 14Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 15Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 16Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 17Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 18Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 19Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 20Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 21Page - Holtek Semiconductor Inc HT46R321 Datasheet HTML 22Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 18 / 45 page
background image
HT46R321
Rev. 1.00
18
August 3, 2007
PDC.1=
²0²), writing a 1 to the PD0/PD1 data register
will enable the PWM output function while writing a
²0²
will force the PD0/PD1 outputs to stay at
²0².
A PWM cycle is divided into four modulation cycles
(modulation cycle 0~modulation cycle 3). Each modula-
tion cycle has 64 PWM input clock period. In a (6+2) bit
PWM function, the contents of the PWM register is di-
vided into two groups. Group 1 of the PWM register is
denoted by DC which is the value of PWM.7~PWM.2.
Group 2 is denoted by AC which is the value of
PWM.1~PWM.0.
In a PWM cycle, the duty cycle of each modulation cycle
is shown in the table.
Parameter
AC (0~3)
Duty Cycle
Modulation cycle i
(i=0~3)
i<AC
DC+1
64
i
³AC
DC
64
The modulation frequency, cycle frequency and cycle
duty of the PWM output signal are summarized in the
following table.
PWM
Modulation
Frequency
PWM Cycle
Frequency
PWM Cycle
Duty
fSYS/64
fSYS/256
[PWM]/256
Peripheral Clock Output
- PCK
The device also provides a Peripheral Clock Output
(PCK) which is pin-shared with PD2. Once the PD2 is
selected as the PCK outputs and the output function of
PD2 is enabled (PDC.2 =
²0²), writing 1 to PD2 data reg-
ister will enable the PCK output function and writing
²0²
will force the PD2 to stay at
²0².
The PCK clock frequency can be optional : fSYS/16 or
fSYS/32 ( by configuration option).
PCK output = 500kHz or 250kHz if fSYS=8MHz.
Recommend to clear PD2 before entering HALT mode.
LED Driver
The device provides a maximum of 8
´4 LED drivers
which uses I/O Ports PA0~PA7 and PD1~PD4 with dou-
ble the usual sink/source current drive capabilities. To
use the LED driver function, PA0~PA7and PD1~PD4
must be setup as outputs.
A/D Converter
The 6 channel 12-bit resolution A/D converter is imple-
mented in the microcontrollers. The reference voltage
for the A/D is VDD. The A/D converter contains 4 special
registers, which are; ADRL, ADRH, ADCR and ACSR.
The ADRH and ADRL registers are the A/D conversion
result register higher-order byte and lower-order byte
and are read-only. After the A/D conversion has com-
pleted, the ADRL and ADRH registers should be read to
get the conversion result data. The ADCR register 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. It
is used to start an A/D conversion, define the PB config-
uration, select the converted analog channel, and give
the START bit a raising edge and a falling edge
(0
®1®0). At the end of an 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
register is an 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. Bit2~bit0 of the ADCR register is used to
select an analog input channel. There are a total of 6
channels to select. Bit5~bit3 of the ADCR register is used
to set the PB configurations. PB can be configured as an
analog input or as a digital I/O line decided 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 dis-
abled, and the A/D converter circuit is powered on. The
EOCB bit, bit6 of ADCR, is the end of A/D conversion
flag. This bit is monitored to check when the A/D conver-
sion has completed. The START bit of the ADCR register
is used to initiate the A/D conversion process. When the
START bit is provided with a raising edge and then a fall-
ing edge, the A/D conversion process will begin. In order
to ensure that the A/D conversion is completed, the
START should remain at
²0² until the EOCB flag is
cleared to
²0² which indicates the end of the A/D conver-
sion.
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².
P C K D i v i d e r
P D 2 / P C K
f S Y S / 4
M
U
X
P C K O p t i o n
P D 2
P C K D i v i d e r R a t i o O p t i o n
( ¸ 4 o r ¸ 8 )
P C K C l o c k
f P C K
P A 0 ~ P A 7
P D 1 ~ P D 4
H T - M C U
L E D D i s p l a y
8 x 4 A r r a y
LED Driver



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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