| Electronic Components Datasheet Search |
|
HT45FM03B Datasheet(PDF) 52 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM03B Datasheet(HTML) 52 Page - Holtek Semiconductor Inc |
|
52 / 83 page ![]() HT45FM03B Rev. 1.10 52 May 7, 2010 C R S 0 0 1 1 C O F M 0 1 0 1 S 1 O N O F F O N O N S 2 O N O N O N O F F S 3 O F F O N O F F O N C M P O P C o m p a r a t o r I n t e r r u p t P A 1 / C V I N P C O F 0 ~ C O F 4 C M P E N S 1 S 2 S 3 P A 2 / C V I N N P A 3 / C O U T D e - b o u n c e C i r c u i t Analog Comparator Block Diagram The Analog Comparator can be used as one of the methods of stopping the PWM function. This is imple- mented using the PWMSP0, PWMSP1 and PWMSP2 bits. The PWM is stopped by clearing the PWMCTRL bit to ²0². Comparator Offset Voltage The Analog Comparator allows its input offset voltage to be adjusted using a common mode input to calibrate the offset value. The calibration steps are as follows: · Step1. Set COFM=1to select the offset voltage can- cellation mode - here S3 is closed. · Step2. Set CRS=1or0to select which input pin is the voltage - S1 or S2 is closed · Step3. Adjust COF0~COF4 until the output status changes · Step4. Set COFM=0to select the normal comparator mode Operation Amplifier - OPA The device contains a fully integrated operational ampli- fier. OPA Operation The OPAEN bit in the OPAC register is used as the en- able/disable bit for the Operational Amplifier. If the OPAEN bit is cleared to ²0², the OPA is disabled and powered off to reduce power consumption. The PB2/AN2/OPOUT, PB3/AN3/OPVINN and PA0/ OPVINP pins can all be used as I/O pins. If the OPAEN bit is set to ²1², the OPA is enabled. Now PB3/AN3/ OPVINN and PA0/OPVINP are OPA inverting and non-inverting input pins, and PB2/AN2/OPOUT is the OPA output pin. Any internal pull high resistors con- nected to, PB2, PB3 and PA0 output will be disabled. As the OPVINP, OPVINN and OPOUT are pin-shared with PA0, PB3/AN3 and PB2/AN2, once the OPA func- tion is enabled, the internal registers related to PA0, PB3 and PB2 cannot be used and the I/O function and pull-high resistor are disabled automatically. Software instructions fully determine how the OPA is to be used. OPAEN PA0, PB3/AN3, PB2/AN2 0 PA0, PB2/AN2 and PB3/AN3 are I/Os or analog ADC inputs. 1 PA0, PB3/AN3 are OPA input pins and PB2/AN2 is an OPA output pin. PB2/AN2 and PB3/AN3 can be analog ADC inputs if the related ADC function is enabled. O P A C R e g i s t e r b 7 b 0 A R S O p e r a t i o n a l a m p l i f i e r i n p u t o f f s e t v o l t a g e c a n c e l l a t i o n c o n t r o l b i t s O p e r a t i o n a l a m p l i f i e r i n p u t o f f s e t v o l t a g e c a n c e l l a t i o n r e f e r e n c e s e l e c t i o n b i t 1 / 0 : s e l e c t O P P / O P N a s t h e r e f e r e n c e i n p u t I n p u t o f f s e t v o l t a g e c a n c e l l a t i o n m o d e a n d o p e r a t i o n a l a m p l i f i e r m o d e s e l e c t i o n 1 / 0 : i n p u t o f f s e t v o l t a g e c a n c e l l a t i o n m o d e / o p e r a t i o n a l a m p l i f i e r m o d e O p e r a t i o n a l a m p l i f i e r o u t p u t ; p o s i t i v e l o g i c . T h i s b i t i s r e a d o n l y . O p e r a t i o n a l a m p l i f i e r e n a b l e / d i s a b l e ( 1 / 0 ) A O F M A O F 0 A O F 1 A O F 2 A O F 3 O P A O P O P A E N OPAC Register (Operational Amplifier Control Register) |
|
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 |