ISSDK  1.8
IoT Sensing Software Development Kit
Macros | Functions | Variables
lpc55s16.h File Reference

The lpc55s16.h file defines GPIO pin mappings for LPCXpresso55S16 board. More...

#include "pin_mux.h"
#include "fsl_power.h"
#include "RTE_Device.h"
#include "gpio_driver.h"
#include "clock_config.h"
Include dependency graph for lpc55s16.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PORT0   0
 
#define PORT1   1
 
#define I2C_S1_SCL_PIN   D15
 
#define I2C_S1_SDA_PIN   D14
 
#define I2C_S1_DRIVER   Driver_I2C4
 
#define I2C_S1_DEVICE_INDEX   I2C4_INDEX
 
#define I2C_S1_SIGNAL_EVENT   I2C4_SignalEvent_t
 
#define SPI_S_DRIVER   Driver_SPI7
 
#define SPI_S_BAUDRATE   500000U
 Transfer baudrate - 500k. More...
 
#define SPI_S_DEVICE_INDEX   SPI7_INDEX
 
#define SPI_S_SIGNAL_EVENT   SPI7_SignalEvent_t
 
#define HOST_S_DRIVER   Driver_USART0
 
#define HOST_S_SIGNAL_EVENT   HOST_SignalEvent_t
 
#define HOST_B_DRIVER   Driver_USART1
 
#define HOST_B_SIGNAL_EVENT   HOST_SignalEvent_t
 
#define ASK_USER_TO_RESUME(x)
 
#define SMC   NULL
 

Functions

status_t SMC_SetPowerModeWait (void *)
 Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility. More...
 
status_t SMC_SetPowerModeVlpr (void *)
 Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility. More...
 
void BOARD_BootClockRUN (void)
 This function executes configuration of clocks. More...
 

Variables

gpioHandleKSDK_t D14
 
gpioHandleKSDK_t D15
 
gpioHandleKSDK_t D11
 
gpioHandleKSDK_t D12
 
gpioHandleKSDK_t D13
 
gpioHandleKSDK_t D0
 
gpioHandleKSDK_t D1
 
gpioHandleKSDK_t RED_LED
 
gpioHandleKSDK_t GREEN_LED
 
gpioHandleKSDK_t BLUE_LED
 

Detailed Description

The lpc55s16.h file defines GPIO pin mappings for LPCXpresso55S16 board.

Definition in file lpc55s16.h.

Macro Definition Documentation

◆ ASK_USER_TO_RESUME

#define ASK_USER_TO_RESUME (   x)
Value:
static bool askResume = true; \
static uint16_t samplesToProcess = x - 1; \
if (askResume && !samplesToProcess--) \
{ \
PRINTF("\r\n Specified samples processed, press any key to continue... \r\n"); \
GETCHAR(); \
askResume = false; \
}

Definition at line 62 of file lpc55s16.h.

◆ HOST_B_DRIVER

#define HOST_B_DRIVER   Driver_USART1

Definition at line 58 of file lpc55s16.h.

◆ HOST_B_SIGNAL_EVENT

#define HOST_B_SIGNAL_EVENT   HOST_SignalEvent_t

Definition at line 59 of file lpc55s16.h.

◆ HOST_S_DRIVER

#define HOST_S_DRIVER   Driver_USART0

Definition at line 56 of file lpc55s16.h.

◆ HOST_S_SIGNAL_EVENT

#define HOST_S_SIGNAL_EVENT   HOST_SignalEvent_t

Definition at line 57 of file lpc55s16.h.

◆ I2C_S1_DEVICE_INDEX

#define I2C_S1_DEVICE_INDEX   I2C4_INDEX

Definition at line 46 of file lpc55s16.h.

◆ I2C_S1_DRIVER

#define I2C_S1_DRIVER   Driver_I2C4

Definition at line 45 of file lpc55s16.h.

◆ I2C_S1_SCL_PIN

#define I2C_S1_SCL_PIN   D15

Definition at line 43 of file lpc55s16.h.

◆ I2C_S1_SDA_PIN

#define I2C_S1_SDA_PIN   D14

Definition at line 44 of file lpc55s16.h.

◆ I2C_S1_SIGNAL_EVENT

#define I2C_S1_SIGNAL_EVENT   I2C4_SignalEvent_t

Definition at line 47 of file lpc55s16.h.

◆ PORT0

#define PORT0   0

Definition at line 21 of file lpc55s16.h.

◆ PORT1

#define PORT1   1

Definition at line 22 of file lpc55s16.h.

◆ SMC

#define SMC   NULL

Definition at line 73 of file lpc55s16.h.

◆ SPI_S_BAUDRATE

#define SPI_S_BAUDRATE   500000U

Transfer baudrate - 500k.

Definition at line 51 of file lpc55s16.h.

◆ SPI_S_DEVICE_INDEX

#define SPI_S_DEVICE_INDEX   SPI7_INDEX

Definition at line 52 of file lpc55s16.h.

◆ SPI_S_DRIVER

#define SPI_S_DRIVER   Driver_SPI7

Definition at line 50 of file lpc55s16.h.

◆ SPI_S_SIGNAL_EVENT

#define SPI_S_SIGNAL_EVENT   SPI7_SignalEvent_t

Definition at line 53 of file lpc55s16.h.

Function Documentation

◆ BOARD_BootClockRUN()

void BOARD_BootClockRUN ( void  )

This function executes configuration of clocks.

This function executes configuration of clocks.

Parameters
void
Returns
void

Definition at line 168 of file clock_config.c.

◆ SMC_SetPowerModeVlpr()

status_t SMC_SetPowerModeVlpr ( void *  arg)

Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility.

Parameters
Powerperipheral base address (dummy).
Returns
Configuration error code.

Definition at line 169 of file lpc54114.c.

◆ SMC_SetPowerModeWait()

status_t SMC_SetPowerModeWait ( void *  arg)

Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility.

Parameters
Powerperipheral base address (dummy).
Returns
Configuration error code.

Definition at line 155 of file lpc54114.c.

Variable Documentation

◆ BLUE_LED

gpioHandleKSDK_t BLUE_LED

Definition at line 195 of file frdm_k64f.c.

◆ D0

Definition at line 72 of file frdm_k64f.c.

◆ D1

Definition at line 79 of file frdm_k64f.c.

◆ D11

Definition at line 56 of file frdm_k64f.c.

◆ D12

Definition at line 63 of file frdm_k64f.c.

◆ D13

Definition at line 49 of file frdm_k64f.c.

◆ D14

Definition at line 24 of file frdm_k64f.c.

◆ D15

Definition at line 17 of file frdm_k64f.c.

◆ GREEN_LED

gpioHandleKSDK_t GREEN_LED

Definition at line 188 of file frdm_k64f.c.

◆ RED_LED

Definition at line 181 of file frdm_k64f.c.