apakSeO
Joined: 07 Dec 2016 Posts: 60 Location: Northeast USA
|
PIC16F1779: PWMx vs. PWMxOUT in header? |
Posted: Wed Oct 17, 2018 11:48 am |
|
|
CCS v5.080
PIC16F1779
In the 16F1779.h header file, the #pin_select section contains entries for PWMxOUT as well as PWMx. For example, PWM3 is a PPS function, as well as PWM3OUT, in the header.
What is the difference between using #pin_select with PWMx vs. PWMxOUT? Is there any difference between the two? If I'm supposed to "just know" what the difference in these two is supposed to be, how would I have obtained this knowledge on my own?
The only reference to this in the data sheet is that PWM3 is the source peripheral, and PWM3OUT is the output pin. I can't find any reference to this disparity in the compiler manual either; the header file does not explain the usage scenarios of one vs. the other. |
|