em_emu.h File Reference

Energy management unit (EMU) peripheral API. More...

#include "em_device.h"
#include <stdbool.h>
#include "em_bitband.h"
Include dependency graph for em_emu.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  EMU_EM23Init_TypeDef
struct  EMU_EM4Init_TypeDef

Defines

#define EMU_EM23INIT_DEFAULT   { false }
#define EMU_EM4INIT_DEFAULT

Enumerations

enum  EMU_EM23VregMode
enum  EMU_BODMode_TypeDef {
  emuBODMode_Active,
  emuBODMode_Inactive
}

Functions

__STATIC_INLINE void EMU_EnterEM1 (void)
 Enter energy mode 1 (EM1).
void EMU_EM23Init (EMU_EM23Init_TypeDef *em23Init)
void EMU_EM4Init (EMU_EM4Init_TypeDef *em4Init)
 Update EMU module with Energy Mode 4 configuration.
void EMU_EnterEM2 (bool restore)
 Enter energy mode 2 (EM2).
void EMU_EnterEM3 (bool restore)
 Enter energy mode 3 (EM3).
void EMU_EnterEM4 (void)
 Enter energy mode 4 (EM4).
void EMU_MemPwrDown (uint32_t blocks)
 Power down memory block.
void EMU_UpdateOscConfig (void)
 Update EMU module with CMU oscillator selection/enable status.
__STATIC_INLINE void EMU_Lock (void)
 Lock the EMU in order to protect all its registers against unintended modification.
__STATIC_INLINE void EMU_Unlock (void)
 Unlock the EMU so that writing to locked registers again is possible.
__STATIC_INLINE void EMU_EM2Block (void)
 Block entering EM2 or higher number energy modes.
__STATIC_INLINE void EMU_EM2UnBlock (void)
 Unblock entering EM2 or higher number energy modes.

Detailed Description

Energy management unit (EMU) peripheral API.

Version:
3.20.13

License

(C) Copyright 2014 Silicon Labs, http://www.silabs.com

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file em_emu.h.