|
TR-mbed 1.0
|
#include <Jetson.h>
Classes | |
| struct | ReadState |
| struct | WriteState |
Public Member Functions | |
| Jetson (BufferedSerial &UARTJetson) | |
| Jetson (SPISlave &SPIJetson) | |
| Jetson::ReadState | read () |
| void | write (Jetson::WriteState &to_write) |
Static Public Member Functions | |
| static uint8_t | calculateLRC (const char *data, size_t length) |
| Jetson::Jetson | ( | BufferedSerial & | UARTJetson | ) |
| Jetson::Jetson | ( | SPISlave & | SPIJetson | ) |
|
static |
Performs a Longitudinal Redundancy Check
| data | the data to compute the checksum on |
| length | the length of data |
| Jetson::ReadState Jetson::read | ( | ) |
| void Jetson::write | ( | Jetson::WriteState & | to_write | ) |