Intel® Quark™ Microcontroller Software Interface  1.4.0
Intel® Quark™ Microcontroller BSP
qm_init.h
1 /*
2  * {% copyright %}
3  */
4 
5 #ifndef __QM_INIT_H__
6 #define __QM_INIT_H__
7 
8 #include "qm_common.h"
9 #include "qm_soc_regs.h"
10 
11 /**
12  * Initialisation and reset.
13  *
14  * @defgroup groupInit Initialisation
15  * @{
16  */
17 
18 /**
19  * Reset Mode type.
20  */
21 typedef enum {
22  QM_WARM_RESET = BIT(1), /**< Warm reset. */
23  QM_COLD_RESET = BIT(3), /**< Cold reset. */
25 
26 /**
27  * Reset the SoC.
28  *
29  * This can either be a cold reset or a warm reset.
30  *
31  * @param [in] reset_type Selects the type of reset to perform.
32  */
33 void qm_soc_reset(qm_soc_reset_t reset_type);
34 
35 /**
36  * @}
37  */
38 
39 #endif /* __QM_INIT_H__ */
Warm reset.
Definition: qm_init.h:22
Cold reset.
Definition: qm_init.h:23
void qm_soc_reset(qm_soc_reset_t reset_type)
Reset the SoC.
Definition: qm_init.c:7
qm_soc_reset_t
Reset Mode type.
Definition: qm_init.h:21