3-phase PV router
Loading...
Searching...
No Matches
PayloadTx_struct< N, S > Class Template Reference

container for datalogging More...

#include <types.h>

Public Attributes

int16_t power { 0 }
 
int16_t power_L [N] {}
 
int16_t temperature_x100 [S] {}
 
uint16_t Vrms_L_x100 [N] {}
 

Detailed Description

template<uint8_t N = 3, uint8_t S = 0>
class PayloadTx_struct< N, S >

container for datalogging

This class is used for datalogging.

Template Parameters
N# of phases
S# of temperature sensors

Definition at line 72 of file types.h.

Member Data Documentation

◆ power

template<uint8_t N = 3, uint8_t S = 0>
int16_t PayloadTx_struct< N, S >::power { 0 }

main power, import = +ve, to match OEM convention

Definition at line 75 of file types.h.

◆ power_L

template<uint8_t N = 3, uint8_t S = 0>
int16_t PayloadTx_struct< N, S >::power_L[N] {}

power for phase #, import = +ve, to match OEM convention

Definition at line 76 of file types.h.

◆ temperature_x100

template<uint8_t N = 3, uint8_t S = 0>
int16_t PayloadTx_struct< N, S >::temperature_x100[S] {}

temperature in 100th of °C

Definition at line 78 of file types.h.

◆ Vrms_L_x100

template<uint8_t N = 3, uint8_t S = 0>
uint16_t PayloadTx_struct< N, S >::Vrms_L_x100[N] {}

average voltage over datalogging period (in 100th of Volt)

Definition at line 77 of file types.h.


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