These are the examples provided for [[/users/frank26080115/libraries/LPC1700CMSIS_Lib/]] Note, the entire "program" is not compilable!

Embed: (wiki syntax)

« Back to documentation index

ti_test.c File Reference

ti_test.c File Reference

This example describes how to use SPP using TI frame format (interrupt mode) More...

Go to the source code of this file.

Functions

void SSP0_IRQHandler (void)
 SSP0 Interrupt used for reading and writing handler.
void SSP1_IRQHandler (void)
 SSP1 Interrupt used for reading and writing handler.
void ssp_Master_IntHandler (void)
 SSP Master Interrupt sub-routine used for reading and writing handler.
void ssp_Slave_IntHandler (void)
 SSP Slave Interrupt sub-routine used for reading and writing handler.
int32_t ssp_MasterReadWrite (LPC_SSP_TypeDef *SSPx, void *rbuffer, void *wbuffer, uint32_t length)
 SSP Read write in polling mode function (Master mode)
int32_t ssp_SlaveReadWrite (LPC_SSP_TypeDef *SSPx, void *rbuffer, void *wbuffer, uint32_t length)
 SSP Read write in polling mode function (Slave mode)
void print_menu (void)
 Print Welcome menu.
void Buffer_Init (void)
 Initialize buffer.
void Buffer_Verify (void)
 Verify buffer.
void Error_Loop (void)
 Error Loop (called by Buffer_Verify() if any error)
int c_entry (void)
 c_entry: Main TI program body

Detailed Description

This example describes how to use SPP using TI frame format (interrupt mode)

Version:
2.0
Date:
21. May. 2010
Author:
NXP MCU SW Application Team --------------------------------------------------------------------- Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.

Definition in file ti_test.c.