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

spi_polling_test.c File Reference

spi_polling_test.c File Reference

This example describes how to use SPI at mode SPI master/8bit on LPC1768 to communicate with SC16IS750/760 Demo board in polling mode More...

Go to the source code of this file.

Functions

void CS_Init (void)
 Initialize CS pin as GPIO function to drive /CS pin due to definition of CS_PORT_NUM and CS_PORT_NUM.
void CS_Force (int32_t state)
 Drive CS output pin to low/high level to select slave device via /CS pin state.
void print_menu (void)
 Print Welcome menu.
int c_entry (void)
 c_entry: Main SPI program body

Detailed Description

This example describes how to use SPI at mode SPI master/8bit on LPC1768 to communicate with SC16IS750/760 Demo board in polling 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 spi_polling_test.c.