Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
ptu_sensors.h File Reference
#include "ptu.h"
#include "ptu_hw_config.h"
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Functions

API.
uint32_t ptu_sensors_init (ptu_sm_handler_t sm_handler)
 Initialize PTU Sensors. This function must be called before any other PTU Sensors function can be called. More...
 
uint32_t ptu_sensors_read (void)
 Read sensors. This function should typically be called regularly by a timer and can generate events by calling ptu_evt_handler(). More...
 
uint32_t ptu_sensors_data_get (const ptu_sensor_data_t **sensors_data)
 Get the latest data read from the PTU sensors. More...
 
void ptu_sensors_clear_long_beacon_extension_load_variation_buffer (void)
 Empty buffer containing load variation sample data for Long Beacon Extension.
 
bool ptu_sensors_valid_long_beacon_extension_load_variation_found (void)
 Check if a valid PTX load variation has occured. More...