Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
pru_sensor_data_t Struct Reference

#include <pru_sensors.h>

Data Fields

uint16_t vrect
 
uint16_t irect
 
uint16_t vout
 
uint16_t iout
 
int16_t temperature
 
uint8_t over_voltage:1
 
uint8_t over_current:1
 
uint8_t over_temperature:1
 
uint8_t sustained_high_voltage:1
 
uint8_t wired_charge_detect:1
 
uint8_t charge_port:1
 
uint8_t charge_complete:1
 
uint8_t power_adjusted:1
 

Detailed Description

Definition of PRU reporting data.

Definition at line 26 of file pru_sensors.h.

Field Documentation

uint16_t vrect

Voltage at diode output [mV].

Definition at line 28 of file pru_sensors.h.

uint16_t irect

Current at diode output [mA].

Definition at line 29 of file pru_sensors.h.

uint16_t vout

Voltage at charge/battery port [mV].

Definition at line 30 of file pru_sensors.h.

uint16_t iout

Current at charge/battery port [mA].

Definition at line 31 of file pru_sensors.h.

int16_t temperature

Temperature of PRU [Deg C above -40C].

Definition at line 32 of file pru_sensors.h.

uint8_t over_voltage

Indicates that VRECT at the PRU has exceeded the OVP limit.

Definition at line 33 of file pru_sensors.h.

uint8_t over_current

Indicates that IRECT at the PRU has exceeded the PRU’s current limit.

Definition at line 34 of file pru_sensors.h.

uint8_t over_temperature

Indicates that measured temperature at the PRU has exceeded the PRU’s temperature limit.

Definition at line 35 of file pru_sensors.h.

uint8_t sustained_high_voltage

Indicates that VRECT has exceeded VRECT_HIGH for over 5 seconds.

Definition at line 36 of file pru_sensors.h.

uint8_t wired_charge_detect

A wired charger has been detected.

Definition at line 37 of file pru_sensors.h.

uint8_t charge_port

Charge port has been detected.

Definition at line 38 of file pru_sensors.h.

uint8_t charge_complete

Charge has completed.

Definition at line 39 of file pru_sensors.h.

uint8_t power_adjusted

Power is adjusted according to setting in control packet.

Definition at line 40 of file pru_sensors.h.


The documentation for this struct was generated from the following file: