| Datenblatt-Suchmaschine für elektronische Bauteile |
|
HT68F03 Datenblatt(PDF) 79 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT68F03 Datenblatt(HTML) 79 Page - Holtek Semiconductor Inc |
|
79 / 139 page ![]() HT66F03/HT66F04/HT68F03/HT68F04 Rev. 1.00 79 April 16, 2010 ¨ TM2C2 Register Bit 76543210 Name T2BM1 T2BM0 T2BIO1 T2BIO0 T2BOC T2BPOL T2PWM1 T2PWM0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 00000000 Bit 7~6 T2BM1~T2BM0: Select TM2 CCRB Operating Mode 00: Compare Match Output Mode 01: Capture Input Mode 10: PWM Mode or Single Pulse Output Mode 11: Timer/Counter mode These bits setup the required operating mode for the TM. To ensure reliable operation the TM should be switched off before any changes are made to the T2BM1 and T2BM0 bits. In the Timer/Counter Mode, the TM output pin control must be disabled. Bit 5~4 T2BIO1~T2BIO0: Select TP2B output function Compare Match Output Mode 00: No change 01: Output low 10: Output high 11: Toggle output PWM Mode/Single Pulse Output Mode 00: Force inactive state 01: Force active state 10: PWM output 11: Single pulse output Capture Input Mode 00: Input capture at rising edge of TP2B 01: Input capture at falling edge of TP2B 10: Input capture at falling/rising edge of TP2B 11: Input capture disabled Timer/counter Mode Unused These two bits are used to determine how the TM output pin changes state when a certain condition is reached. The function that these bits select depends upon in which mode the TM is running. In the Compare Match Output Mode, the T2BIO1 and T2BIO0 bits determine how the TM output pin changes state when a compare match occurs from the Comparator A. The TM output pin can be setup to switch high, switch low or to toggle its present state when a compare match occurs from the Comparator A. When the bits are both zero, then no change will take place on the output. The initial value of the TM output pin should be setup using the T2BOC bit in the TM2C2 register. Note that the output level requested by the T2BIO1 and T2BIO0 bits must be different from the initial value setup using the T2BOC bit otherwise no change will occur on the TM output pin when a compare match occurs. After the TM output pin changes state it can be reset to its initial level by changing the level of the T2ON bit from low to high. Bit 3 T2BOC: TP2B Output control bit Compare Match Output Mode 0: Initial low 1: Initial high PWM Mode/ Single Pulse Output Mode 0: Active low 1: Active high This is the output control bit for the TM output pin. Its operation depends upon whether TM is being used in the Compare Match Output Mode or in the PWM Mode/ Single Pulse Output Mode. It has no effect if the TM is in the Timer/Counter Mode. In the Compare Match Output Mode it determines the logic level of the TM output pin before a compare match occurs. In the PWM Mode it determines if the PWM signal is active high or active low. |
|
Link URL |
| War ALLDATASHEET hilfreich? [ DONATE ] |
Über Alldatasheet | Werbung | Kontakt | Privatsphäre und Datenschutz | Link zum Datenblatt | Linktausch | Hersteller 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 |