參數(shù)資料
型號: HTG2150
廠商: Holtek Semiconductor Inc.
英文描述: 8-Bit 320 Pixel LCD Microcontroller
中文描述: 8位微控制器320像素LCD
文件頁數(shù): 24/49頁
文件大?。?/td> 316K
代理商: HTG2150
HTG2150
24
July 24, 2000
Preliminary
The PWM circuit provides two pad outputs:
PWM2, PWM1 which can directly drive a piezo
or a 32
speaker without adding any external
element. Refer to the Application Circuits.
The PWM clock source comes from the system
clock divided by a 3-bit prescaler. Setting data
to P0, P1 and P2 (bit 3, 4, 5 of 27H) can yield
various clock sources. The clock source are use
for PWM modulating clock and sampling clock.
After setting the start bit (bit 0 27H) and the
next falling edge coming from the prescaler, the
DIV will generate a serial clock to PWM coun-
ter for modulating and PWMI for interrupt.
The PWM counter latch data at the first F1
clock falling edge and the start counter at F1
rising edge. The F2 clock is synchronous with
the first F1 clock and it is also connected to
the PWM output latch. In setting the start bit
initial status, the
PWM1 DAC
high level and change the output status to
LOW while the 7 bits counter overflows.
outputs a
BZ/SP
6/7
Bit
F1
F2
(Sampling
Rate
Device
0
0
F0
F0/64
32
speaker
0
1
F0
F0/128
32
speaker
1
0
F0
F0/64
Buzzer/8
speaker
1
1
F0
F0/128
Buzzer/8
speaker
Note: F1: for PWM modulation clock and F2
for sampling clock.
F0: system /[n+1] n=0~7
(n:3 bits preload counter)
On the above table, we can easily see that the
samplingrateisdependentonthesystemclock.
If start bit is set to 0 , the PWM2 and PWM1
will output a GND level voltage.
Label
Bits
Function
D/A
0
D/A control. 0:start ; 1:stop
BZ/SP
1
Output driver select
1:Buzzer ; 0:speaker
Bit
2
PWM counter bit select
1:7 bits ; 0:6 bits
P0~P2
3~5
3 bits preload counter,
bit 5/4/3:000B~111B (0~7)
bit 3:LSB
D0, D1
6, 7
PWMI
D0
D1
Samping Time/PWM Interrupt
0
0
1
0
1
2
1
0
4
1
1
8
PWM control register
bit0 bit1 bit2 bit3 bit4 bit5 bit6 bit7
7 bit
D0
D1
D2
D3
D4
D5
D6
D7
6 bit
X
D1
D2
D3
D4
D5
D6
D7
Note: X means don t care.
bit7: Sign bit
PWM data buffer
2 !
* -
2 "
2 .
* 7
" . 4 * 7@
% &
7 bits PWM counter bit
相關(guān)PDF資料
PDF描述
HTG2190 8-Bit 1024 Pixel LCD Microcontroller
HTIP117D PNP EPITAXIAL PLANAR TRANSISTOR
HTM1505 RELATIVE HUMIDITY AND TEMPERATURE MODULE
HTM2500 RELATIVE HUMIDITY/ TEMPERATURE MODULE
HTS2010SMD TEMPERATURE AND RELATIVE HUMIDITY SENSOR
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HTG2150_02 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-Bit 320 Pixel Dot Matrix LCD MCU Series
HTG2170 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
HTG2190 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-Bit 1024 Pixel Dot Matrix LCD MCU Series
HTG2190_02 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-Bit 1024 Pixel Dot Matrix LCD MCU Series
HTG3110 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Speech Synthesizer