![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
SPI Device Configuration Structure. More...
#include <sys-spi.h>

Public Attributes | |
| uint32_t | base |
| Base address of the SPI peripheral. | |
| uint8_t | id |
| SPI device ID. | |
| uint32_t | clk_rate |
| Clock rate for the SPI device. | |
| sunxi_spi_gpio_t | gpio |
| GPIO configuration for the SPI device. | |
| sunxi_dma_t * | dma_handle |
| DMA handle for the SPI device. | |
| sunxi_clk_t | parent_clk_reg |
| Parent clock register configuration. | |
| sunxi_spi_clk_t | spi_clk |
| SPI clock configuration. | |
SPI Device Configuration Structure.
This struct holds the configuration for an SPI device, including its clock and GPIO settings.
| uint32_t sunxi_spi_t::base |
Base address of the SPI peripheral.
| uint32_t sunxi_spi_t::clk_rate |
Clock rate for the SPI device.
| sunxi_dma_t* sunxi_spi_t::dma_handle |
DMA handle for the SPI device.
| sunxi_spi_gpio_t sunxi_spi_t::gpio |
GPIO configuration for the SPI device.
| uint8_t sunxi_spi_t::id |
SPI device ID.
| sunxi_clk_t sunxi_spi_t::parent_clk_reg |
Parent clock register configuration.
| sunxi_spi_clk_t sunxi_spi_t::spi_clk |
SPI clock configuration.