NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

SSP_DATA_SETUP_Type Struct Reference

SSP_DATA_SETUP_Type Struct Reference
[SSP_Public_Types]

SPI Data configuration structure definitions. More...

#include <lpc17xx_ssp.h>

Data Fields

void * tx_data
 Pointer to transmit data.
uint32_t tx_cnt
 Transmit counter.
void * rx_data
 Pointer to transmit data.
uint32_t rx_cnt
 Receive counter.
uint32_t length
 Length of transfer data.
uint32_t status
 Current status of SSP activity.
void(* callback )(void)
 Pointer to Call back function when transmission complete used in interrupt transfer mode.

Detailed Description

SPI Data configuration structure definitions.

Definition at line 235 of file lpc17xx_ssp.h.


Field Documentation

void(* callback)(void)

Pointer to Call back function when transmission complete used in interrupt transfer mode.

Definition at line 242 of file lpc17xx_ssp.h.

uint32_t length

Length of transfer data.

Definition at line 240 of file lpc17xx_ssp.h.

uint32_t rx_cnt

Receive counter.

Definition at line 239 of file lpc17xx_ssp.h.

void* rx_data

Pointer to transmit data.

Definition at line 238 of file lpc17xx_ssp.h.

uint32_t status

Current status of SSP activity.

Definition at line 241 of file lpc17xx_ssp.h.

uint32_t tx_cnt

Transmit counter.

Definition at line 237 of file lpc17xx_ssp.h.

void* tx_data

Pointer to transmit data.

Definition at line 236 of file lpc17xx_ssp.h.