| Electronic Components Datasheet Search |
|
HT45F23 Datasheet(PDF) 66 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F23 Datasheet(HTML) 66 Page - Holtek Semiconductor Inc |
|
66 / 152 page ![]() For the PFD output to function, it is essential that the corresponding bit of the Port A control register PAC bit 5 is setup as an output. If setup as an input the PFD output will not function, however, the pin can still be used as a normal input pin. The PFD output will only be activated if bit PA5 is set to ²1². This output data bit is used as the on/off control bit for the PFD output. Note that the PFD output will be low if the PA5 output data bit is cleared to ²0². Using this method of frequency generation, and if a crystal oscillator is used for the system clock, very precise values of frequency can be generated. Prescaler Bits T0PSC0~T0PSC2 of the TMR0C register can be used to define the pre-scaling stages of the internal clock sources of the Timer/Event Counter 0. The Timer/Event Counter overflow signal can be used to generate signals for the PFD and Timer Interrupt. TMR0C Register Bit 76543210 Name T0M1 T0M0 ¾ T0ON T0E T0PSC2 T0PSC1 T0PSC0 R/W R/W R/W ¾ R/W R/W R/W R/W R/W POR 0 0 ¾ 01000 Bit 7,6 T0M1, T0M0: Timer 0 operation mode selection 00: event counter mode, the input signal is from Comparator 1 output 01: event counter mode, the input signal is from TC0 pin. 10: timer mode 11: pulse width capture mode Bit 5 unimplemented, read as ²0² Bit 4 T0ON: Timer/Event Counter counting enable 0: disable 1: enable Bit 3 T0E: Event counter active edge selection 0: count on raising edge 1: count on falling edge Pulse Width Capture active edge selection 0: start counting on falling edge, stop on rasing edge 1: start counting on raising edge, stop on falling edge Bit 2~0 T0PSC2, T0PSC1, T0PSC0: Timer prescaler rate selection Timer internal clock= 000: fSYS 001: fSYS/2 010: fSYS/4 011: fSYS/8 100: fSYS/16 101: fSYS/32 110: fSYS/64 111: fSYS/128 Rev. 1.20 66 September 15, 2011 HT45F23/HT45F43 8-Bit Flash MCU with Op Amps & Comparators T i m e r O v e r f l o w P F D C l o c k P A 5 D a t a P F D O u t p u t a t P A 5 PFD Output Control |
|
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 |