Forked repo of Platform Drivers- Analog Devices
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 */ };