= {
.id = 0,
.clk_rate = 100 * 1000 * 1000,
.gpio =
{
},
.spi_clk =
{
},
.parent_clk_reg =
{
.parent_clk = 300000000,
},
}
sunxi_dma_t sunxi_dma
Definition board.c:45
#define SUNXI_SPI0_BASE
Definition reg-ncat.h:40
#define SPI0_CLK_REG
Definition reg-ccu.h:1257
#define SPI0_CLK_REG_CLK_SRC_SEL_PERI0_300M
Definition reg-ccu.h:1952
#define SPI0_GAR_REG
Definition reg-ccu.h:1547
@ GPIO_PORTC
Definition sys-gpio.h:41
@ GPIO_PERIPH_MUX3
Definition sys-gpio.h:23
#define GPIO_PIN(x, y)
Definition sys-gpio.h:66
#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