= {
.id = 0,
.clk_rate = 75 * 1000 * 1000,
.gpio =
{
},
.spi_clk =
{
},
.parent_clk_reg =
{
.parent_clk = 300000000,
},
}
sunxi_dma_t sunxi_dma
Definition board.c:45
#define CCU_SPI_BGR_REG
Definition reg-ccu.h:74
#define CCU_SPI0_CLK_REG
Definition reg-ccu.h:73
#define SUNXI_SPI0_BASE
Definition reg-ncat.h:40
@ GPIO_PORTC
Definition sys-gpio.h:41
@ GPIO_PERIPH_MUX4
Definition sys-gpio.h:24
#define SPI_CLK_SEL_PERIPH_300M
Selects the SPI peripheral clock to 300 MHz.
Definition sys-spi.h:103
#define SPI_CLK_SEL_FACTOR_N_OFF
Offset for the SPI clock select factor is 8.
Definition sys-spi.h:105
#define SPI_DEFAULT_CLK_GATE_OFFSET(x)
Returns the default clock gate offset, based on the SPI module number (x).
Definition sys-spi.h:107
#define SPI_DEFAULT_CLK_RST_OFFSET(x)
Returns the default clock reset offset, based on the SPI module number (x).
Definition sys-spi.h:106