![]() |
ISSDK
1.7
IoT Sensing Software Development Kit
|
The comm_if_uart.c file implements comm interface for the UART. More...
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include "Driver_USART.h"
#include "comm_interface.h"
Go to the source code of this file.
Functions | |
int32_t | COMM_UART_GetCapabilities (comm_handle_t *pHandle) |
int32_t | COMM_UART_Init (comm_handle_t *pHandle, void *pCommInstance, COMM_Event_t event, void *pInitializeData) |
int32_t | COMM_UART_Config (comm_handle_t *pHandle, void *pConfigData) |
int32_t | COMM_UART_Send (comm_handle_t *pHandle, void *pData, uint32_t size) |
int32_t | COMM_UART_Receive (comm_handle_t *pHandle, void *pData, uint32_t size) |
int32_t | COMM_UART_GetStatus (comm_handle_t *pHandle) |
Variables | |
comm_interface_t | commUART |
The comm_if_uart.c file implements comm interface for the UART.
Definition in file comm_if_uart.c.
int32_t COMM_UART_Config | ( | comm_handle_t * | pHandle, |
void * | pConfigData | ||
) |
Definition at line 69 of file comm_if_uart.c.
References _comm_control_::arg, _comm_control_::control, and _comm_handle_::pComm.
int32_t COMM_UART_GetCapabilities | ( | comm_handle_t * | pHandle | ) |
Definition at line 54 of file comm_if_uart.c.
References COMM_INTERFACE_OK.
int32_t COMM_UART_GetStatus | ( | comm_handle_t * | pHandle | ) |
Definition at line 85 of file comm_if_uart.c.
References _comm_handle_::status.
int32_t COMM_UART_Init | ( | comm_handle_t * | pHandle, |
void * | pCommInstance, | ||
COMM_Event_t | event, | ||
void * | pInitializeData | ||
) |
Definition at line 60 of file comm_if_uart.c.
References COMM_INTERFACE_OK, and _comm_handle_::pComm.
int32_t COMM_UART_Receive | ( | comm_handle_t * | pHandle, |
void * | pData, | ||
uint32_t | size | ||
) |
Definition at line 80 of file comm_if_uart.c.
References _comm_handle_::pComm.
int32_t COMM_UART_Send | ( | comm_handle_t * | pHandle, |
void * | pData, | ||
uint32_t | size | ||
) |
Definition at line 75 of file comm_if_uart.c.
References _comm_handle_::pComm.
comm_interface_t commUART |
Definition at line 92 of file comm_if_uart.c.
Referenced by HOST_Initialize().