enable QSPI for STM32G4

pull/15239/head
Pavel S 2022-03-02 20:26:43 +01:00 committed by GitHub
parent dcb71e20e6
commit 5c2f103b73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -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"