![]() |
Kinetis SDK v.1.2 Demo Applications User's Guide
Rev. 0
Freescale Semiconductor, Inc.
|
#include <stdio.h>
#include "board.h"
#include "fsl_clock_manager.h"
#include "fsl_os_abstraction.h"
#include "fsl_dspi_slave_driver.h"
#include "fsl_debug_console.h"
Macros | |
#define | DSPI_SLAVE_INSTANCE |
#define | TRANSFER_SIZE |
#define | TRANSFER_BAUDRATE |
Functions | |
int | main (void) |
DSPI slave Polling. More... | |
Variables | |
uint8_t | receiveBuffer [TRANSFER_SIZE] |
#define DSPI_SLAVE_INSTANCE |
#define TRANSFER_BAUDRATE |
#define TRANSFER_SIZE |
int main | ( | void | ) |
Function prototype for main function.
This function sends back received buffer from master through DSPI interface.
receiveBuff | Buffer used to hold received data |
uint8_t receiveBuffer[TRANSFER_SIZE] |