C:/nxpdrv/LPC1700CMSIS/Drivers/source/lpc17xx_ssp.c File Reference
: Contains all functions support for SSP firmware library on LPC17xx More...
#include "lpc17xx_ssp.h"
#include "lpc17xx_clkpwr.h"
#include "lpc17xx_libcfg_default.h"
Go to the source code of this file.
Data Structures | |
struct | SSP_CFG_T |
SSP device configuration structure type. More... | |
Functions | |
void | SSP_IntHandler (LPC_SSP_TypeDef *SSPx) |
Standard Private SSP Interrupt handler. | |
void | SSP_SetClock (LPC_SSP_TypeDef *SSPx, uint32_t target_clock) |
Setup clock rate for SSP device. | |
void | SSP_DeInit (LPC_SSP_TypeDef *SSPx) |
De-initializes the SSPx peripheral registers to their default reset values. | |
void | SSP_Init (LPC_SSP_TypeDef *SSPx, SSP_CFG_Type *SSP_ConfigStruct) |
Initializes the SSPx peripheral according to the specified parameters in the SSP_ConfigStruct. | |
void | SSP_ConfigStructInit (SSP_CFG_Type *SSP_InitStruct) |
Fills each SSP_InitStruct member with its default value:
| |
void | SSP_Cmd (LPC_SSP_TypeDef *SSPx, FunctionalState NewState) |
Enable or disable SSP peripheral's operation. | |
void | SSP_LoopBackCmd (LPC_SSP_TypeDef *SSPx, FunctionalState NewState) |
Enable or disable Loop Back mode function in SSP peripheral. | |
void | SSP_SlaveOutputCmd (LPC_SSP_TypeDef *SSPx, FunctionalState NewState) |
Enable or disable Slave Output function in SSP peripheral. | |
void | SSP_SendData (LPC_SSP_TypeDef *SSPx, uint16_t Data) |
Transmit a single data through SSPx peripheral. | |
uint16_t | SSP_ReceiveData (LPC_SSP_TypeDef *SSPx) |
Receive a single data from SSPx peripheral. | |
int32_t | SSP_ReadWrite (LPC_SSP_TypeDef *SSPx, SSP_DATA_SETUP_Type *dataCfg, SSP_TRANSFER_Type xfType) |
SSP Read write data function. | |
FlagStatus | SSP_GetStatus (LPC_SSP_TypeDef *SSPx, uint32_t FlagType) |
Checks whether the specified SSP status flag is set or not. | |
void | SSP_IntConfig (LPC_SSP_TypeDef *SSPx, uint32_t IntType, FunctionalState NewState) |
Enable or disable specified interrupt type in SSP peripheral. | |
IntStatus | SSP_GetRawIntStatus (LPC_SSP_TypeDef *SSPx, uint32_t RawIntType) |
Check whether the specified Raw interrupt status flag is set or not. | |
IntStatus | SSP_GetIntStatus (LPC_SSP_TypeDef *SSPx, uint32_t IntType) |
Check whether the specified interrupt status flag is set or not. | |
void | SSP_ClearIntPending (LPC_SSP_TypeDef *SSPx, uint32_t IntType) |
Clear specified interrupt pending in SSP peripheral. | |
void | SSP_DMACmd (LPC_SSP_TypeDef *SSPx, uint32_t DMAMode, FunctionalState NewState) |
Enable/Disable DMA function for SSP peripheral. | |
void | SSP0_StdIntHandler (void) |
Standard SSP0 Interrupt handler. | |
void | SSP1_StdIntHandler (void) |
Standard SSP1 Interrupt handler. |
Detailed Description
: Contains all functions support for SSP firmware library on LPC17xx
- Version:
- : 1.0
- Date:
- : 9. April. 2009
- Author:
- : HieuNguyen
Definition in file lpc17xx_ssp.c.
Generated on Mon Feb 8 10:01:42 2010 for LPC1700CMSIS Standard Peripheral Firmware Library by 1.5.9