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

The lpc55s16.c file defines GPIO pins and I2C CMSIS utilities for LPCXpresso55s16 board. More...

#include "lpc55s16.h"
Include dependency graph for lpc55s16.c:

Go to the source code of this file.

Functions

void BOARD_BootClockRUN (void)
 Kinetis style Wrapper API for handling all Clock related configurations. More...
 
status_t SMC_SetPowerModeWait (void *arg)
 Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility. More...
 
status_t SMC_SetPowerModeVlpr (void *arg)
 Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility. More...
 
uint32_t USART0_GetFreq (void)
 Determines the Clock Frequency feature. More...
 
uint32_t I2C4_GetFreq (void)
 Determines the Clock Frequency feature. More...
 
uint32_t SPI7_GetFreq (void)
 Determines the Clock Frequency feature. 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.c file defines GPIO pins and I2C CMSIS utilities for LPCXpresso55s16 board.

Definition in file lpc55s16.c.

Function Documentation

◆ BOARD_BootClockRUN()

void BOARD_BootClockRUN ( void  )

Kinetis style Wrapper API for handling all Clock related configurations.

This function executes configuration of clocks.

Parameters
void
Returns
void

Definition at line 86 of file lpc55s16.c.

◆ I2C4_GetFreq()

uint32_t I2C4_GetFreq ( void  )

Determines the Clock Frequency feature.

The Clock Frequecny computation API required by fsl_i2c_cmsis.c.

Parameters
[in]void
Constraints:
None
Reentrant: Yes
Returns
uint32_t Returns the clock frequency .

Definition at line 145 of file lpc55s16.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 119 of file lpc55s16.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 105 of file lpc55s16.c.

◆ SPI7_GetFreq()

uint32_t SPI7_GetFreq ( void  )

Determines the Clock Frequency feature.

The Clock Frequecny computation API required by fsl_spi_cmsis.c.

Parameters
[in]void
Constraints:
None
Reentrant: Yes
Returns
uint32_t Returns the clock frequency .

Definition at line 157 of file lpc55s16.c.

◆ USART0_GetFreq()

uint32_t USART0_GetFreq ( void  )

Determines the Clock Frequency feature.

The Clock Frequecny computation API required by fsl_uart_cmsis.c.

Parameters
[in]void
Constraints:
None
Reentrant: Yes
Returns
uint32_t Returns the clock frequency .

Definition at line 133 of file lpc55s16.c.

Variable Documentation

◆ BLUE_LED

gpioHandleKSDK_t BLUE_LED
Initial value:
= {.base = GPIO,
.pinNumber = 6,
.mask = 1 << (6),
.clockName = kCLOCK_Gpio1,
.portNumber = kGINT_Port1}

Definition at line 74 of file lpc55s16.c.

◆ D0

Initial value:
= {.base = GPIO,
.pinNumber = 29,
.mask = 1 << (29),
.clockName = kCLOCK_Gpio0,
.portNumber = kGINT_Port0}

Definition at line 51 of file lpc55s16.c.

◆ D1

Initial value:
= {.base = GPIO,
.pinNumber = 30,
.mask = 1 << (30),
.clockName = kCLOCK_Gpio0,
.portNumber = kGINT_Port0}

Definition at line 57 of file lpc55s16.c.

◆ D11

Initial value:
= {.base = GPIO,
.pinNumber = 20,
.mask = 1 << (20),
.clockName = kCLOCK_Gpio0,
.portNumber = kGINT_Port0}

Definition at line 31 of file lpc55s16.c.

◆ D12

Initial value:
= {.base = GPIO,
.pinNumber = 19,
.mask = 1 << (19),
.clockName = kCLOCK_Gpio0,
.portNumber = kGINT_Port0}

Definition at line 37 of file lpc55s16.c.

◆ D13

Initial value:
= {.base = GPIO,
.pinNumber = 21,
.mask = 1 << (21),
.clockName = kCLOCK_Gpio0,
.portNumber = kGINT_Port0}

Definition at line 43 of file lpc55s16.c.

◆ D14

Initial value:
= {.base = GPIO,
.pinNumber = 21,
.mask = 1 << (21),
.clockName = kCLOCK_Gpio1,
.portNumber = kGINT_Port1}

Definition at line 17 of file lpc55s16.c.

◆ D15

Initial value:
= {.base = GPIO,
.pinNumber = 20,
.mask = 1 << (20),
.clockName = kCLOCK_Gpio1,
.portNumber = kGINT_Port1}

Definition at line 23 of file lpc55s16.c.

◆ GREEN_LED

gpioHandleKSDK_t GREEN_LED
Initial value:
= {.base = GPIO,
.pinNumber = 7,
.mask = 1 << (7),
.clockName = kCLOCK_Gpio1,
.portNumber = kGINT_Port1}

Definition at line 69 of file lpc55s16.c.

◆ RED_LED

Initial value:
= {.base = GPIO,
.pinNumber = 4,
.mask = 1 << (4),
.clockName = kCLOCK_Gpio1,
.portNumber = kGINT_Port1}

Definition at line 64 of file lpc55s16.c.