Contiki-NG
sl_device_init_emu_config.h
Go to the documentation of this file.
1/***************************************************************************//**
2 * @file
3 * @brief DEVICE_INIT_EMU Config
4 *******************************************************************************
5 * # License
6 * <b>Copyright 2019 Silicon Laboratories Inc. www.silabs.com</b>
7 *******************************************************************************
8 *
9 * SPDX-License-Identifier: Zlib
10 *
11 * The licensor of this software is Silicon Laboratories Inc.
12 *
13 * This software is provided 'as-is', without any express or implied
14 * warranty. In no event will the authors be held liable for any damages
15 * arising from the use of this software.
16 *
17 * Permission is granted to anyone to use this software for any purpose,
18 * including commercial applications, and to alter it and redistribute it
19 * freely, subject to the following restrictions:
20 *
21 * 1. The origin of this software must not be misrepresented; you must not
22 * claim that you wrote the original software. If you use this software
23 * in a product, an acknowledgment in the product documentation would be
24 * appreciated but is not required.
25 * 2. Altered source versions must be plainly marked as such, and must not be
26 * misrepresented as being the original software.
27 * 3. This notice may not be removed or altered from any source distribution.
28 *
29 ******************************************************************************/
30
31#ifndef SL_DEVICE_INIT_EMU_CONFIG_H
32#define SL_DEVICE_INIT_EMU_CONFIG_H
33
34#include "em_emu.h"
35
36// <<< Use Configuration Wizard in Context Menu >>>
37
38// <o SL_DEVICE_INIT_EMU_EM4_VSCALE> EM4H Voltage scaling level
39// <emuVScaleEM4H_FastWakeup=> Fast-wakeup voltage level
40// <emuVScaleEM4H_LowPower=> Low-power optimized voltage level
41//<i> Default: emuVScaleEM4H_LowPower
42#define SL_DEVICE_INIT_EMU_EM4_VSCALE emuVScaleEM4H_LowPower
43
44// <q SL_DEVICE_INIT_EMU_EM4_RETAIN_LFXO> Retain LFXO in EM4
45#define SL_DEVICE_INIT_EMU_EM4_RETAIN_LFXO 0
46
47// <q SL_DEVICE_INIT_EMU_EM4_RETAIN_LFRCO> Retain LFRCO in EM4
48#define SL_DEVICE_INIT_EMU_EM4_RETAIN_LFRCO 0
49
50// <q SL_DEVICE_INIT_EMU_EM4_RETAIN_ULFRCO> Retain ULFRCO in EM4S
51#define SL_DEVICE_INIT_EMU_EM4_RETAIN_ULFRCO 0
52
53// <o SL_DEVICE_INIT_EMU_EM4_STATE> Hibernate or shutoff EM4 state
54// <emuEM4Shutoff=> EM4 Shutoff
55// <emuEM4Hibernate=> EM4 Hibernate
56// <i> Default: emuEM4Shutoff
57#define SL_DEVICE_INIT_EMU_EM4_STATE emuEM4Shutoff
58
59// <o SL_DEVICE_INIT_EMU_EM4_PIN_RETENTION_MODE> EM4 pin retention mode
60// <emuPinRetentionDisable=> No Retention: Pads enter reset state when entering EM4.
61// <emuPinRetentionEm4Exit=> Retention through EM4: Pads enter reset state when exiting EM4.
62// <emuPinRetentionLatch=> Retention through EM4 and wakeup.
63// <i> Default: emuPinRetentionDisable
64#define SL_DEVICE_INIT_EMU_EM4_PIN_RETENTION_MODE emuPinRetentionDisable
65
66// <<< end of configuration section >>>
67
68#endif // SL_DEVICE_INIT_EMU_CONFIG_H