summaryrefslogtreecommitdiff
path: root/shared-bindings/pwmio/PWMOut.h
diff options
context:
space:
mode:
authorHosted Weblate <hosted@weblate.org>2021-03-19 17:35:04 +0100
committerHosted Weblate <hosted@weblate.org>2021-03-19 17:35:04 +0100
commitcaafae3b3da3f05a530fcb337fe53a80968ff72b (patch)
tree036484d5904e2dd2b7393044b17d0461c0451588 /shared-bindings/pwmio/PWMOut.h
parent38e791381e60f09bcb8005bdb1b8a4c82b037668 (diff)
parent0615876d9f738cf7e040c5014cf953823498573e (diff)
Merge remote-tracking branch 'origin/main' into main
Diffstat (limited to 'shared-bindings/pwmio/PWMOut.h')
-rw-r--r--shared-bindings/pwmio/PWMOut.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/shared-bindings/pwmio/PWMOut.h b/shared-bindings/pwmio/PWMOut.h
index 4155ba12d..f4d205b21 100644
--- a/shared-bindings/pwmio/PWMOut.h
+++ b/shared-bindings/pwmio/PWMOut.h
@@ -36,8 +36,12 @@ typedef enum pwmout_result_t {
PWMOUT_OK,
PWMOUT_INVALID_PIN,
PWMOUT_INVALID_FREQUENCY,
+ PWMOUT_INVALID_FREQUENCY_ON_PIN,
+ PWMOUT_VARIABLE_FREQUENCY_NOT_AVAILABLE,
PWMOUT_ALL_TIMERS_ON_PIN_IN_USE,
- PWMOUT_ALL_TIMERS_IN_USE
+ PWMOUT_ALL_TIMERS_IN_USE,
+ PWMOUT_ALL_CHANNELS_IN_USE,
+ PWMOUT_INITIALIZATION_ERROR,
} pwmout_result_t;
extern pwmout_result_t common_hal_pwmio_pwmout_construct(pwmio_pwmout_obj_t *self,