DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

HT46R14A データシートの表示(PDF) - Holtek Semiconductor

部品番号
コンポーネント説明
メーカー
HT46R14A
Holtek
Holtek Semiconductor Holtek
HT46R14A Datasheet PDF : 49 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT46R14A
EX2: Since the first trigger type is raising edge after PPG starts, the PPG timer is triggered by raising edge until PPG
stops.
tS Y S
S y s te m C lo c k
S ta r t T r ig g e r
P P G P u ls e
P P G T im e r
< 0 .5 tS Y S
n
n+1 n+2
· PPG0C control register
Bit No.
7
6
5
4
3
2
1
0
PPG0C (20H)
P0ST P0RSEN P0SPEN P0PSC2 P0PSC1 P0PSC0 CMP1EN CMP0EN
POR value
0
0
0
0
0
0
0
0
CMP0EN: Enables or disables Comparator 0 (0=disable, 1=enable)
CMP1EN: Enables or disables Comparator 1 (0=disable, 1=enable)
P0PSC2, P0PSC1, P0PSC0: These three bits select the PPG0 timer prescaler rate.
P0SPEN: Enables or disables the stopping of the PPG0 timer using the C0VO trigger input (0=disable, 1=enable)
P0RSEN: Enables or disables the restarting of the PPG0 timer using the C1VO trigger input. (0=disable, 1=enable)
P0ST: PPG0 software trigger bit. (0=Stop PPG0, 1=Restart PPG0)
The CMP0EN and CMP1EN bits are used as the comparator enable or disable bits.
¨ CMP0EN= ²0² (comparator is disabled) ® PC0/C0VIN-, PC1/C0VIN+, PC2/C0OUT are all GPIO pins
¨ CMP1EN= ²0² (comparator is disabled) ® PC3/C1OUT, PC4/C1VIN+ are all GPIO.
¨ CMP0EN= ²1² (comparator is enabled) ® PC2 will be automatically set to be an input only, the PC2 output function
and the PC0/PC1/PC2 pull-high resistors are disabled automatically but PC0/PC1 will maintain their I/O function.
Software instructions determine if Comparator 0 is enabled or not.
¨ CMP1EN= ²1² (comparator is enabled) ® PC3 will be automatically set to be an input only, the PC3 output function
and the PC3/PC4 pull-high resistors will be disabled automatically but PC4 will maintain its I/O function. Software
instructions determine if Comparator 1 is enabled or not.
PPG0C: CMP1EN, CMP0EN comparator enable/disable bits
CMP0EN
Description
0
Disable the Comparator 0. PC0/C0VIN-, PC1/C0VIN+, PC2/C0OUT are all I/O pins.
1
Enable the Comparator 0. The PC0/C0VIN-, PC1/C0VIN+ are Comparator 0 input pins, PC2/C0OUT
is a Comparator 0 output pin, PC2 output disabled, PC2 Pull-high resistor disabled.
CMP1EN
Description
0
Disable the Comparator 1. PC3/C1OUT, PC4/C1VIN+ is a PGIO pin.
1
Enable the Comparator 1. The PC3/C1OUT is a Comparator 1 output pin, PC3 output disable,
PC3/PC4 Pull-high resistor disabled.
Bits2~4 of the PPG0 control register, PPG0C, can be used to define the pre-scaling stages of the PPG0 timer counter
clock.
Rev. 1.00
19
August 3, 2007

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]