參數(shù)資料
型號: HT82K68A-L
廠商: Holtek Semiconductor Inc.
英文描述: Multimedia Keyboard Encoder 8-Bit MCU
中文描述: 多媒體鍵盤編碼器8位微控制器
文件頁數(shù): 14/39頁
文件大?。?/td> 269K
代理商: HT82K68A-L
HT82K68E-L/HT82K68A-L
Rev. 1.00
14
August 9, 2007
In the timer mode, once the timer counter starts count-
ing, it will count from the current contents in the timer
counter to FFH. Once overflow occurs, the counter is re-
loaded from the timer counter preload register and gen-
erates the interrupt request flag (TF; bit 5 of INTC) at the
same time.
To enable the counting operation, the timer ON bit
(TON; bit 4 of TMRC) should be set to 1. In the case of
timer counter OFF condition, writing data to the timer
counter preload register will also reload that data to the
timer counter. But if the timer counter is turned on,
data written to it will only be kept in the timer counter
preload register. The timer counter will still operate until
overflow occurs. When the timer counter (reading TMR)
is read, the clock will be blocked to avoid errors. As
clock blocking may results in a counting error, this must
be taken into consideration by the programmer.
Input/Output Ports
There are 34 bidirectional input/output lines in the
microcontroller, labeled from PA to PE, which are
mapped to the data memory of [12H], [14H], [16H],
[18H] and [1AH] respectively. All these I/O ports can be
used for input and output operations. For input
operation, these ports are non-latching, that is, the
inputs must be ready at the T2 rising edge of instruction
MOV A,[m] (m=12H, 14H, 16H, 18H or 1AH). For output
operation, all data is latched and remains unchanged
until the output latch is rewritten.
Each I/O line has its own control register (PAC, PBC,
PCC, PDC, PEC) to control the input/output configura-
tion. With this control register, CMOS output or Schmitt
trigger input with or without pull-high resistor (mask op-
tion) structures can be reconfigured dynamically (i.e.,
on-the-fly) under software control. To function as an
input, the corresponding latch of the control register must
write 1 .Thepull-highresistancewillexhibitautomatically
if the pull-high option is selected. The input source(s) also
depend(s) on the control register. If the control register bit
is 1 ,inputwillreadthepadstate.Ifthecontrolregisterbit
is 0 , the contents of the latches will move to the internal
bus. The latter is possible in read-modify-write instruc-
tion. For output function, CMOS is the only configuration.
Thesecontrolregistersaremappedtolocations13H,15H,
17H, 19H and 1BH.
After a chip reset, these input/output lines stay at high
levels or floating (mask option). Each bit of these in-
put/output latches can be set or cleared by the SET [m].i
orCLR[m].i(m=12H,14H,16H,18Hor1AH)instruction.
Some instructions first input data and then follow the
output operations. For example, the SET [m].i, CLR
[m].i, CPL [m] and CPLA [m] instructions 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 and port C [0:3] has the capability to
wake-up the device.
PC2 is shared with the external interrupt pin, PE2~PE4
is defined as CMOS output pins only. PE0 can deter-
mine whether the high to low transition, or the low to
high transition of PC2 to activate the external subrou-
tine, when PE0 output high, the low to high transition of
PC2 to trigger the external subroutine, when PE0 output
low, the high to low transition of PC2 to trigger the exter-
nal subroutine.
PE2~PE4 is configured as CMOS output only and is
used to drive the LED. PC0, PC1 is configured as
NMOS open drain output with 4.6k
such that it can easy to use as DATA or CLOCK line of
PS2 keyboard application.
pull-high resistor
C
*
C
C
*
C
& 1
-
&
. &
$
&
&
. &
-
& +
& +
"
& -
<
:
5
! & D &
'
2 &
. " 6
-
<
. . :
!
'
! (
1
'
1 (
< &
< &
'
(
'
(
'
,
Input/Output Ports
相關(guān)PDF資料
PDF描述
HT82K68E-L Multimedia Keyboard Encoder 8-Bit MCU
HT82K68A 8-Bit High Performance Peripheral Interface IC For Multiple I/O Products and Multimedia Applications(8位高性能外圍接口集成芯片,用于多I/O口及多媒體器件)
HT82K68E 8-Bit High Performance Peripheral Interface IC For Multiple I/O Products and Multimedia Applications(8位高性能外圍接口集成芯片,用于多I/O口及多媒體器件)
HT82K68 Multimedia Keyboard Encoder OTP
HT82K94A USB Multimedia Keyboard Encoder 8-Bit MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT82K68E 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Multimedia Keyboard Encoder OTP
HT82K68E_07 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Multimedia Keyboard Encoder 8-Bit OTP MCU
HT82K68E-L 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Multimedia Keyboard Encoder 8-Bit MCU
HT82K68E-L_09 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Multimedia Keyboard Encoder 8-Bit MCU
HT82K68E-L_11 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Multimedia Keyboard Encoder 8-Bit MCU