This is a driver for nRF52832 hardware sensor.
More...
|
static int | value (int type) |
| Returns device temperature. More...
|
|
static int | configure (int type, int c) |
| Configures temperature sensor. More...
|
|
static int | status (int type) |
| Return temperature sensor status. More...
|
|
This is a driver for nRF52832 hardware sensor.
◆ configure()
static int configure |
( |
int |
type, |
|
|
int |
c |
|
) |
| |
|
static |
Configures temperature sensor.
- Parameters
-
type | initializes the hardware sensor when type is set to SENSORS_HW_INIT |
c | ignored |
- Returns
- 1
- Note
- This function does nothing when SoftDevice is present
Definition at line 93 of file temperature-sensor.c.
◆ status()
static int status |
( |
int |
type | ) |
|
|
static |
◆ value()
static int value |
( |
int |
type | ) |
|
|
static |