libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
pwr.h
Go to the documentation of this file.
1
/** @defgroup pwr_defines Power/Sleep Defines
2
*
3
* @brief <b>Defined Constants and Types for the SWM050 Power/Sleep API</b>
4
*
5
* @ingroup SWM050_defines
6
*
7
* LGPL License Terms @ref lgpl_license
8
*/
9
/*
10
* This file is part of the libopencm3 project.
11
*
12
* Copyright (C) 2019 Caleb Szalacinski <contact@skiboy.net>
13
*
14
* This library is free software: you can redistribute it and/or modify
15
* it under the terms of the GNU Lesser General Public License as published by
16
* the Free Software Foundation, either version 3 of the License, or
17
* (at your option) any later version.
18
*
19
* This library is distributed in the hope that it will be useful,
20
* but WITHOUT ANY WARRANTY; without even the implied warranty of
21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22
* GNU Lesser General Public License for more details.
23
*
24
* You should have received a copy of the GNU Lesser General Public License
25
* along with this library. If not, see <http://www.gnu.org/licenses/>.
26
*/
27
/**@{*/
28
#ifndef LIBOPENCM3_PWR_H
29
#define LIBOPENCM3_PWR_H
30
#include <
libopencm3/cm3/common.h
>
31
#include <
libopencm3/swm050/memorymap.h
>
32
33
BEGIN_DECLS
34
35
void
pwr_sleep
(
void
);
36
37
END_DECLS
38
39
#endif
40
/**@}*/
common.h
END_DECLS
#define END_DECLS
Definition:
common.h:34
BEGIN_DECLS
#define BEGIN_DECLS
Definition:
common.h:33
pwr_sleep
void pwr_sleep(void)
Go into sleep mode.
Definition:
pwr.c:38
memorymap.h
include
libopencm3
swm050
pwr.h
Generated on Tue Mar 7 2023 16:13:12 for libopencm3 by
1.9.4