| Electronic Components Datasheet Search |
|
HT49CV5 Datasheet(PDF) 24 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT49CV5 Datasheet(HTML) 24 Page - Holtek Semiconductor Inc |
|
24 / 48 page ![]() HT49RV5/HT49CV5 Rev. 1.20 24 April 14, 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 PB0~PB3 can also be used as A/D converter in- puts. The A/D function will be described later. There is a function shared with PD0/PD1. If the PWM function is enabled, the PWM0/PWM1 signal will appear on PD0/PD1 (if PD0/PD1 is operating in the output mode). Writing a ²1² to PD0~PD1 data register will enable the PWM output function and writing a ²0² will force the PD0~PD1 to remain at ²0². The I/O functions of PD0/PD1 are as shown. I/O Mode I/P (Normal) O/P (Normal) I/P (PWM) O/P (PWM) PD0 PD1 Logical Input Logical Output Logical Input PWM0 PWM1 It is recommended that unused or not bonded out I/O lines should be set as output pins by software instruc- tions to avoid consuming power under input floating state. PWM The microcontroller provides a 2 channel and (6+2)/(7+1) (dependent on options) bits PWM output shared with PD0/PD1. The PWM channels have their data registers denoted as PWM0 (1AH), PWM1 (1BH). The frequency source of the PWM counter comes from fSYS. The PWM registers are two 8-bit registers. The waveforms of PWM outputs are as shown. Once the PD0/PD1 are selected as the PWM outputs and the out- put function of PD0/PD1 are enabled (PDC.0/PDC.1 = ²0²), writing ²1² to PD0/PD1 data register will enable the PWM output function and writing ²0² will force the PD0/PD1 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. V D D M U X M U X P F D E N ( P A 3 ) O P 0 ~ O P 7 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 C o n t r o l B i t P u l l - h i g h 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 D a t a B i t 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 3 / A N 3 P C 6 P C 7 / R M T P D 0 / P W M 0 P D 1 / P W M 1 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 B Z / B Z / P F D / P W M 0 / P W M 1 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 |