#include <device/mmio.h>
#include <assert.h>
#include <spi_flash.h>
#include <soc/addressmap.h>
#include <soc/flash_controller.h>
#include <soc/gpio.h>
#include <soc/spi.h>
Go to the source code of this file.
◆ PAD_FUNC
#define PAD_FUNC |
( |
|
name, |
|
|
|
func |
|
) |
| {PAD_##name##_ID, PAD_##name##_FUNC_##func} |
Definition at line 43 of file spi.c.
◆ PAD_FUNC_GPIO
#define PAD_FUNC_GPIO |
( |
|
name | ) |
{PAD_##name##_ID, 0} |
Definition at line 44 of file spi.c.
◆ mtk_spi_set_gpio_pinmux()
◆ bus1_pad1_funcs
const struct pad_func bus1_pad1_funcs[4] |
|
static |
◆ pad0_funcs
◆ spi_bus
Initial value:= {
{
.cs_gpio =
GPIO(SPI_CSB),
},
{
.cs_gpio =
GPIO(SPI1_CSB),
},
{
},
{
},
{
},
{
}
}
Definition at line 1 of file spi.c.
◆ spi_ctrlr_bus_map
Initial value:= {
{
.bus_start = 0,
},
}
Definition at line 92 of file spi.c.
◆ spi_ctrlr_bus_map_count