[ion/f730] Switch to FMC

This commit is contained in:
Romain Goyet
2019-01-09 10:08:31 +01:00
committed by Ruben Dashyan
parent b547f8bfd9
commit fe9b2fec1c
2 changed files with 6 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
#ifndef REGS_FSMC_H
#define REGS_FSMC_H
#ifndef REGS_FMC_H
#define REGS_FMC_H
#include "register.h"
class FSMC {
class FMC {
public:
class BCR : Register32 {
public:
@@ -58,7 +58,7 @@ public:
REGS_TYPE_FIELD(ACCMOD, 29, 28);
};
constexpr FSMC() {}
constexpr FMC() {}
volatile BCR * BCR(int index) const {
return (class BCR *)(Base() + 8*(index-1));
}
@@ -74,6 +74,6 @@ private:
};
};
constexpr FSMC FSMC;
constexpr FMC FMC;
#endif

View File

@@ -7,7 +7,7 @@
#include "dma.h"
#include "exti.h"
#include "flash.h"
#include "fsmc.h"
#include "fmc.h"
#include "gpio.h"
#include "itm.h"
#include "mpu.h"