libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
quadspi_common_v1.c
Go to the documentation of this file.
1
2
#include <
libopencm3/stm32/quadspi.h
>
3
4
void
quadspi_enable
(
void
)
5
{
6
QUADSPI_CR
|=
QUADSPI_CR_EN
;
7
}
8
9
void
quadspi_disable
(
void
)
10
{
11
QUADSPI_CR
&= ~QUADSPI_CR_EN;
12
}
QUADSPI_CR_EN
#define QUADSPI_CR_EN
Definition:
quadspi_common_v1.h:75
quadspi_enable
void quadspi_enable(void)
Enable the quadspi peripheral.
Definition:
quadspi_common_v1.c:4
quadspi_disable
void quadspi_disable(void)
Disable the quadspi peripheral.
Definition:
quadspi_common_v1.c:9
QUADSPI_CR
#define QUADSPI_CR
QUADSPI Control register.
Definition:
quadspi_common_v1.h:13
quadspi.h
lib
stm32
common
quadspi_common_v1.c
Generated on Tue Mar 7 2023 16:11:49 for libopencm3 by
1.9.4