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

Loading...
Searching...
No Matches
PBV_UART.h
1
2/*
3 * @file PBV_UART.h
4 * @author M70027
5 * @ingroup PBV_UART
6 * @brief Power Board Visualizer UART interface
7 */
8
9// This is a guard condition so that contents of this file are not included
10// more than once.
11#ifndef APP_PBV_UART_INTERFACE_H
12#define APP_PBV_UART_INTERFACE_H
13
14#include "PBV_interface.h"
15
16void PBV_UART_Init(PBV_Datatype_TX_t * boardToPBV, PBV_Datatype_TX_t * boardToPBVAscii, PBV_Datatype_RX_t *pbvToBoard);
17uint8_t PBV_UART_Receive_from_GUI();
18uint8_t PBV_UART_Transmit_to_GUI();
19uint8_t PBV_UART_Transmit_Ascii_to_GUI();
20void PBV_UART_Reinit(PBV_Datatype_TX_t * ptr);
21void PBV_UART_Link_Data_TX(PBV_Datatype_TX_t * ptr);
22void PBV_UART_Link_Data_RX(PBV_Datatype_RX_t * ptr);
23
24#endif
PBV_UART_Init
void PBV_UART_Init(PBV_Datatype_TX_t *boardToPBV, PBV_Datatype_TX_t *boardToPBVAscii, PBV_Datatype_RX_t *pbvToBoard)
initializes UART objects
Definition PBV_UART.c:165
PBV_UART_Reinit
void PBV_UART_Reinit(PBV_Datatype_TX_t *ptr)
reinitializes the UART object with new protocol id.
Definition PBV_UART.c:526
PBV_UART_Link_Data_RX
void PBV_UART_Link_Data_RX(PBV_Datatype_RX_t *ptr)
Links the data from received frame to the calling application
Definition PBV_UART.c:562
PBV_UART_Transmit_to_GUI
uint8_t PBV_UART_Transmit_to_GUI()
implements the state machine for UART numerical TX
Definition PBV_UART.c:423
PBV_UART_Transmit_Ascii_to_GUI
uint8_t PBV_UART_Transmit_Ascii_to_GUI()
implements the state machine for UART ascii TX
Definition PBV_UART.c:320
PBV_UART_Receive_from_GUI
uint8_t PBV_UART_Receive_from_GUI()
implements the state machine for UART Frame receiving from PBV.
Definition PBV_UART.c:189
PBV_UART_Link_Data_TX
void PBV_UART_Link_Data_TX(PBV_Datatype_TX_t *ptr)
links the data from the calling application to the UART TX object
Definition PBV_UART.c:541
PBV_Datatype_TX_t
Definition PBV_interface.h:75
PBV_Datatype_RX_t
Definition PBV_interface.h:89