libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
3u/pmc.h
Go to the documentation of this file.
1
/*
2
* This file is part of the libopencm3 project.
3
*
4
* Copyright (C) 2012 Gareth McMullin <gareth@blacksphere.co.nz>
5
* Copyright (C) 2015 Felix Held <felix-libopencm3@felixheld.de>
6
*
7
* This library is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU Lesser General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with this library. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef LIBOPENCM3_PMC_H
22
#define LIBOPENCM3_PMC_H
23
24
#include <
libopencm3/sam/memorymap.h
>
25
#include <
libopencm3/sam/common/pmc_common_all.h
>
26
#include <
libopencm3/sam/common/pmc_common_3n3u.h
>
27
#include <
libopencm3/sam/common/pmc_common_3a3u3x.h
>
28
29
/* --- Register contents --------------------------------------------------- */
30
31
32
/* --- PMC Clock Generator Main Oscillator Register (CKGR_MOR) ------------- */
33
34
/* Wait Mode Command */
35
#define CKGR_MOR_WAITMODE (0x01 << 2)
36
37
38
#endif
pmc_common_3a3u3x.h
pmc_common_3n3u.h
pmc_common_all.h
memorymap.h
include
libopencm3
sam
3u
pmc.h
Generated on Tue Mar 7 2023 16:13:05 for libopencm3 by
1.9.4