| Electronic Components Datasheet Search |
|
HT45F43 Datasheet(PDF) 124 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F43 Datasheet(HTML) 124 Page - Holtek Semiconductor Inc |
|
124 / 152 page ![]() If the BPCTL options have selected both pins PA6 and PA7 to function as a BZ and BZ complementary pair of buzzer outputs, then for correct buzzer operation it is essential that both pins must be setup as outputs by setting bits PAC6 and PAC7 of the PAC port control register to zero. The PA6 data bit in the PA data register must also be set high to enable the buzzer outputs, if set low, both pins PA6 and PA7 will remain low. In this way the single bit PA6 of the PA register can be used as an on/off control for both the BZ and BZ buzzer pin outputs. Note that the PA7 data bit in the PA register has no control over the BZ buzzer pin PA7. BPCTL Register Bit 76543210 Name PMODE PWM0EN PWM1EN BC1 BC0 BZ2 BZ1 BZ0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 00000000 Bit 7~5 PWM control bits Bit 4~3 BC1, BC0: Buzzer or I/O 00: PA7, PA6 01: PA7, BZ 10: reserved 11: BZB,BZ Bit 2~0 BZ2~BZ0: Buzzer output frequency selection 000: fTB/2 2 001: fTB/2 3 010: fTB/2 4 011: fTB/2 5 100: fTB/2 6 101: fTB/2 7 110: fTB/2 8 111: fTB/2 9 PA6/PA7 Pin Function Control PAC Register PAC6 PAC Register PAC7 PA Data Register PA6 PA Data Register PA7 Output Function 001 x PA6=BZ PA7=BZ 000 x PA6= ²0² PA7= ²0² 011 x PA6=BZ PA7=input line 010 x PA6= ²0² PA7=input line 10 x D PA6=input line PA7=D 11 x x PA6=input line PA7=input line ²x ² stands for don¢t care ²D² stands for Data ²0² or ²1² Rev. 1.20 124 September 15, 2011 HT45F23/HT45F43 8-Bit Flash MCU with Op Amps & Comparators |
|
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 |