#include <UARTCom.hpp>
|
static void | init (uint8_t *d) |
| initializes uart communication More...
|
|
static void | read (uint8_t *d) |
| reads uart interface and stores the data into an uint8_t array More...
|
|
static void | send (U_FrameType ft, uint8_t pll, U_Component c, uint8_t *pl) |
| assembles and sends a uart package More...
|
|
◆ init()
void UARTCom::init |
( |
uint8_t * |
d | ) |
|
|
static |
initializes uart communication
initializes UART communication
- Parameters
-
d | data package to be initialized |
d | data package |
◆ read()
void UARTCom::read |
( |
uint8_t * |
d | ) |
|
|
static |
reads uart interface and stores the data into an uint8_t array
reads incoming bytes from serial port
- Parameters
-
d | array to store the data into |
d | data package |
◆ send()
assembles and sends a uart package
sends data package
- Parameters
-
ft | frametype of message |
pll | payload length |
c | component |
pl | payload |
ft | frametype |
pll | payload length |
cp | component |
pl | payload |
◆ data
The documentation for this class was generated from the following files: