![Freescale Semiconductor MCS08QG8 Скачать руководство пользователя страница 78](http://html1.mh-extra.com/html/freescale-semiconductor/mcs08qg8/mcs08qg8_manual_2330543078.webp)
TM
Freescale Semiconductor Confidential and Proprietary Information. Freescale™ and the Freescale logo are trademarks of Freescale
Semiconductor, Inc. All other product or service names are the property of their respective owners. © Freescale Semiconductor, Inc. 2005.
Slide 77
Lab 5 – Analog Comparator
•
When enabled, the ACMP (Analog Comparator) test
configures the ACMP to compare the voltage on the
photosensor (RZ1) to the potentiometer (RV1).
•
The output of the ACMP is configured by software to be
the trigger for the TPMCH0 input capture. The demo
measures the time between each toggle of the ACMP
output.
•
Adjusting RV1 will change the amount of darkness
necessary to toggle the ACMP.