aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/pwm.h')
-rw-r--r--os/hal/include/pwm.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h
index c0cea6c2b..d37e449aa 100644
--- a/os/hal/include/pwm.h
+++ b/os/hal/include/pwm.h
@@ -50,19 +50,18 @@
* @brief Driver state machine possible states.
*/
typedef enum {
- PWM_UNINIT = 0, /**< @brief Not initialized. */
- PWM_STOP = 1, /**< @brief Stopped. */
- PWM_READY = 2, /**< @brief Ready. */
+ PWM_UNINIT = 0, /**< Not initialized. */
+ PWM_STOP = 1, /**< Stopped. */
+ PWM_READY = 2, /**< Ready. */
} pwmstate_t;
/**
* @brief PWM logic mode.
*/
typedef enum {
- PWM_OUTPUT_DISABLED = 0, /**< @brief Output not driven, callback
- only. */
- PWM_OUTPUT_ACTIVE_HIGH = 1, /**< @brief Idle is logic level 0. */
- PWM_OUTPUT_ACTIVE_LOW = 2 /**< @brief Idle is logic level 1. */
+ PWM_OUTPUT_DISABLED = 0, /**< Output not driven, callback only. */
+ PWM_OUTPUT_ACTIVE_HIGH = 1, /**< Idle is logic level 0. */
+ PWM_OUTPUT_ACTIVE_LOW = 2 /**< Idle is logic level 1. */
} pwmmode_t;
#include "pwm_lld.h"