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 _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_HFRCODPLLBandSet(), cmuHFRCODPLLFreq_19M0Hz, EMU, GPIO, HFXO0, HFXO_STATUS_ENS, SYSTEM_ChipRevision_TypeDef::major, SYSTEM_ChipRevision_TypeDef::minor, MSC, SYSTEM_ChipRevisionGet(), and SYSTEM_GetProdRev().

Referenced by BSP_initDevice().