Hello!!!
I want to check 4 adc channels if they arrive a X value and that these produce an interruption. I was reading that EnableInChanTrigger and EnableAutoCompare can help me; However, when I want to configure my second channel in this trigger mode, it gives me ERR_BUSY. I don't know what I'm doing wrong.
I'm using Processor Expert with MK60DN512VLQ10 microcontroller.
BR
Norberto Jiménez
Hello Norberto,
I am sorry but the ADC device on MK60DN512VLQ10 support selection of one channel only, i.e. you cannot enable automatic compare for two and more channels concurrently. You must select (switch) channels subsequently.
If you need to configure 4 channels, set automatic compare value and wait for interrupt you must emulate this functionality by own application code. The ADC device does not support this functionality.
Best Regards,
Marek Neuzil