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.
Diff: pwm_extra.h
- Revision:
- 20:26b1a4570f4b
- Parent:
- 17:af1f2416dd26
--- a/pwm_extra.h Wed Sep 29 12:32:10 2021 +0100
+++ b/pwm_extra.h Mon Nov 22 22:26:51 2021 +0530
@@ -34,6 +34,10 @@
/********************** Variables and User defined data types *****************/
/******************************************************************************/
+typedef struct {
+ uint16_t pwm_pin; // PWM pin number
+} mbed_pwm_init_param;
+
struct mbed_pwm_desc {
void *pwm_obj; /* Mbed PWM instance/object */
};