EMLIB

Detailed Description

Low-level peripheral library.

EMLIB is a low-level peripheral support library that provides a unified API for all EFM32, EZR32 and EFR32 MCUs and SoCs from Silicon Laboratories.

EMLIB modules are provided for all peripherals and core features. The library implements no interrupt handlers. Static data, critical sections and module interdependencies are kept at a minimum.

Note
EMLIB functions assert on error if DEBUG_EFM is defined. See ASSERT for more information on error handling and default assertion and how to implement a custom handler.


Note
The RAIL library provides a generic interface for all Silicon Labs radio features. RAIL documentation is available from Simplicity Studio.

Modules

ASSERT
Error checking module.
BUS
BUS register and RAM bit/field read/write API.
CHIP
Chip errata workarounds initialization API.
COMMON
General purpose utilities and cross-compiler support.
CORE
Core interrupt handling API.
INT
Safe nesting of interrupt disable/enable API.
MPU
Memory Protection Unit (MPU) Peripheral API.
RAMFUNC
RAM code support.
SYSTEM
System API.
VERSION
Version API.

Macros

#define DEBUG_EFM
Included for documentation purposes only. This define is not present by default. DEBUG_EFM should be defined from the compiler to enable the default internal assert handler.