Go to the documentation of this file.
8 #ifndef TOPOSENS_LINUX_UARTINTERFACE_H
10 #define TOPOSENS_LINUX_UARTINTERFACE_H
34 int WriteUARTPayload(uint8_t* Payload_pu8, uint8_t Length_u8, uint8_t InterfaceId_u8);
46 int SetupUARTPort(
char* InterfaceName_cp, uint32_t InterfaceBitrate_u32, uint8_t InterfaceId_u8);
65 uint8_t InterfaceId_u8));
68 #endif // TOPOSENS_LINUX_UARTINTERFACE_H
int DeinitUARTPort()
Called from the can-library, this function will close the socket and take care of ReceiverThread term...
int WriteUARTPayload(uint8_t *Payload_pu8, uint8_t Length_u8, uint8_t InterfaceId_u8)
Called to send messages to can socket.
int SetupUARTPort(char *InterfaceName_cp, uint32_t InterfaceBitrate_u32, uint8_t InterfaceId_u8)
Called from the library, this function will take care of all linux-related uart-setup,...
This file contains the highlevel interface prototypes to the low-level Protocol.
void RegisterUARTReadCallback(void(*Callback)(uint8_t *UARTMsg_pu8, uint16_t UARTMsgSize_u16, uint8_t InterfaceId_u8))
This function is called by the library to set a callback function for incoming can-traffic.
toposens-library
Author(s): Andrej Wallwitz, Thomas Böhm
, Sebastian Kruber
autogenerated on Wed Apr 27 2022 08:10:01