CHIPEMLIB

Detailed Description

Chip errata workarounds initialization API.

API to initialize chip for errata workarounds.

Functions

__STATIC_INLINE void CHIP_Init (void)
 Chip initialization routine for revision errata workarounds.
 

Function Documentation

__STATIC_INLINE void CHIP_Init ( void  )

Chip initialization routine for revision errata workarounds.

Note
This function must be called immediately in main().

This initialization function configures the device to a state as similar to later revisions as possible to improve software compatibility with newer parts. See the device-specific errata for details.

Definition at line 72 of file em_chip.h.

References _CMU_HFXOSTARTUPCTRL_IBTRIMXOCORE_MASK, _CMU_HFXOSTARTUPCTRL_IBTRIMXOCORE_SHIFT, _CMU_LFRCOCTRL_VREFUPDATE_MASK, _EMU_DCDCCLIMCTRL_BYPLIMEN_SHIFT, _GPIO_P_CTRL_RESETVALUE, _GPIO_P_CTRL_SLEWRATE_MASK, _GPIO_P_CTRL_SLEWRATE_SHIFT, _GPIO_P_CTRL_SLEWRATEALT_MASK, _GPIO_P_CTRL_SLEWRATEALT_SHIFT, BUS_RegBitWrite(), CMU, CMU_BASE, CMU_HFBUSCLKEN0_GPIO, CMU_HFBUSCLKEN0_LE, CMU_LFACLKEN0_LCD, CMU_LFRCOCTRL_ENVREF, CMU_LFRCOCTRL_VREFUPDATE_64CYCLES, EMU, EMU_BASE, GPIO, LCD_BASE, SYSTEM_ChipRevision_TypeDef::major, SYSTEM_ChipRevision_TypeDef::minor, MSC, MSC_CACHECMD_INVCACHE, SYSTEM_ChipRevisionGet(), and SYSTEM_GetProdRev().

Referenced by BSP_initDevice().