Positron Compiler Documentation

HPWM Declares.

Positron16 · Revision 1.1.3.5 · PDF page 418

Some devices have alternate pins that may be used for HPWM. The following Declares allow the use of different pins: -

Declare CCP1_Pin Port.Pin ' Select Hpwm port and bit for CCP1 module (ch 1)
Declare CCP2_Pin Port.Pin ' Select Hpwm port and bit for CCP2 module (ch 2)
Declare CCP3_Pin Port.Pin ' Select Hpwm port and bit for CCP3 module (ch 3)
Declare CCP4_Pin Port.Pin ' Select Hpwm port and bit for CCP4 module (ch 4)
Declare CCP5_Pin Port.Pin ' Select Hpwm port and bit for CCP5 module (ch 5)
View original PDF page 418Open page in PDFOriginal PDF page 418