|
rusEFI
The most advanced open source ECU
|
#include <connector_uart_dma.h>


Public Member Functions | |
| UartDmaTsChannel (UARTDriver &uartDriver) | |
| void | start (uint32_t baud) override |
| size_t | readTimeout (uint8_t *buffer, size_t size, int timeout) override |
| void | copyDataFromDMA () |
Public Member Functions inherited from UartTsChannel | |
| UartTsChannel (UARTDriver &driver) | |
| void | start (uint32_t baud) override |
| void | stop () override |
| void | write (const uint8_t *buffer, size_t size, bool isEndOfPacket) override |
| size_t | readTimeout (uint8_t *buffer, size_t size, int timeout) override |
Public Member Functions inherited from SerialTsChannelBase | |
| SerialTsChannelBase (const char *p_name) | |
Public Member Functions inherited from TsChannelBase | |
| TsChannelBase (const char *name) | |
| virtual void | flush () |
| virtual bool | isConfigured () const |
| virtual bool | isReady () const |
| size_t | read (uint8_t *buffer, size_t size) |
| virtual void | writeCrcPacket (uint8_t responseCode, const uint8_t *buf, size_t size, bool allowLongPackets=false) |
| void | sendResponse (ts_response_format_e mode, const uint8_t *buffer, int size, bool allowLongPackets=false) |
| void | assertPacketSize (size_t size, bool allowLongPackets) |
| uint32_t | writePacketHeader (const uint8_t responseCode, const size_t size) |
| void | crcAndWriteBuffer (const uint8_t responseCode, const size_t size) |
| void | copyAndWriteSmallCrcPacket (uint8_t responseCode, const uint8_t *buf, size_t size) |
| void | writeCrcResponse (uint8_t responseCode) |
Private Attributes | |
| uint8_t | dmaBuffer [TS_DMA_BUFFER_SIZE] |
| volatile int | readPos |
| uint8_t | buffer [TS_FIFO_BUFFER_SIZE] |
| input_queue_t | fifoRxQueue |
Additional Inherited Members | |
Data Fields inherited from TsChannelBase | |
| int | bytesIn = 0 |
| int | bytesOut = 0 |
| char | scratchBuffer [scratchBuffer_SIZE+30] |
| page1_s | page1 |
| const char * | name |
| bool | in_sync = false |
Protected Attributes inherited from UartTsChannel | |
| UARTDriver *const | m_driver |
| UARTConfig | m_config |
Definition at line 19 of file connector_uart_dma.h.
| UartDmaTsChannel::UartDmaTsChannel | ( | UARTDriver & | uartDriver | ) |
Definition at line 45 of file connector_uart_dma.cpp.
| void UartDmaTsChannel::copyDataFromDMA | ( | ) |
Definition at line 13 of file connector_uart_dma.cpp.
Implements TsChannelBase.
Definition at line 76 of file connector_uart_dma.cpp.
|
overridevirtual |
Implements SerialTsChannelBase.
Definition at line 54 of file connector_uart_dma.cpp.

|
private |
Definition at line 37 of file connector_uart_dma.h.
Referenced by UartDmaTsChannel().
|
private |
Definition at line 33 of file connector_uart_dma.h.
Referenced by copyDataFromDMA(), and start().
|
private |
Definition at line 39 of file connector_uart_dma.h.
Referenced by copyDataFromDMA(), readTimeout(), and UartDmaTsChannel().
|
private |
Definition at line 35 of file connector_uart_dma.h.
Referenced by copyDataFromDMA(), and start().