Intel® Quark™ Microcontroller Software Interface
1.4.0
Intel® Quark™ Microcontroller BSP
Main Page
Modules
Data Structures
Files
File List
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. */
24
}
qm_soc_reset_t
;
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__ */
QM_WARM_RESET
Warm reset.
Definition:
qm_init.h:22
QM_COLD_RESET
Cold reset.
Definition:
qm_init.h:23
qm_soc_reset
void qm_soc_reset(qm_soc_reset_t reset_type)
Reset the SoC.
Definition:
qm_init.c:7
qm_soc_reset_t
qm_soc_reset_t
Reset Mode type.
Definition:
qm_init.h:21
drivers
include
qm_init.h
Generated on Tue Mar 7 2017 21:59:18 for Intel® Quark™ Microcontroller Software Interface by
1.8.6