| データシートサーチシステム |
|
HT46R652 データシート(PDF) 21 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R652 データシート(HTML) 21 Page - Holtek Semiconductor Inc |
|
21 / 47 page ![]() HT46R652 Rev. 1.00 21 December 19, 2006 tion timer. If the pins are setup as inputs then they will al- ways retain their input function. Once the BZ/BZ configuration option is selected, the buzzer output sig- nal is controlled by the PA0/PA1 data register. The PA0/PA1 pins I/O functions are shown in the table. 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 is also used for the A/D converter inputs. The PWM outputs are shared with pins PC0~PC7 and PD0~PD7. If the PWM function is enabled, the PWM0~PWM15 outputs will appear on pins PC0~PC7 and PD0~PD7, if PC0~PC7 and PD0~PD7 are setup as outputs. Writing a ²1² to the PC0~PC7 and PD0~PD7 data registers will enable the PWM output function while writing a ²0² will force PC0~PC7 and PD0~PD7 to re- main at a ²0²level. The I/O functions of PC0~PC7 and PD0~PD7 are shown in the table. I/O Mode I/P (Normal) O/P (Normal) I/P (PWM) O/P (PWM) PC0~PC7, PD0~PD7 Logical Input Logical Output Logical Input PWM0~ PWM15 Any unused pins must be carefully managed to ensure that there are no floating input lines which will result in in- creased power consumption. It is therefore recom- mended that any unused pins are setup as outputs or connected to a pull-high resistor if setup as inputs. The definitions of the PFD control signals and the PFD output frequencies are listed in the following table. Timer Timer Preload Value PA3 Data Register PA3 Pad State PFD Frequency OFF X 0 0 X OFF X 1 U X ON N 0 0 X ON N 1 PFD fTMR/[2 ´(M-N)] Note: ²X² stands for unused ²U² stands for unknown ²M² is ²65536² for PFD0 or PFD1 ²N² is the timer/event counter preload value ²fTMR² is the input clock frequency for the timer/event counter V D D M U X M U X P F D E N ( P A 3 ) O P 0 ~ O P 7 T M R 0 f o r P A 4 o n l y I N T 0 f o r P A 5 o n l y I N T 1 f o r P A 6 o n l y T M R 1 f o r P A 7 o n l y 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 P A 0 / P A 1 / P A 3 / P C 0 ~ P C 7 / P D 0 ~ P D 7 D Q C K S D Q C K Q S C o n t r o l B i t P U 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 / T M R 0 P A 5 / I N T 0 P A 6 / I N T 1 P A 7 / T M R 1 P B 0 / A N 0 ~ P B 7 / A N 7 P C 0 / P W M 0 ~ P C 7 / P W M 7 P D 0 / P W M 8 ~ P D 7 / P W M 1 5 Q B Z / B Z / P F D / P W M 0 ~ P W M 7 / P W M 8 ~ P W M 1 5 Input/Output Ports |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト 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 |