diff options
Diffstat (limited to 'chip/npcx/pwm_chip.h')
-rw-r--r-- | chip/npcx/pwm_chip.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/npcx/pwm_chip.h b/chip/npcx/pwm_chip.h index c73855916f..3a658f5d62 100644 --- a/chip/npcx/pwm_chip.h +++ b/chip/npcx/pwm_chip.h @@ -21,4 +21,7 @@ struct pwm_t { extern const struct pwm_t pwm_channels[]; void pwm_config(enum pwm_channel ch); +/* Npcx PWM maximum duty cycle value */ +#define NPCX_PWM_MAX_RAW_DUTY (UINT16_MAX - 1) + #endif /* __CROS_EC_PWM_CHIP_H */ |