the SPI packet class
More...
#include <scamp5c_spi.hpp>
|
uint32_t | GetPayloadSize () |
| get the size of the payload More...
|
|
uint8_t * | GetPayload () |
| get the pointer to the payload data More...
|
|
uint8_t | GetType () |
|
uint32_t | GetSerialNumber () |
|
packet_header * | GetHeader () |
|
|
uint32_t | sn |
|
double | time |
|
size_t | size |
|
uint8_t * | data |
|
packet_header * | header_ptr |
|
uint8_t * | payload_ptr |
|
uint32_t scamp5c_spi::packet::GetPayloadSize |
( |
| ) |
|
|
inline |
get the size of the payload
- Returns
- number of bytes
uint8_t* scamp5c_spi::packet::GetPayload |
( |
| ) |
|
|
inline |
get the pointer to the payload data
- Returns
- a pointer to the payload data
The documentation for this class was generated from the following file: