Using an MC9S08PA8VTG. ACMP input and ADC input share pin 16. Codewarrior balks at assigning both peripherals to the same pin. I see nothing in the data sheet that says I can't and the application is pin limited so I don't want to route the same signal to two pins. I want the ACMP to monitor my incoming power so I can save my data if power is going down. Customer also wants to measure the incoming power. So:
1. Does the hardware allow these two functions to share a pin and operate simultaneously?
2. If yes, is there a way to make Codewarrior enable both?
Thanks for any assistance.