Tool/software:
Hello,
I'm relatively new to designing a PCB that hosts a microcontroller and I wanted to ask a couple questions.
My design requires me to generate a variable PWM output when I receive an external digital input pulse. The PWM output will then become disabled after the external digital input goes low. My plan was to use P4.0 - P4.3 for my PWM outputs (I may need more than one in the future) and to use another pin listed as "General-purpose digital I/O pin" for the external trigger. However, upon reading further, I have noticed this:
To my understanding, they seem to also be configurable for standard GPIO, but I have noticed some pins on Ports 1-2 have comparator inputs and DMA external trigger inputs. Can someone explain the difference between using one of these pins vs. a standard GPIO pin?
Thanks in advance.