![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "ssp_18xx_43xx.h"
Go to the source code of this file.
Macros | |
#define | SSP_Write2BFifo(pSSP, xf_setup) |
#define | SSP_Write1BFifo(pSSP, xf_setup) |
#define | SSP_Read2BFifo(pSSP, xf_setup, rDat) |
#define | SSP_Read1BFifo(pSSP, xf_setup, rDat) |
Functions | |
uint32_t | Chip_SSP_RWFrames_Blocking (LPC_SSP_Type *pSSP, Chip_SSP_DATA_SETUP_Type *xf_setup) |
SSP Polling Read/Write in blocking mode. | |
uint32_t | Chip_SSP_WriteFrames_Blocking (LPC_SSP_Type *pSSP, uint8_t *buffer, uint32_t buffer_len) |
SSP Polling Write in blocking mode. | |
uint32_t | Chip_SSP_ReadFrames_Blocking (LPC_SSP_Type *pSSP, uint8_t *buffer, uint32_t buffer_len) |
Note here. | |
void | Chip_SSP_Int_FlushData (LPC_SSP_Type *pSSP) |
Clean all data in RX FIFO of SSP. | |
Status | Chip_SSP_Int_RWFrames8Bits (LPC_SSP_Type *pSSP, Chip_SSP_DATA_SETUP_Type *xf_setup) |
SSP Interrupt Read/Write with 8-bit frame width. | |
Status | Chip_SSP_Int_RWFrames16Bits (LPC_SSP_Type *pSSP, Chip_SSP_DATA_SETUP_Type *xf_setup) |
SSP Interrupt Read/Write with 16-bit frame width. | |
void | Chip_SSP_Set_Master (LPC_SSP_Type *pSSP, bool master) |
Set the SSP operating modes, master or slave. | |
void | Chip_SSP_Set_BitRate (LPC_SSP_Type *pSSP, uint32_t bit_rate) |
Set the clock frequency for SSP interface. | |
void | Chip_SSP_Set_Format (LPC_SSP_Type *pSSP, SSP_ConfigFormat *format) |
Set up the SSP frame format. | |
void | Chip_SSP_Int_Cmd (LPC_SSP_Type *pSSP, FunctionalState NewState) |
Enable/Disable SSP interrupt. | |
void | Chip_SSP_DMA_Cmd (LPC_SSP_Type *pSSP, FunctionalState NewState) |
Enable/Disable DMA. | |
void | Chip_SSP_Init (LPC_SSP_Type *pSSP) |
Initialize the SSP. | |
#define SSP_Read1BFifo | ( | pSSP, | |
xf_setup, | |||
rDat | |||
) |
SSP macro: read 2 bytes from FIFO buffer
Definition at line 65 of file ssp_18xx_43xx.c.
#define SSP_Read2BFifo | ( | pSSP, | |
xf_setup, | |||
rDat | |||
) |
SSP macro: read 1 bytes from FIFO buffer
Definition at line 54 of file ssp_18xx_43xx.c.
#define SSP_Write1BFifo | ( | pSSP, | |
xf_setup | |||
) |
SSP macro: write 1 bytes to FIFO buffer
Definition at line 46 of file ssp_18xx_43xx.c.
#define SSP_Write2BFifo | ( | pSSP, | |
xf_setup | |||
) |
SSP macro: write 2 bytes to FIFO buffer
Definition at line 38 of file ssp_18xx_43xx.c.