Hi @FKara.3 ,
This is not possible because our I/O are only digital.
You could try something like this:
- MLC can generate an interrupt at each class change
- When receiving interrupts, you can read MLCx_SRC register to understand the current class
- But then, you need to use DAC from external micro to generate the analog signal on another pin
So the class can be the input for the DAC but you always need an external microcontroller.
If this helps you, please mark my answer as "Best Answer" by clicking on the "Accept as Solution" button, this can be helpful for Community users to find this solution faster.