no-OS
mbed_pwm.h
Go to the documentation of this file.
1 /***************************************************************************/
38 #ifndef MBED_PWM_H
39 #define MBED_PWM_H
40 
41 // Platform support needs to be C-compatible to work with other drivers
42 #ifdef __cplusplus
43 extern "C"
44 {
45 #endif
46 
47 /******************************************************************************/
48 /***************************** Include Files **********************************/
49 /******************************************************************************/
50 
51 #include <stdio.h>
52 
53 /******************************************************************************/
54 /********************** Variables and User defined data types *****************/
55 /******************************************************************************/
56 
58  uint16_t pwm_pin; // PWM pin number
59 };
60 
61 struct mbed_pwm_desc {
62  void *pwm_obj; // Mbed PWM instance/object
63 };
64 
65 /******************************************************************************/
66 /************************ Public Declarations *********************************/
67 /******************************************************************************/
68 
69 #ifdef __cplusplus // Closing extern c
70 }
71 #endif
72 
73 #endif /* MBED_PWM_H */
mbed_pwm_init_param::pwm_pin
uint16_t pwm_pin
Definition: mbed_pwm.h:58
mbed_pwm_init_param
Definition: mbed_pwm.h:57
mbed_pwm_desc
Definition: mbed_pwm.h:61
mbed_pwm_desc::pwm_obj
void * pwm_obj
Definition: mbed_pwm.h:62