43#ifndef PTX_HAL_UART_H_
44#define PTX_HAL_UART_H_
256 uint8_t *txBuf[],
size_t txLen[],
size_t numBuffers,
257 uint8_t *rxBuf,
size_t *rxLen);
uint16_t ptxStatus_t
Status Type.
Definition ptx_Status.h:82
ptxStatus_t ptxHal_UartDTRManual(ptxHal_UART_t halUart, uint8_t enableDTR)
Set the state of the DTR line.
ptxStatus_t ptxHal_UartCancel(ptxHal_UART_t halUart)
Cancel a UART operation.
ptxStatus_t ptxHal_UartSetSpeed(ptxHal_UART_t halUart, uint32_t bdSpeed)
Set the speed attribute for the interface device.
ptxStatus_t ptxHal_UartSetFc(ptxHal_UART_t halUart, uint8_t enableFc)
(Re-) Initialize settings and modify Flow Control for the device.
ptxStatus_t ptxHal_UartTRx(ptxHal_UART_t halUart, uint8_t *txBuf[], size_t txLen[], size_t numBuffers, uint8_t *rxBuf, size_t *rxLen)
Exchange content of multiple buffers via the UART Interface, adding SOF if required.
ptxStatus_t ptxHal_UartClose(ptxHal_UART_t *halUart)
Close the UART device.
ptxStatus_t ptxHal_UartSetTimeout(ptxHal_UART_t halUart, uint32_t msTimeout)
Set the timeout attribute for the interface device.
struct ptxHal_UartInitParam ptxHal_UartInitParam_t
Input parameters to Open Uart Port.
struct ptxHal_UART * ptxHal_UART_t
UART specific data Wrapper Structure - Forward Declaration.
Definition ptxHal_UART.h:78
ptxStatus_t ptxHal_UartOpen(ptxHal_UART_t *halUart, ptxHal_UartInitParam_t *initPars)
Open the UART device.
ptxStatus_t ptxHal_UartClearCancel(ptxHal_UART_t halUart)
Clear Cancel cancel flag for UART operation.
ptxStatus_t ptxHal_UartAddSof(ptxHal_UART_t halUart, uint8_t addSof)
Select whether to add SOF to the frame, if NSC format requires that.
ptxStatus_t ptxHal_UartHandshakeManual(ptxHal_UART_t halUart, uint8_t enableHS)
Set the state of the handshake lines RTS and DTR.
ptxStatus_t ptxHal_UartDiscardData(ptxHal_UART_t halUart)
Discard data currently in the buffers of the UART device.
UART specific data and operational state.
Definition ptxHal_UART_Ext.h:106
Input parameters to Open Uart Port.
Definition ptxHal_UART.h:95
uint8_t * DevName
Definition ptxHal_UART.h:96
uint32_t ReadTimeout
Definition ptxHal_UART.h:101
uint32_t WriteTimeout
Definition ptxHal_UART.h:100
uint32_t ComSpeedInit
Definition ptxHal_UART.h:98
struct ptxLog * LOG
Definition ptxHal_UART.h:103
size_t DevNameLen
Definition ptxHal_UART.h:97
struct ptxOsal * OS
Definition ptxHal_UART.h:102
uint8_t UseHWFlowControl
Definition ptxHal_UART.h:99
Logger Component Structure.
Definition ptxLog.h:208