ISSDK  1.8
IoT Sensing Software Development Kit
Functions
mekmimx8qm.c File Reference

The mekmimx8qm.c file defines wait power mode and clock frequency APIs for mekmimx8qm board. More...

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

Go to the source code of this file.

Functions

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 LPUART4_GetFreq (void)
 Get the clock frequency for LPUART4 module. More...
 
uint32_t LPI2C2_GetFreq (void)
 Get the clock frequency for LPI2C2 module. More...
 
uint32_t LPSPI2_GetFreq (void)
 Get the clock frequency for LPSPI2 module. More...
 

Detailed Description

The mekmimx8qm.c file defines wait power mode and clock frequency APIs for mekmimx8qm board.

Definition in file mekmimx8qm.c.

Function Documentation

◆ LPI2C2_GetFreq()

uint32_t LPI2C2_GetFreq ( void  )

Get the clock frequency for LPI2C2 module.

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 75 of file mekmimx8qm.c.

◆ LPSPI2_GetFreq()

uint32_t LPSPI2_GetFreq ( void  )

Get the clock frequency for LPSPI2 module.

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 88 of file mekmimx8qm.c.

◆ LPUART4_GetFreq()

uint32_t LPUART4_GetFreq ( void  )

Get the clock frequency for LPUART4 module.

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 62 of file mekmimx8qm.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 47 of file mekmimx8qm.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 32 of file mekmimx8qm.c.