Conditional compilation

Libraries ›› The PWM_CCP unit ››
Parent Previous Next

Parameter / feature

$DEFINE format

Default

Example

CCP1CON initialization value

PWM_CCP_CCP1CON_INIT N

N = [P1M1, CCP1M3, CCP1M2]

{$DEFINE PWM_CCP_CCP1CON_INIT [CCP1M3, CCP1M2]}

PWM frequency.

PWM_CCP_FREQ N

N = 40000

{$DEFINE PWM_CCP_FREQ 1000}