stm32f10x_fsmc.hpp

来自「STM32 USB HID」· HPP 代码 · 共 27 行

HPP
27
字号
#ifndef __STM32F10x_FSMC_HPP__
#define __STM32F10x_FSMC_HPP__
//-----------------------------------------------------------------------------
class stm32f10x_fsmc
{
	private:
		unsigned int 	dword;
		unsigned int* bits;
	public:
		volatile unsigned long* BCR1;
		volatile unsigned long* BCR2;
		volatile unsigned long* BCR3;
		volatile unsigned long* BCR4;
	public:
		stm32f10x_fsmc(void);
	public:
		void Configration();
};
//-----------------------------------------------------------------------------
extern stm32f10x_fsmc FSMC;
//BCR--------------------------------------------------------------------------
#define WREN		 12
#define MWID_1		5
#define MWID_0		4
//-----------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?