| Electronic Components Datasheet Search |
|
HT49CV9 Datasheet(PDF) 24 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49CV9 Datasheet(HTML) 24 Page - Holtek Semiconductor Inc |
|
24 / 48 page ![]() HT49RV9/HT49CV9 Rev. 1.00 24 April 20, 2006 The I/O function of PA0/PA1 are shown below. PA0 I/O I I OOOOOOOO PA1 I/O I O I I I OOOOO PA0 Mode X X C B B C BBBB PA1 Mode X C X X X C C C B B PA0 Data X X D 0 1 D0 0101 PA1 Data X D X X X D1 D D X X PA0 Pad Status I I D 0 B D0 0B0B PA1 Pad Status I D I I I D1 DD 0 B Note: ²I² input; ²O² output ²D, D0, D1² Data ²B² buzzer option, BZ or BZ ²X² don¢t care ²C² CMOS output The PB port can also be used as A/D converter inputs. The A/D function will be described later. There is a PWM function shared with PD0/PD1/PD2/PD3. If the PWM function is enabled, the PWM0/PWM1/PWM2/PWM3 signal will appear on PD0/PD1/PD2/PD3 (if PD0/PD1/ PD2/PD3 is operating in the output mode). Writing a ²1² to PD0~PD3 data register will enable the PWM output function and writing a ²0² will force the PD0~PD3 to re- main at ²0². The I/O functions of PD0/PD1/PD2/PD3 are as shown. I/O Mode I/P (Normal) O/P (Normal) I/P (PWM) O/P (PWM) PD0 PD1 PD2 PD3 Logical Input Logical Output Logical Input PWM0 PWM1 PWM2 PWM3 It is recommended that unused or not bonded out I/O lines should be set as output pins by software instruction to avoid consuming power under input floating state. PWM The microcontroller provides a 4 channel and (6+2)/(7+1) (dependent on options) bits PWM output shared with PD0/PD1/PD2/PD3. The PWM channels have their data registers denoted as PWM0 (1AH), PWM1 (1BH), PWM2 (1CH) and PWM3 (1DH). The fre- quency source of the PWM counter comes from fSYS. The PWM registers are two 8-bit registers. The wave- forms of the PWM outputs are as shown. Once the PD0/PD1/PD2/PD3 are selected as the PWM outputs and the output function of PD0/PD1/PD2/PD3 are en- abled (PDC.0/PDC.1/ PDC.2/PDC.3= ²0²), writing a ²1² to PD0/PD1/PD2/PD3 data register will enable the PWM output function and writing a ²0² will force the PD0/PD1/PD2/PD3 to remain at ²0². A (6+2) bits mode PWM cycle is divided into four modu- lation cycles (modulation cycle 0~modulation cycle 3). Each modulation cycle has 64 PWM input clock period. In a (6+2) bit PWM function, the contents of the PWM register is divided into two groups. Group 1 of the PWM register is denoted by DC which is the value of PWM.7~PWM.2. The group 2 is denoted by AC which is the value of PWM.1~PWM.0. S y s t e m W a k e - u p ( P A o n l y ) R e a d D a t a R e g i s t e r D a t a B u s W r i t e C o n t r o l R e g i s t e r C h i p R e s e t R e a d C o n t r o l R e g i s t e r W r i t e D a t a R e g i s t e r P A 0 / B Z P A 1 / B Z P A 2 P A 3 / P F D P A 4 ~ P A 7 P B 0 / A N 0 ~ P B 7 / A N 7 P C 0 ~ P C 7 P D 0 / P W M 0 ~ P D 3 / P W M 3 P D 4 / I N T 0 P D 5 / I N T 1 P D 6 / T M R 0 P D 7 / T M R 1 I N T 0 f o r P D 4 o n l y I N T 1 f o r P D 5 o n l y T M R 0 f o r P D 6 o n l y T M R 1 f o r P D 7 o n l y P A 0 / P A 1 / P A 3 / P D 0 / P D 1 / P D 2 / P D 3 B Z / B Z / P F D / P W M 0 / P W M 1 / P W M 2 / P W M 3 V D D M U X M U X P F D E N ( P A 3 ) O P 0 ~ O P 7 C o n t r o l B i t P u l l - h i g h D a t a B i t D Q C K S Q D Q C K S Q Input/Output Ports |
|
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 |
| 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 |