|
PebbleOS v4.47.0-512-g5285d4236
|
Data Structures | |
| struct | pbl_pressure_ops |
| Pressure sensor driver operations, called with the device lock held. More... | |
| struct | pbl_pressure_state |
| Pressure sensor runtime state. More... | |
| struct | pbl_pressure |
| Pressure sensor. More... | |
Macros | |
| #define | PBL_PRESSURE_STATE_DEFINE(sym) |
| Define the class state of a pressure sensor. | |
| #define | PBL_PRESSURE_INIT(sym, _name, _parent, _ops) |
| Initialize a struct pbl_pressure. | |
Functions | |
| int | pbl_pressure_read (const struct pbl_pressure *pressure, uint32_t *pa) |
| Measure the pressure. | |
Variables | |
| const struct pbl_pressure *const | PRESSURE |
| The board's barometric pressure sensor. | |