aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 11:42:05 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-18 11:42:05 +0000
commitf27c5d296844f858b3026ee6f1a63641c0d98fb1 (patch)
tree4d87c3d7d4f07d20902d80fe31d34296aeb5dc21 /os/hal/include
parent65f23fc65ff4b60d88281184d9a634375f02e3a1 (diff)
downloadChibiOS-f27c5d296844f858b3026ee6f1a63641c0d98fb1.tar.gz
ChibiOS-f27c5d296844f858b3026ee6f1a63641c0d98fb1.tar.bz2
ChibiOS-f27c5d296844f858b3026ee6f1a63641c0d98fb1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1429 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/pwm.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/os/hal/include/pwm.h b/os/hal/include/pwm.h
index b48f067c9..9cb6ce4c4 100644
--- a/os/hal/include/pwm.h
+++ b/os/hal/include/pwm.h
@@ -42,8 +42,10 @@ typedef enum {
* @brief PWM logic mode.
*/
typedef enum {
- PWM_ACTIVE_HIGH = 0, /**< @brief Idle is logic level 0. */
- PWM_ACTIVE_LOW = 1 /**< @brief Idle is logic level 1. */
+ 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. */
} pwmmode_t;
/**