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

Go to the source code of this file.

Data Structures

struct  ptu_sensor_data_t
 Definition of PTU sensor data. More...
 

Macros

#define PTU_CLASS   BLE_WPTS_PTU_CLASS_2
 
#define PTU_PTX_IN_MAX   100
 
#define PTU_ADV_PWR_MIN   -55
 
#define PTU_POWER_EFFICIENCY   1.0
 
#define PTU_CCA_ADV_IMP_SHIFT_ENABLE   true
 
#define POWERAMP_TEST_VAR_STEP_SIZE   10
 
#define PTU_POWERAMP_INPUT_TEST_STEP_SIZE   5
 
#define PTU_POWERAMP_INPUT_BEACON_SHORT   30
 
#define PTU_POWERAMP_INPUT_BEACON_LONG   40
 
#define PTU_POWERAMP_INPUT_START   50
 
#define PTU_POWERAMP_INPUT_NOMINAL   60
 
#define PTU_POWERAMP_INPUT_MAX   100
 
#define PTU_POWERAMP_INPUT_MIN   0
 
#define PTU_POWERAMP_INPUT_STEP_SIZE   2
 
#define PTU_POWERAMP_INPUT_STEP_SIZE_REDUCED   1
 
#define PTU_POWERAMP_INPUT_STEP_SIZE_INCREASED   10
 
#define PTU_VRECT_HIGH_OFFSET   100
 
#define PTU_ITX_MAX   (1000)
 
#define PTU_ITX_MIN   (10)
 
#define PTU_TEMPERATURE_MAX   (60)
 
#define PTU_TEMPERATURE_MIN   (-10)
 
#define PTU_PTX_IN_TEMP_WARNING_DEC   50
 
#define PTU_TEMPERATURE_WARNING_SET   50
 
#define PTU_TEMPERATURE_WARNING_CLEAR   40
 
#define PTU_ITX_DEFAULT   (PTU_ITX_MIN+1)
 
#define PTU_VTX_DEFAULT   ((90 * PTU_ITX_DEFAULT))
 
#define PTU_TEMPERATUR_DEFAULT   ((PTU_TEMPERATURE_MAX + PTU_TEMPERATURE_MIN) / 2)
 
#define PTU_POWERAMP_INPUT_DEFAULT   ((PTU_POWERAMP_INPUT_MAX + PTU_POWERAMP_INPUT_MIN) / 2)
 
#define PTU_PTX_IN_DEFAULT   50