mirror of https://github.com/ARMmbed/mbed-os.git
enable QSPI for STM32G4
parent
dcb71e20e6
commit
5c2f103b73
|
@ -155,6 +155,19 @@ struct trng_s {
|
||||||
RNG_HandleTypeDef handle;
|
RNG_HandleTypeDef handle;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if DEVICE_QSPI
|
||||||
|
struct qspi_s {
|
||||||
|
QSPI_HandleTypeDef handle;
|
||||||
|
QSPIName qspi;
|
||||||
|
PinName io0;
|
||||||
|
PinName io1;
|
||||||
|
PinName io2;
|
||||||
|
PinName io3;
|
||||||
|
PinName sclk;
|
||||||
|
PinName ssel;
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
//#include "common_objects.h"
|
//#include "common_objects.h"
|
||||||
#include "gpio_object.h"
|
#include "gpio_object.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue