Skip to content

File Dma_Fifo_Receive.cpp

FileList > Dma_Fifo_Receive > Dma_Fifo_Receive.cpp

Go to the source code of this file

  • #include "daisy_patch.h"

Public Attributes

Type Name
DaisyPatch hw
const size_t kUartBufferSize = 512
char receive_str
UartHandler uart
uint8_t uart_buffer

Public Functions

Type Name
int main (void)
void uartCallback (uint8_t * data, size_t size, void * context, UartHandler::Result res)

Public Attributes Documentation

variable hw

DaisyPatch hw;

variable kUartBufferSize

const size_t kUartBufferSize;

Consts


variable receive_str

char receive_str[kUartBufferSize];

variable uart

UartHandler uart;

variable uart_buffer

uint8_t uart_buffer[kUartBufferSize];

Public Functions Documentation

function main

int main (
    void
) 

function uartCallback

void uartCallback (
    uint8_t * data,
    size_t size,
    void * context,
    UartHandler::Result res
) 

Happens automatically whenever transaction completes



The documentation for this class was generated from the following file external-docs/libDaisy/examples/uart/Dma_Fifo_Receive/Dma_Fifo_Receive.cpp