EFR32 Mighty Gecko 1 Software Documentation
efr32mg1-doc-5.1.2
Main Page
Modules
Files
Documentation Home
silabs.com
File List
efr32mg1p_cryotimer.h
Go to the documentation of this file.
1
/**************************************************************************/
32
/**************************************************************************/
36
/**************************************************************************/
41
typedef
struct
42
{
43
__IOM uint32_t
CTRL
;
44
__IOM uint32_t
PERIODSEL
;
45
__IM uint32_t
CNT
;
46
__IOM uint32_t
EM4WUEN
;
47
__IM uint32_t
IF
;
48
__IOM uint32_t
IFS
;
49
__IOM uint32_t
IFC
;
50
__IOM uint32_t
IEN
;
51
}
CRYOTIMER_TypeDef
;
53
/**************************************************************************/
58
/* Bit fields for CRYOTIMER CTRL */
59
#define _CRYOTIMER_CTRL_RESETVALUE 0x00000000UL
60
#define _CRYOTIMER_CTRL_MASK 0x000000EFUL
61
#define CRYOTIMER_CTRL_EN (0x1UL << 0)
62
#define _CRYOTIMER_CTRL_EN_SHIFT 0
63
#define _CRYOTIMER_CTRL_EN_MASK 0x1UL
64
#define _CRYOTIMER_CTRL_EN_DEFAULT 0x00000000UL
65
#define CRYOTIMER_CTRL_EN_DEFAULT (_CRYOTIMER_CTRL_EN_DEFAULT << 0)
66
#define CRYOTIMER_CTRL_DEBUGRUN (0x1UL << 1)
67
#define _CRYOTIMER_CTRL_DEBUGRUN_SHIFT 1
68
#define _CRYOTIMER_CTRL_DEBUGRUN_MASK 0x2UL
69
#define _CRYOTIMER_CTRL_DEBUGRUN_DEFAULT 0x00000000UL
70
#define CRYOTIMER_CTRL_DEBUGRUN_DEFAULT (_CRYOTIMER_CTRL_DEBUGRUN_DEFAULT << 1)
71
#define _CRYOTIMER_CTRL_OSCSEL_SHIFT 2
72
#define _CRYOTIMER_CTRL_OSCSEL_MASK 0xCUL
73
#define _CRYOTIMER_CTRL_OSCSEL_DEFAULT 0x00000000UL
74
#define _CRYOTIMER_CTRL_OSCSEL_LFRCO 0x00000000UL
75
#define _CRYOTIMER_CTRL_OSCSEL_LFXO 0x00000001UL
76
#define _CRYOTIMER_CTRL_OSCSEL_ULFRCO 0x00000002UL
77
#define CRYOTIMER_CTRL_OSCSEL_DEFAULT (_CRYOTIMER_CTRL_OSCSEL_DEFAULT << 2)
78
#define CRYOTIMER_CTRL_OSCSEL_LFRCO (_CRYOTIMER_CTRL_OSCSEL_LFRCO << 2)
79
#define CRYOTIMER_CTRL_OSCSEL_LFXO (_CRYOTIMER_CTRL_OSCSEL_LFXO << 2)
80
#define CRYOTIMER_CTRL_OSCSEL_ULFRCO (_CRYOTIMER_CTRL_OSCSEL_ULFRCO << 2)
81
#define _CRYOTIMER_CTRL_PRESC_SHIFT 5
82
#define _CRYOTIMER_CTRL_PRESC_MASK 0xE0UL
83
#define _CRYOTIMER_CTRL_PRESC_DEFAULT 0x00000000UL
84
#define _CRYOTIMER_CTRL_PRESC_DIV1 0x00000000UL
85
#define _CRYOTIMER_CTRL_PRESC_DIV2 0x00000001UL
86
#define _CRYOTIMER_CTRL_PRESC_DIV4 0x00000002UL
87
#define _CRYOTIMER_CTRL_PRESC_DIV8 0x00000003UL
88
#define _CRYOTIMER_CTRL_PRESC_DIV16 0x00000004UL
89
#define _CRYOTIMER_CTRL_PRESC_DIV32 0x00000005UL
90
#define _CRYOTIMER_CTRL_PRESC_DIV64 0x00000006UL
91
#define _CRYOTIMER_CTRL_PRESC_DIV128 0x00000007UL
92
#define CRYOTIMER_CTRL_PRESC_DEFAULT (_CRYOTIMER_CTRL_PRESC_DEFAULT << 5)
93
#define CRYOTIMER_CTRL_PRESC_DIV1 (_CRYOTIMER_CTRL_PRESC_DIV1 << 5)
94
#define CRYOTIMER_CTRL_PRESC_DIV2 (_CRYOTIMER_CTRL_PRESC_DIV2 << 5)
95
#define CRYOTIMER_CTRL_PRESC_DIV4 (_CRYOTIMER_CTRL_PRESC_DIV4 << 5)
96
#define CRYOTIMER_CTRL_PRESC_DIV8 (_CRYOTIMER_CTRL_PRESC_DIV8 << 5)
97
#define CRYOTIMER_CTRL_PRESC_DIV16 (_CRYOTIMER_CTRL_PRESC_DIV16 << 5)
98
#define CRYOTIMER_CTRL_PRESC_DIV32 (_CRYOTIMER_CTRL_PRESC_DIV32 << 5)
99
#define CRYOTIMER_CTRL_PRESC_DIV64 (_CRYOTIMER_CTRL_PRESC_DIV64 << 5)
100
#define CRYOTIMER_CTRL_PRESC_DIV128 (_CRYOTIMER_CTRL_PRESC_DIV128 << 5)
102
/* Bit fields for CRYOTIMER PERIODSEL */
103
#define _CRYOTIMER_PERIODSEL_RESETVALUE 0x00000020UL
104
#define _CRYOTIMER_PERIODSEL_MASK 0x0000003FUL
105
#define _CRYOTIMER_PERIODSEL_PERIODSEL_SHIFT 0
106
#define _CRYOTIMER_PERIODSEL_PERIODSEL_MASK 0x3FUL
107
#define _CRYOTIMER_PERIODSEL_PERIODSEL_DEFAULT 0x00000020UL
108
#define CRYOTIMER_PERIODSEL_PERIODSEL_DEFAULT (_CRYOTIMER_PERIODSEL_PERIODSEL_DEFAULT << 0)
110
/* Bit fields for CRYOTIMER CNT */
111
#define _CRYOTIMER_CNT_RESETVALUE 0x00000000UL
112
#define _CRYOTIMER_CNT_MASK 0xFFFFFFFFUL
113
#define _CRYOTIMER_CNT_CNT_SHIFT 0
114
#define _CRYOTIMER_CNT_CNT_MASK 0xFFFFFFFFUL
115
#define _CRYOTIMER_CNT_CNT_DEFAULT 0x00000000UL
116
#define CRYOTIMER_CNT_CNT_DEFAULT (_CRYOTIMER_CNT_CNT_DEFAULT << 0)
118
/* Bit fields for CRYOTIMER EM4WUEN */
119
#define _CRYOTIMER_EM4WUEN_RESETVALUE 0x00000000UL
120
#define _CRYOTIMER_EM4WUEN_MASK 0x00000001UL
121
#define CRYOTIMER_EM4WUEN_EM4WU (0x1UL << 0)
122
#define _CRYOTIMER_EM4WUEN_EM4WU_SHIFT 0
123
#define _CRYOTIMER_EM4WUEN_EM4WU_MASK 0x1UL
124
#define _CRYOTIMER_EM4WUEN_EM4WU_DEFAULT 0x00000000UL
125
#define CRYOTIMER_EM4WUEN_EM4WU_DEFAULT (_CRYOTIMER_EM4WUEN_EM4WU_DEFAULT << 0)
127
/* Bit fields for CRYOTIMER IF */
128
#define _CRYOTIMER_IF_RESETVALUE 0x00000000UL
129
#define _CRYOTIMER_IF_MASK 0x00000001UL
130
#define CRYOTIMER_IF_PERIOD (0x1UL << 0)
131
#define _CRYOTIMER_IF_PERIOD_SHIFT 0
132
#define _CRYOTIMER_IF_PERIOD_MASK 0x1UL
133
#define _CRYOTIMER_IF_PERIOD_DEFAULT 0x00000000UL
134
#define CRYOTIMER_IF_PERIOD_DEFAULT (_CRYOTIMER_IF_PERIOD_DEFAULT << 0)
136
/* Bit fields for CRYOTIMER IFS */
137
#define _CRYOTIMER_IFS_RESETVALUE 0x00000000UL
138
#define _CRYOTIMER_IFS_MASK 0x00000001UL
139
#define CRYOTIMER_IFS_PERIOD (0x1UL << 0)
140
#define _CRYOTIMER_IFS_PERIOD_SHIFT 0
141
#define _CRYOTIMER_IFS_PERIOD_MASK 0x1UL
142
#define _CRYOTIMER_IFS_PERIOD_DEFAULT 0x00000000UL
143
#define CRYOTIMER_IFS_PERIOD_DEFAULT (_CRYOTIMER_IFS_PERIOD_DEFAULT << 0)
145
/* Bit fields for CRYOTIMER IFC */
146
#define _CRYOTIMER_IFC_RESETVALUE 0x00000000UL
147
#define _CRYOTIMER_IFC_MASK 0x00000001UL
148
#define CRYOTIMER_IFC_PERIOD (0x1UL << 0)
149
#define _CRYOTIMER_IFC_PERIOD_SHIFT 0
150
#define _CRYOTIMER_IFC_PERIOD_MASK 0x1UL
151
#define _CRYOTIMER_IFC_PERIOD_DEFAULT 0x00000000UL
152
#define CRYOTIMER_IFC_PERIOD_DEFAULT (_CRYOTIMER_IFC_PERIOD_DEFAULT << 0)
154
/* Bit fields for CRYOTIMER IEN */
155
#define _CRYOTIMER_IEN_RESETVALUE 0x00000000UL
156
#define _CRYOTIMER_IEN_MASK 0x00000001UL
157
#define CRYOTIMER_IEN_PERIOD (0x1UL << 0)
158
#define _CRYOTIMER_IEN_PERIOD_SHIFT 0
159
#define _CRYOTIMER_IEN_PERIOD_MASK 0x1UL
160
#define _CRYOTIMER_IEN_PERIOD_DEFAULT 0x00000000UL
161
#define CRYOTIMER_IEN_PERIOD_DEFAULT (_CRYOTIMER_IEN_PERIOD_DEFAULT << 0)
CRYOTIMER_TypeDef::EM4WUEN
__IOM uint32_t EM4WUEN
Definition:
efr32mg1p_cryotimer.h:46
CRYOTIMER_TypeDef::IFC
__IOM uint32_t IFC
Definition:
efr32mg1p_cryotimer.h:49
CRYOTIMER_TypeDef::CNT
__IM uint32_t CNT
Definition:
efr32mg1p_cryotimer.h:45
CRYOTIMER_TypeDef::IFS
__IOM uint32_t IFS
Definition:
efr32mg1p_cryotimer.h:48
CRYOTIMER_TypeDef::IEN
__IOM uint32_t IEN
Definition:
efr32mg1p_cryotimer.h:50
CRYOTIMER_TypeDef::CTRL
__IOM uint32_t CTRL
Definition:
efr32mg1p_cryotimer.h:43
CRYOTIMER_TypeDef::PERIODSEL
__IOM uint32_t PERIODSEL
Definition:
efr32mg1p_cryotimer.h:44
CRYOTIMER_TypeDef::IF
__IM uint32_t IF
Definition:
efr32mg1p_cryotimer.h:47
CRYOTIMER_TypeDef
Definition:
efr32mg1p_cryotimer.h:41
platform
Device
SiliconLabs
EFR32MG1P
Include
efr32mg1p_cryotimer.h
Generated on Thu Mar 9 2017 20:44:59 for EFR32 Mighty Gecko 1 Software Documentation by
1.8.10