libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
ezr32wg/cmu.h
Go to the documentation of this file.
1/** @defgroup cmu_defines CMU Defines
2 *
3 * @brief <b>Defined Constants and Types for the EZR32WG Clock Management Unit</b>
4 *
5 * @ingroup EZR32WG_defines
6 *
7 * LGPL License Terms @ref lgpl_license
8 */
9/*
10 * This file is part of the libopencm3 project.
11 *
12 * Copyright (C) 2016 Bob Miller <kbob@jogger-egg.com>
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#pragma once
29
31
32/**@{*/
33
34/* EZR32WG refers to USART0 as USART0RF
35 * because it is connected to the radio MCU.
36 */
37
38#define CMU_HFPERCLKEN0_USARTRF0 CMU_HFPERCLKEN0_USART0
39#define CMU_USARTRF0 CMU_USART0
40
41/**@}*/