diff --git a/arch/arm/src/sama5/chip/sam_pwm.h b/arch/arm/src/sama5/chip/sam_pwm.h index 3d4dc98a0bd..5e3c0982782 100644 --- a/arch/arm/src/sama5/chip/sam_pwm.h +++ b/arch/arm/src/sama5/chip/sam_pwm.h @@ -46,6 +46,9 @@ /************************************************************************************ * Pre-processor Definitions ************************************************************************************/ + +#define SAM_PWM_NCHANNELS 4 /* Four channels numbered 0..3 */ + /* PWM Register Offsets *************************************************************/ #define SAM_PWM_CLK_OFFSET 0x0000 /* PWM Clock Register */