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

HT46R12 Просмотр технического описания (PDF) - Holtek Semiconductor

Номер в каталоге
Компоненты Описание
производитель
HT46R12
Holtek
Holtek Semiconductor Holtek
HT46R12 Datasheet PDF : 45 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
HT46R12
· 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 the Comparator 0 (0=disable, 1=enable)
CMP1EN: Enables or disables the Comparator 1 (0=disable, 1=enable)
P0PSC0, P0PSC1, P0PSC2: These three bits select the PPG0 timer prescaler rate.
P0SPEN: Enables or disables the stopping of the PPG0 timer using C0VO trigger input (0=disable, 1=enable)
P0RSEN: Enables or disables the restarting of the PPG0 timer using 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 comparators enable or disable bits, if the CMP0EN is cleared to ²0²,
the Comparator 0 is disabled, the PC0/C0VIN-, PC1/C0VIN+, PC2/C0OUT are all GPIO pins, if the CMP0EN is set to
²1², the Comparator 1 is enabled, PC0/C0VIN-, PC1/C0VIN+, PC2/C0OUT can still be used as input pins. If the
CMP1EN is cleared to ²0², the Comparator 1 is disabled, the PC3/C1OUT is a GPIO pin, If the CMP1EN is set to ²1²,
the Comparator 1 is enabled, PC3 can still be used as input pin.
PPG0C: CMP0EN, CMP1EN comparators enable/disable bits
CMP0EN
Description
0
Disable the Comparator 0. PC0/C0VIN-, PC1/C0VIN+, PC2/C0OUT are all GPIO pins.
1
Enable the Comparator 0
CMP1EN
Description
0
Disable the Comparator 1. PC3/C1OUT is a PGIO pin.
1
Enable the Comparator 1
The bits 4~2 of the PPG0 control register (PPG0C) can be used to define the pre-scaling stages of the PPG0 timer
counter clock.
PPG0C: PPG0 timer prescaler rate bits
P0PSC2
0
0
0
0
1
1
1
1
P0PSC1
0
0
1
1
0
0
1
1
P0PSC0
0
1
0
1
0
1
0
1
Define the prescaler stages
P0fS=fSYS
P0fS=fSYS/2
P0fS=fSYS/4
P0fS=fSYS/8
P0fS=fSYS/16
P0fS=fSYS/32
P0fS=fSYS/64
P0fS=fSYS/128
Rev. 1.00
18
November 1, 2005

Share Link: 

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