PebbleOS v4.47.0-1219-g7c542d7a9
Loading...
Searching...
No Matches
tca8418.h File Reference
#include <stdint.h>
#include <pbl/device.h>
#include <pbl/drivers/gpio.h>
#include <pbl/drivers/i2c.h>
#include <pbl/drivers/intc.h>
#include <pbl/kernel/mutex.h>
#include <pbl/kernel/work.h>
#include <pbl/util/size.h>

Data Structures

struct  pbl_tca8418
 TCA8418. More...
 

Macros

#define PBL_TCA8418_NUM_PINS   18U
 Pins, ROW0-7 then COL0-9.
 
#define PBL_TCA8418_DEFINE(sym, _bus, _addr, _irq, _num_rows, _num_cols, ...)
 Define and register a TCA8418, the GPIO port sym _gpio of its other pins and their interrupt controller sym _intc.