Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
ptu_power_sharing.h File Reference
#include <stdbool.h>
#include "ble_wpts_c.h"
#include "ptu.h"

Go to the source code of this file.

Functions

uint32_t ptu_power_sharing_init (ptu_sm_handler_t sm_handler)
 Initialize power sharing module. More...
 
void ptu_power_sharing_on_wpt_service_evt (ble_wpts_c_t *p_wpts_c, ble_wpts_c_evt_t *const p_wpts_c_evt)
 Handle service events. More...
 
void ptu_power_sharing_temperature_warning_set (bool warning)
 Inform power control module that PTU is having a high temperature warning. When this occurs the power control module will instruct PRUs to lower their power consumption. More...