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

Data Structures

struct  pbl_reset_controller_ops
 Reset controller driver operations, called with interrupts locked. More...
 
struct  pbl_reset_controller
 A reset controller. More...
 

Macros

#define PBL_RESET_CONTROLLER_STATE_DEFINE(sym)   PBL_DEVICE_STATE_DEFINE(sym)
 Define the class state of reset controller sym, for the driver's define macro.
 
#define PBL_RESET_CONTROLLER_INIT(sym, _name, _init, _parent, _ops, _num_resets)
 Initializer for the struct pbl_reset_controller of controller sym.