File main.cpp¶
FileList > DmaReceive-SerialEcho > main.cpp
Go to the source code of this file
#include "daisy_seed.h"
Public Attributes¶
| Type | Name |
|---|---|
| DaisySeed | hardware |
| const uint32_t | kUartBaudRate = 31250 |
| const size_t | kUartBufferSize = 256 |
| const auto | kUartPeripheral = UartHandler::Config::Peripheral::USART\_1 |
| const auto | kUartRxPin = seed::D14 |
| FIFO< uint8_t, kUartBufferSize > | tx_queue |
| uint8_t | uart_buffer |
Public Functions¶
| Type | Name |
|---|---|
| void | RxCallback (uint8_t * data, size_t size, void * context, UartHandler::Result res) |
| int | main () |
Public Attributes Documentation¶
variable hardware¶
Daisy hardware interface
variable kUartBaudRate¶
Baud rate for UART serial
variable kUartBufferSize¶
size of the Rx buffer in bytes
variable kUartPeripheral¶
UART Peripheral used
variable kUartRxPin¶
Pin used for Rx
variable tx_queue¶
Queue of bytes to transmit to the logger
variable uart_buffer¶
uart buffer
Public Functions Documentation¶
function RxCallback¶
Callback that fires whenever an IDLE interrupt occurs, or when the buffer is more than half full
function main¶
The documentation for this class was generated from the following file external-docs/libDaisy/examples/uart/DmaReceive-SerialEcho/main.cpp