blob: c1c662981046c29254e9d2e2539d61e9c5b29b9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/**
* @file
* @ingroup stm32f10xxx_rcc
* @brief STM32F10XXX RCC support.
*/
/*
* Copyright (c) 2013 Christian Mauderer. All rights reserved.
*
* embedded brains GmbH
* Obere Lagerstr. 30
* 82178 Puchheim
* Germany
* <rtems@embedded-brains.de>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#ifndef LIBBSP_ARM_STM32F4_STM32F10XXX_RCC_H
#define LIBBSP_ARM_STM32F4_STM32F10XXX_RCC_H
#include <bsp/utility.h>
/**
* @defgroup stm32f10xxx_rcc STM32F10XXX RCC Support
* @ingroup stm32f4_rcc
* @brief STM32F10XXX RCC Support
* @{
*/
typedef struct {
uint32_t cr;
uint32_t cfgr;
uint32_t cir;
uint32_t apbrstr [2];
uint32_t ahbenr [1];
uint32_t apbenr [2];
uint32_t bdcr;
uint32_t csr;
uint32_t ahbstr;
uint32_t cfgr2;
} stm32f4_rcc;
/** @} */
#endif /* LIBBSP_ARM_STM32F4_STM32F10XXX_RCC_H */
|