minipix_uart_interface
A library and examples for the MiniPIX UART interface
|
#include <llcp.h>
Functions | |
uint8_t | llcp_hex2bin (const uint8_t *ptr) |
void | llcp_bin2hex (const uint8_t x, uint8_t *buffer) |
convert a single byte to hexadecimal More... | |
void | llcp_initialize (LLCP_Receiver_t *receiver) |
bool | llcp_processChar (const uint8_t char_in, LLCP_Receiver_t *receiver, LLCP_Message_t **message, bool *checksum_matched) |
uint16_t | llcp_prepareMessage (uint8_t *what, uint8_t len, uint8_t *buffer) |
void llcp_bin2hex | ( | const uint8_t | x, |
uint8_t * | buffer | ||
) |
convert a single byte to hexadecimal
x | the byte to convert |
buffer | pointer to a 2-char buffer for the result |
uint8_t llcp_hex2bin | ( | const uint8_t * | ptr | ) |
void llcp_initialize | ( | LLCP_Receiver_t * | receiver | ) |
uint16_t llcp_prepareMessage | ( | uint8_t * | what, |
uint8_t | len, | ||
uint8_t * | buffer | ||
) |
bool llcp_processChar | ( | const uint8_t | char_in, |
LLCP_Receiver_t * | receiver, | ||
LLCP_Message_t ** | message, | ||
bool * | checksum_matched | ||
) |