Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 1:e7709c579a18, committed 2013-10-28
- Comitter:
- jeroen3
- Date:
- Mon Oct 28 18:27:20 2013 +0000
- Parent:
- 0:d0306c0cbee6
- Child:
- 2:ddae311a4533
- Commit message:
- +
Changed in this revision
| CT32B0_PWM.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/CT32B0_PWM.cpp Mon Oct 28 18:26:28 2013 +0000 +++ b/CT32B0_PWM.cpp Mon Oct 28 18:27:20 2013 +0000 @@ -24,11 +24,11 @@ #define CT32B0_PRESCALER 48 /**< @brief Timer prescaler from AHBCLK */ /* Static makes them private to this module */ -volatile static uint8_t stage = 0; /**< @brief Stage identifier for mat2/3 swap */ -volatile static uint32_t period = 0; /**< @brief PWM Period register */ -volatile static uint32_t mat[4]; /**< @brief PWM Mat output registers */ -volatile static uint32_t default_period_us; /**< @brief Given period in us */ -volatile static uint32_t defaultstate; /**< @brief Default PWM state on init */ +volatile static uint8_t stage = 0; /**< @brief Stage identifier for mat2/3 swap */ +volatile static uint32_t period = 0; /**< @brief PWM Period register */ +volatile static uint32_t mat[4]; /**< @brief PWM Mat output registers */ +volatile static uint32_t default_period_us; /**< @brief Given period in us */ +volatile static uint32_t defaultstate; /**< @brief Default PWM state on init */ /** * @brief Initializes PWM