|  | Dual Active Bridge Development Board (Part-No. ) |
Content |  |  |  |  |  |

Loading...
Searching...
No Matches
PBV_dab_frame_map.c
1
9#include <xc.h> // include processor files - each processor file is guarded.
10#include <stdint.h> // include standard integer data types
11
12#include <stdio.h>
13#include <string.h>
14//#include <stdlib.h>
15
16#include <stdbool.h> // include standard boolean data types
17#include <stddef.h> // include standard definition data types
18
19// MCC header files
20#include "system/pins.h"
21#include "device/device.h"
22
23// other header files
24#include "PBV_interface.h"
25#include "pwrctrl/pwrctrl_comm_interface.h"
26#include "fault/fault_comm_interface.h"
27#include "config/macros.h"
28#include "config/version.h"
29
30
34#define FIRMWARE_PROTOCOL_ID 0x1000
35#define PBV_TX_PROTOCOL_ID 0x404
36#define PBV_LOG_ID 0x300
37
38// command IDs, first data word in received package
39// use this to decide what action to take when data is received
40#define PBV_CMD_ID_DAB_ON 0x5501
41#define PBV_CMD_ID_DAB_OFF 0x5500
42#define PBV_CMD_ID_FREQ_CHANGE 0xBBBB
43#define PBV_CMD_ID_FAN_SPEED 0xCCCC
44
45#define PBV_CMD_ID_ILOOP_REF_SET 0xDDDD
46#define PBV_CMD_ID_VLOOP_REF_SET 0xDDDE
47#define PBV_CMD_ID_PLOOP_REF_SET 0xDDDF
48
49#define PBV_CMD_ID_PHASE_CHANGE 0xEE01
50#define PBV_CMD_ID_P2S_PHASE_TARGET 0xEE02
51
// end of pbv-protocol-ids
53
54// static because these are private.
55
56static PBV_Datatype_TX_t appPbvDabTx;
57static PBV_Datatype_RX_t appPbvDabRx;
58static PBV_Datatype_TX_t appPbvDabAscii;
59
60static PBV_Datatype_TX_t * appPbvDabTxPtr = &appPbvDabTx;
61static PBV_Datatype_RX_t * appPbvDabRxPtr = &appPbvDabRx;
62static PBV_Datatype_TX_t * appPbvDabAsciiPtr = &appPbvDabAscii;
63
64uint8_t bufferEightRx[64];
65uint16_t bufferSixteenRx[32];
66
67uint8_t bufferEightTx[64];
68uint16_t bufferSixteenTx[32];
69
70static uint8_t transmitFirmwareId = 1;
71
72
73
74
78void App_PBV_DAB_Build_Frame(void);
79void App_PBV_DAB_Process_Rx_Data(uint16_t * data);
80void protocolID(uint16_t protocol_ID, uint16_t length, uint8_t * data);
81
85
95 void App_PBV_DAB_Init()
96{
97 appPbvDabTxPtr->PBV_Protcol_ID = PBV_TX_PROTOCOL_ID;
98 appPbvDabTxPtr->PBV_Signal_Ascii = PBV_SIGNAL_MODE;
99 appPbvDabTxPtr->PBV_Message_State = PBV_MESSAGE_INIT;
100 appPbvDabTxPtr->Length = 64;
101
102 appPbvDabRxPtr->PBV_Message_State = PBV_MESSAGE_READY_TO_RECEIVE;
103
104 appPbvDabAsciiPtr->PBV_Protcol_ID = FIRMWARE_PROTOCOL_ID;
105 appPbvDabAsciiPtr->PBV_Signal_Ascii = PBV_ASCII_MODE;
106 appPbvDabAsciiPtr->PBV_Message_State = PBV_MESSAGE_INIT;
107 appPbvDabAsciiPtr->Length = 64;
108
109 App_PBV_Init(appPbvDabTxPtr, appPbvDabAsciiPtr, appPbvDabRxPtr);
110}
111
112
121 void App_PBV_DAB_Task_10ms(void)
122{
123 static uint32_t tickCounter = 0;
124 // RX handler
125 if (appPbvDabRxPtr->PBV_Message_State == PBV_MESSAGE_RECEIVED)
126 {
127 App_Read_Received_From_PBV(appPbvDabRxPtr);
128 protocolID(appPbvDabRxPtr->PBV_Protcol_ID, appPbvDabRxPtr->Length, appPbvDabRxPtr->Data_Buffer);
129
130 // msg read. Read another
131 App_Receive_From_PBV(appPbvDabRxPtr);
132 }
134 if (++tickCounter > 11)
135 {
136 App_PBV_DAB_Build_Frame();
137 App_Send_To_PBV(appPbvDabTxPtr);
138 tickCounter = 0;
139 }
140}
141
142
150 void App_PBV_DAB_Task_1s(void)
151{
152 static uint16_t OneSecCounter;//debug log print demo purpose. Sporadic Resets can be detected by checking this number
153 static uint8_t PBVBuffer[64<<1];//PBV msg buffer. Take care of 64B length boundary when creating messages.
154
155 for(uint16_t i=0; i<(64); i++) PBVBuffer[i]=0;//clear to 0 all 64 bytes
156
157 if (appPbvDabAsciiPtr->PBV_Protcol_ID == FIRMWARE_PROTOCOL_ID)
158 {
159 strcpy(&PBVBuffer[0], (uint8_t *)FIRMWARE_VERSION_STRING);
160 strcpy(&PBVBuffer[10], (uint8_t *)FIRMWARE_NAME);
161 appPbvDabAsciiPtr->Data_Buffer = &PBVBuffer[0];
162
163 App_Send_To_PBV(appPbvDabAsciiPtr);
164 appPbvDabAsciiPtr->PBV_Protcol_ID = PBV_LOG_ID;
165 transmitFirmwareId = 1;
166 return;
167 }
168
169 if (appPbvDabAsciiPtr->PBV_Protcol_ID == PBV_LOG_ID)
170 {
171 if (transmitFirmwareId) App_PBV_Re_Init(appPbvDabAsciiPtr);
172 transmitFirmwareId = 0;
173
174 if(OneSecCounter)
175 {
176 if(!(OneSecCounter%20))
177 {
178 // "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef";
179 sprintf(&PBVBuffer[0], "\rDAB board heat sink Temperature is %d degree Celsius ", Dev_Temp_Get_Temperature_Celcius() );
180 }
181 else
182 sprintf(&PBVBuffer[0], "\r Dual Active Bridge. 64B fixed length Log. MsgNo %d ", OneSecCounter);
183 }
184 else
185 {
186 sprintf(&PBVBuffer[0], "\r Dual Active Bridge. AFTER RESET SYSTEM STARTUP " );
187 }
188
189 appPbvDabAsciiPtr->Data_Buffer =&PBVBuffer[0];
190 App_Send_To_PBV(appPbvDabAsciiPtr);//64B fixed frame
191
192 OneSecCounter++;
193 }
194}
195
196
203 PBV_Datatype_TX_t * App_PB_DAB_Get_TX_ASCII_ptr(void)
204{
205 if (appPbvDabAsciiPtr ->PBV_Message_State == PBV_MESSAGE_TRANSMITTING)
206 {
207 return 0;
208 }
209 return appPbvDabAsciiPtr;
210}
211
212
216
224void App_PBV_DAB_Build_Frame()
225{
226 // Power Board Visualizer can only mask single bits
227 // so create maskable word that can be parsed by GUI by sending the
228 // "2 ^ (state)" instead of "state"
229 bufferSixteenTx[0] = 1<<(Dev_PwrCtrl_Get_State());
230
231 // send back one "flag word" which combines fault and status and enable control flag
232 uint16_t enabled = Dev_PwrCtrl_Get_EnableFlag();
233 uint16_t fault_flags = Fault_GetFlags();
234 uint16_t status_flags = Dev_PwrCtrl_Get_Status();
235 uint16_t flag_word = enabled + ((status_flags & 0x0003)<<1) + (fault_flags<<3);
236
237 bufferSixteenTx[1] = flag_word;
238 bufferSixteenTx[2] = Dev_PwrCtrl_GetAveraging_Vprim();
239 bufferSixteenTx[3] = Dev_PwrCtrl_GetAveraging_Vsec();
240 bufferSixteenTx[4] = PwrCtrl_GetAdc_Ipri_ct();
241 bufferSixteenTx[5] = PwrCtrl_GetAdc_Isec_ct();
242 bufferSixteenTx[6] = Dev_PwrCtrl_GetAveraging_Isec();
243 bufferSixteenTx[7] = (uint16_t)(TEMPERATURE_PBV_OFFSET_CELSIUS + (int16_t)Dev_Temp_Get_Temperature_Celcius());
244 bufferSixteenTx[8] = PwrCtrl_GetAdc_Vrail_5V();
245 bufferSixteenTx[9] = PwrCtrl_GetPhase_P2SDegree();
246 bufferSixteenTx[10] = 0;//devFanDataPtr->CurrentSpeedPercent;
247 bufferSixteenTx[11] = 0;//(uint16_t)(TEMPERATURE_PBV_OFFSET_CELSIUS + (int16_t)Dev_Temp_Get_Temperature_Celcius());
248 bufferSixteenTx[12] = Dev_PwrCtrl_Get_Period();
249 bufferSixteenTx[13] = Dev_PwrCtrl_Get_PwmprdTarget();
250 bufferSixteenTx[14] = Dev_PwrCtrl_Get_SecPower();
251
252 PBV_Change_from_Sixteen_to_Eight(bufferSixteenTx, bufferEightTx, 18);
253
254 appPbvDabTxPtr->Data_Buffer = bufferEightTx;
255 appPbvDabTxPtr->Length = 18 * 2 ;
256}
257
258
259
266 void App_PBV_DAB_Process_Rx_Data(uint16_t * data)
267{
268 uint16_t cmd_id = data[0];
269 uint16_t control_word = data[1];
270 switch (cmd_id)
271 {
272 case PBV_CMD_ID_DAB_ON: {
273 PwrCtrl_SetEnable(true);
274 break;
275 }
276 case PBV_CMD_ID_DAB_OFF: {
277 PwrCtrl_SetEnable(false);
278 Dev_PwrCtrl_SetState(0);
279 break;
280 }
281 case PBV_CMD_ID_FREQ_CHANGE: {
282 // change target frequency
283 if ((control_word <= MAX_PWM_PERIOD) && (control_word >= MIN_PWM_PERIOD)) {
284 PwrCtrl_SetPeriodTarget(control_word);
285 // when Frequency is changed, control phase will be zero
286 uint16_t controlPhase = 0;
287 PwrCtrl_SetPhaseTarget(controlPhase);
288 }
289 break;
290 }
291 case PBV_CMD_ID_ILOOP_REF_SET: {
292 if (control_word < 32767) //TODO: put in proper check here!
293 {
294 PwrCtrl_SetIReference(control_word);
295 }
296 break;
297 }
298 case PBV_CMD_ID_VLOOP_REF_SET: {
299 if (control_word < 32767) //TODO: put in proper check here!
300 {
301 PwrCtrl_SetVSecReference(control_word);
302 }
303 break;
304 }
305
306 case PBV_CMD_ID_PLOOP_REF_SET: {
307 if (control_word < 32767) //TODO: put in proper check here!
308 {
309 PwrCtrl_SetPwrReference(control_word);
310 }
311 break;
312 }
313
314 case PBV_CMD_ID_P2S_PHASE_TARGET: {
315 // change target phase
316 #if(OPEN_LOOP_PBV == false)
317 uint16_t controlPhase = (uint16_t)(control_word);
318 PwrCtrl_SetP2SPhaseTarget(controlPhase);
319 #endif
320 break;
321 }
322
323 case PBV_CMD_ID_PHASE_CHANGE: {
324 // change target phase
325 #if(OPEN_LOOP_PBV == true)
326 uint16_t controlPhase = (uint16_t)((control_word)* PHASE_180_SCALER * (Dev_PwrCtrl_Get_DutyCycle()));
327 PwrCtrl_SetPhaseTarget(controlPhase);
328 #endif
329 break;
330 }
331 case PBV_CMD_ID_FAN_SPEED: {
332 Dev_Fan_Set_Speed(control_word);
333 break;
334 }
335
336 default:
337 break;
338 }
339}
340
341
350 void protocolID(uint16_t protocol_ID, uint16_t length, uint8_t * data)
351{
352 PBV_Change_from_Eight_to_Sixteen(data, bufferSixteenRx, length);
353 App_PBV_DAB_Process_Rx_Data(bufferSixteenRx);
354}
355
356
357
device.h
Contains h files that are part of device layer.
Fault_GetFlags
uint16_t Fault_GetFlags(void)
Definition fault_comm_interface.c:28
fault_comm_interface.h
Contains API functions for fault protection.
pwrctrl_comm_interface.h
Contains public functions relevant for power control communication interface.
MAX_PWM_PERIOD
#define MAX_PWM_PERIOD
This sets the switching period of the converter.
Definition macros.h:40
MIN_PWM_PERIOD
#define MIN_PWM_PERIOD
This sets the switching period of the converter.
Definition macros.h:41
TEMPERATURE_PBV_OFFSET_CELSIUS
#define TEMPERATURE_PBV_OFFSET_CELSIUS
To allow the PBV to support up to -40C, an offset was added.
Definition config.h:166
PBV_Change_from_Sixteen_to_Eight
void PBV_Change_from_Sixteen_to_Eight(uint16_t *sixteenPtr, uint8_t *eightPtr, uint16_t length)
This function changes 16 bit data to 8 bit data.
Definition PBV_interface.c:46
App_PBV_Init
void App_PBV_Init(PBV_Datatype_TX_t *boardToPbv, PBV_Datatype_TX_t *boardToPpvAscii, PBV_Datatype_RX_t *pbvToBoard)
Initializes the PBV init, by linking the application object pointers from the application to CAN or U...
Definition PBV_interface.c:103
App_Send_To_PBV
void App_Send_To_PBV(PBV_Datatype_TX_t *ptr)
This function links the data from application object to the CAN or UART object and This function ch...
Definition PBV_interface.c:158
App_Read_Received_From_PBV
int App_Read_Received_From_PBV(PBV_Datatype_RX_t *ptr)
This function links the data received by CAN or UART objects to the application object.
Definition PBV_interface.c:182
App_PBV_Re_Init
void App_PBV_Re_Init(PBV_Datatype_TX_t *ptr)
Reinitializes the objects if any parameters( ID, length, etc) are to be changed to the CAN or UART ob...
Definition PBV_interface.c:122
App_Receive_From_PBV
void App_Receive_From_PBV(PBV_Datatype_RX_t *ptr)
This function changes the state of the application object. this acts as a trigger for the periodic ta...
Definition PBV_interface.c:139
PBV_Change_from_Eight_to_Sixteen
void PBV_Change_from_Eight_to_Sixteen(uint8_t *eightPtr, uint16_t *sixteenPtr, uint16_t length)
This function changes 8 bit data to sixteen bit data.
Definition PBV_interface.c:64
PBV_MESSAGE_READY_TO_RECEIVE
@ PBV_MESSAGE_READY_TO_RECEIVE
Message Reception triggered.
Definition PBV_interface.h:52
PBV_MESSAGE_RECEIVED
@ PBV_MESSAGE_RECEIVED
Message Received.
Definition PBV_interface.h:51
PBV_ASCII_MODE
@ PBV_ASCII_MODE
Object will transmit Ascii data.
Definition PBV_interface.h:24
PBV_SIGNAL_MODE
@ PBV_SIGNAL_MODE
Object will transmit/receive signals.
Definition PBV_interface.h:23
PBV_MESSAGE_INIT
@ PBV_MESSAGE_INIT
Init State. Only Send Messages in this State
Definition PBV_interface.h:36
PBV_MESSAGE_TRANSMITTING
@ PBV_MESSAGE_TRANSMITTING
Transmitting Message.
Definition PBV_interface.h:38
App_PBV_DAB_Init
void App_PBV_DAB_Init()
This function initializes the local pbv objects. these objects are then passed on to the app_PBV_init...
Definition PBV_dab_frame_map.c:95
PBV_CMD_ID_FAN_SPEED
#define PBV_CMD_ID_FAN_SPEED
set fan speed
Definition PBV_dab_frame_map.c:43
PBV_CMD_ID_PLOOP_REF_SET
#define PBV_CMD_ID_PLOOP_REF_SET
set voltage loop reference
Definition PBV_dab_frame_map.c:47
PBV_LOG_ID
#define PBV_LOG_ID
ID on which log data is sent.
Definition PBV_dab_frame_map.c:36
PBV_CMD_ID_PHASE_CHANGE
#define PBV_CMD_ID_PHASE_CHANGE
set control phase
Definition PBV_dab_frame_map.c:49
App_PBV_DAB_Task_10ms
void App_PBV_DAB_Task_10ms(void)
10ms PBV task to be execution
Definition PBV_dab_frame_map.c:121
PBV_CMD_ID_DAB_ON
#define PBV_CMD_ID_DAB_ON
turn DAB on
Definition PBV_dab_frame_map.c:40
FIRMWARE_PROTOCOL_ID
#define FIRMWARE_PROTOCOL_ID
Firmware ID.
Definition PBV_dab_frame_map.c:34
PBV_TX_PROTOCOL_ID
#define PBV_TX_PROTOCOL_ID
ID on which data is transmitted by dsPIC33.
Definition PBV_dab_frame_map.c:35
App_PB_DAB_Get_TX_ASCII_ptr
PBV_Datatype_TX_t * App_PB_DAB_Get_TX_ASCII_ptr(void)
This function can be used to send log messages from other files.
Definition PBV_dab_frame_map.c:203
PBV_CMD_ID_VLOOP_REF_SET
#define PBV_CMD_ID_VLOOP_REF_SET
set voltage loop reference
Definition PBV_dab_frame_map.c:46
PBV_CMD_ID_P2S_PHASE_TARGET
#define PBV_CMD_ID_P2S_PHASE_TARGET
set control phase
Definition PBV_dab_frame_map.c:50
PBV_CMD_ID_DAB_OFF
#define PBV_CMD_ID_DAB_OFF
turn DAB off
Definition PBV_dab_frame_map.c:41
PBV_CMD_ID_FREQ_CHANGE
#define PBV_CMD_ID_FREQ_CHANGE
change DAB switching frequency
Definition PBV_dab_frame_map.c:42
App_PBV_DAB_Task_1s
void App_PBV_DAB_Task_1s(void)
1 second PBV task to be execution
Definition PBV_dab_frame_map.c:150
PBV_CMD_ID_ILOOP_REF_SET
#define PBV_CMD_ID_ILOOP_REF_SET
set current loop reference
Definition PBV_dab_frame_map.c:45
protocolID
void protocolID(uint16_t protocol_ID, uint16_t length, uint8_t *data)
default callback
Definition PBV_dab_frame_map.c:350
App_PBV_DAB_Process_Rx_Data
void App_PBV_DAB_Process_Rx_Data(uint16_t *data)
process received data
Definition PBV_dab_frame_map.c:266
Dev_Fan_Set_Speed
void Dev_Fan_Set_Speed(uint8_t target_speed_percent)
Sets the fan speed.
Definition dev_fan.c:159
Dev_Temp_Get_Temperature_Celcius
int8_t Dev_Temp_Get_Temperature_Celcius(void)
This converts the raw values to temperature celcius as per device lookup table.
Definition dev_temp.c:87
PwrCtrl_SetEnable
void PwrCtrl_SetEnable(bool enable)
API function to set the power control enable bit.
Definition pwrctrl_comm_interface.c:97
Dev_PwrCtrl_Get_State
uint16_t Dev_PwrCtrl_Get_State(void)
API function to get the current state of the state machine.
Definition pwrctrl_comm_interface.c:178
Dev_PwrCtrl_GetAveraging_Isec
uint16_t Dev_PwrCtrl_GetAveraging_Isec(void)
API function to get the average value of the sampled ADC for secondary current.
Definition pwrctrl_comm_interface.c:247
Dev_PwrCtrl_GetAveraging_Vsec
uint16_t Dev_PwrCtrl_GetAveraging_Vsec(void)
API function to get the average value of the sampled ADC for secondary voltage.
Definition pwrctrl_comm_interface.c:237
PwrCtrl_SetPwrReference
void PwrCtrl_SetPwrReference(uint16_t reference)
API function to set the power controller reference.
Definition pwrctrl_comm_interface.c:58
PwrCtrl_GetPhase_P2SDegree
uint16_t PwrCtrl_GetPhase_P2SDegree(void)
API function to set the power control State.
Definition pwrctrl_comm_interface.c:18
PwrCtrl_GetAdc_Ipri_ct
uint16_t PwrCtrl_GetAdc_Ipri_ct(void)
API function to get the raw ADC value for primary current transformer current.
Definition pwrctrl_comm_interface.c:108
Dev_PwrCtrl_Get_Period
uint16_t Dev_PwrCtrl_Get_Period(void)
API function to get the PWM period.
Definition pwrctrl_comm_interface.c:158
Dev_PwrCtrl_GetAveraging_Vprim
uint16_t Dev_PwrCtrl_GetAveraging_Vprim(void)
API function to get the average value of the sampled ADC for primary voltage.
Definition pwrctrl_comm_interface.c:228
PwrCtrl_SetIReference
void PwrCtrl_SetIReference(uint16_t reference)
API function to set the current controller reference.
Definition pwrctrl_comm_interface.c:38
PwrCtrl_SetPeriodTarget
void PwrCtrl_SetPeriodTarget(uint16_t reference)
API function to set the target period.
Definition pwrctrl_comm_interface.c:68
Dev_PwrCtrl_Get_EnableFlag
uint16_t Dev_PwrCtrl_Get_EnableFlag(void)
API function to get the state of the power control enable bit.
Definition pwrctrl_comm_interface.c:199
PwrCtrl_SetP2SPhaseTarget
void PwrCtrl_SetP2SPhaseTarget(uint16_t reference)
API function to set the target prim to sec phase which will steer other modulation.
Definition pwrctrl_comm_interface.c:87
PwrCtrl_SetVSecReference
void PwrCtrl_SetVSecReference(uint16_t reference)
API function to set the secondary voltage controller reference.
Definition pwrctrl_comm_interface.c:48
Dev_PwrCtrl_Get_Status
uint16_t Dev_PwrCtrl_Get_Status(void)
API function to get the power control status.
Definition pwrctrl_comm_interface.c:188
PwrCtrl_GetAdc_Isec_ct
uint16_t PwrCtrl_GetAdc_Isec_ct(void)
API function to get the raw ADC value for secondary current transformer current.
Definition pwrctrl_comm_interface.c:118
Dev_PwrCtrl_Get_DutyCycle
uint16_t Dev_PwrCtrl_Get_DutyCycle(void)
API function to get the PWM duty cycle.
Definition pwrctrl_comm_interface.c:168
Dev_PwrCtrl_Get_PwmprdTarget
uint16_t Dev_PwrCtrl_Get_PwmprdTarget(void)
API function to get the PWM period target.
Definition pwrctrl_comm_interface.c:209
Dev_PwrCtrl_SetState
void Dev_PwrCtrl_SetState(uint16_t reference)
API function to set the power control State.
Definition pwrctrl_comm_interface.c:28
PwrCtrl_SetPhaseTarget
void PwrCtrl_SetPhaseTarget(uint16_t reference)
API function to set the target PWM phase.
Definition pwrctrl_comm_interface.c:78
PwrCtrl_GetAdc_Vrail_5V
uint16_t PwrCtrl_GetAdc_Vrail_5V(void)
API function to get the raw ADC value for 5V rail.
Definition pwrctrl_comm_interface.c:148
Dev_PwrCtrl_Get_SecPower
uint16_t Dev_PwrCtrl_Get_SecPower(void)
API function to get the secondary power.
Definition pwrctrl_comm_interface.c:219
PBV_Datatype_TX_t
Definition PBV_interface.h:75
PBV_Datatype_TX_t::PBV_Protcol_ID
uint32_t PBV_Protcol_ID
Protocol ID.
Definition PBV_interface.h:77
PBV_Datatype_TX_t::Data_Buffer
uint8_t * Data_Buffer
Pointer to the data to be transmitted.
Definition PBV_interface.h:80
PBV_Datatype_TX_t::PBV_Signal_Ascii
enum PBV_SIGNAL_ASCII_MODE PBV_Signal_Ascii
Object will transmit Signals or ASCII.
Definition PBV_interface.h:78
PBV_Datatype_TX_t::PBV_Message_State
PBV_MESSAGE_TX_STATE_t PBV_Message_State
State of the TX object.
Definition PBV_interface.h:79
PBV_Datatype_TX_t::Length
uint16_t Length
Length of transmitted message in Bytes.
Definition PBV_interface.h:76
PBV_Datatype_RX_t
Definition PBV_interface.h:89
PBV_Datatype_RX_t::PBV_Protcol_ID
uint32_t PBV_Protcol_ID
Protocol ID of the received message.
Definition PBV_interface.h:91
PBV_Datatype_RX_t::PBV_Message_State
PBV_MESSAGE_RX_STATE_t PBV_Message_State
State of the received message.
Definition PBV_interface.h:93
PBV_Datatype_RX_t::Data_Buffer
uint8_t * Data_Buffer
Received Data pointer.
Definition PBV_interface.h:94
PBV_Datatype_RX_t::Length
uint16_t Length
Length of received message in Bytes.
Definition PBV_interface.h:90