2018-05-11 20:13:15 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 qianfan Zhao <qianfanguijin@163.com>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
2019-01-08 18:10:34 +08:00
|
|
|
#ifndef _STM32_SYSCFG_REGISTERS_H_
|
|
|
|
#define _STM32_SYSCFG_REGISTERS_H_
|
2018-05-11 20:13:15 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief
|
|
|
|
*
|
|
|
|
* Based on reference manual:
|
|
|
|
* stm32f2X advanced ARM ® -based 32-bit MCUs
|
|
|
|
*
|
|
|
|
* Chapter 7: System configuration controller (SYSCFG)
|
|
|
|
*/
|
|
|
|
|
2019-01-08 18:10:34 +08:00
|
|
|
#include "../common/soc_syscfg_common.h"
|
2018-05-11 20:13:15 +08:00
|
|
|
|
|
|
|
/* 7.2 SYSCFG registers */
|
2019-01-08 18:10:34 +08:00
|
|
|
struct stm32_syscfg {
|
2018-05-11 20:13:15 +08:00
|
|
|
u32_t memrmp;
|
|
|
|
u32_t pmc;
|
|
|
|
union syscfg_exticr exticr1;
|
|
|
|
union syscfg_exticr exticr2;
|
|
|
|
union syscfg_exticr exticr3;
|
|
|
|
union syscfg_exticr exticr4;
|
|
|
|
u32_t cmpcr;
|
|
|
|
};
|
|
|
|
|
2019-01-08 18:10:34 +08:00
|
|
|
#endif /* _STM32_SYSCFG_REGISTERS_H_ */
|