Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT46R34 Datasheet(PDF) 16 Page - Holtek Semiconductor Inc

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

HT46R34 Datasheet(HTML) 16 Page - Holtek Semiconductor Inc

Back Button HT46R34 Datasheet HTML 12Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 13Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 14Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 15Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 16Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 17Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 18Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 19Page - Holtek Semiconductor Inc HT46R34 Datasheet HTML 20Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 43 page
background image
HT46R32/HT46R34
Rev. 1.10
16
March 16, 2007
After a device reset, the input/output lines will default to
inputs and remain at a high level or floating state, de-
pendent upon the pull-high configuration options. Each
bit of these input/output latches can be set or cleared by
the
²SET [m].i² and ²CLR [m].i² (m=12H, 14H, 16H or
18H) instructions.
Some instructions first input data and then follow the
output operations. For example,
²SET [m].i², ²CLR
[m].i
², ²CPL [m]², ²CPLA [m]² read the entire port states
into the CPU, execute the defined operations
(bit-operation), and then write the results back to the
latches or the accumulator.
Each line of port A has the capability of waking-up the
device.
Each I/O line has a pull-high option. Once the pull-high
configuration option is selected, the I/O line has a
pull-high resistor, otherwise, there
¢s none. Take note
that a non-pull-high I/O line operating in input mode will
cause a floating state.
Pin PA3 is pin-shared with the PFD signal. If the PFD
configuration option is selected, the output signal in the
output mode for PA3 will be the PFD signal generated by
the timer/event counter overflow signal. The input mode
always retains its original functions. Once the PFD op-
tion is selected, the PFD output signal is controlled by
the PA3 data register only. Writing a
²1² to the PA3 data
register will enable the PFD output function and writing
²0² will force the PA3 to remain at ²0². The I/O functions
for 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.
Pins PA5 and PA4 are pin-shared with INT and TMR
pins respectively.
The PB can also be used as A/D converter inputs. The
A/D function will be described later. There are two PWM
functions shared with pins PD0 and PD1. If the PWM
functions are enabled, the PWM signals will appear on
PD0 and PD1, the pins are setup as outputs. Writing a
²1² to the PD0 or PD1 data register will enable the PWM
outputs to function while writing a
²0² will force the PD0
and PD1 outputs to remain at
²0². The I/O functions of
PD0 and PD1 are as shown.
I/O
Mode
I/P
(Normal)
O/P
(Normal)
I/P
(PWM)
O/P
(PWM)
PD0
PD1
Logical
Input
Logical
Output
Logical
Input
PWM0
PWM1
It is recommended that unused I/O lines should be setup
as output pins by software instructions to avoid consum-
ing power under input floating states.
PWM
The microcontroller provides a 2 channel (6+2) bits
PWM0/PWM1 output shared with PD0/PD1. The PWM
channel has its data register denoted as PWM0 and
PWM1. The frequency source of the PWM counter co-
mes from fSYS. The PWM register is an eight bit register.
Once PD0/PD1 are selected as PWM outputs and the
output function of PD0/PD1 is enabled (PDC.0=
²0² or
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



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


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