![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include <stdio.h>
#include "board.h"
#include "fsl_edma_driver.h"
#include "fsl_os_abstraction.h"
#include "fsl_debug_console.h"
Macros | |
#define | BUFFER_SIZE |
#define | EDMA_TRANSFER_SIZE |
#define | EDMA_CHAIN_LENGTH |
#define | EDMA_WARTERMARK_LEVEL |
Functions | |
void | EDMA_Callback (void *param, edma_chn_status_t chanStatus) |
EDMA callback. More... | |
int | main (void) |
EDMA transfers form memory to memory. More... | |
Variables | |
uint8_t | srcAddr [BUFFER_SIZE] |
uint8_t | destAddr [BUFFER_SIZE] |
semaphore_t | sema |
#define BUFFER_SIZE |
#define EDMA_CHAIN_LENGTH |
#define EDMA_TRANSFER_SIZE |
#define EDMA_WARTERMARK_LEVEL |
void EDMA_Callback | ( | void * | param, |
edma_chn_status_t | chanStatus | ||
) |
int main | ( | void | ) |
Function prototype for main function.
This function use EDMA peripheral to transfer two buffers
receiveBuff | Buffer used to hold received data |
uint8_t destAddr[BUFFER_SIZE] |
semaphore_t sema |
uint8_t srcAddr[BUFFER_SIZE] |