PebbleOS v4.47.0-1362-gd278268fe
Loading...
Searching...
No Matches
driver.h File Reference
#include <stdint.h>
#include <pbl/device.h>
#include <pbl/drivers/pwm.h>

Data Structures

struct  pbl_pwm_controller_ops
 PWM controller driver operations. More...
 
struct  pbl_pwm_controller
 A PWM controller. More...
 

Macros

#define PBL_PWM_CONTROLLER_STATE_DEFINE(sym, _num_channels)
 Define the class state of PWM controller sym, for the driver's define macro.
 
#define PBL_PWM_CONTROLLER_INIT(sym, _name, _init, _parent, _ops)
 Initializer for the struct pbl_pwm_controller of controller sym.
 

Variables

const struct pbl_device_class pbl_pwm_class
 Class of the PWM controllers.