SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Public Attributes | List of all members
sunxi_spi_t Struct Reference

SPI Device Configuration Structure. More...

#include <sys-spi.h>

Collaboration diagram for sunxi_spi_t:
Collaboration graph
[legend]

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_tdma_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.
 

Detailed Description

SPI Device Configuration Structure.

This struct holds the configuration for an SPI device, including its clock and GPIO settings.

Member Data Documentation

◆ base

uint32_t sunxi_spi_t::base

Base address of the SPI peripheral.

◆ clk_rate

uint32_t sunxi_spi_t::clk_rate

Clock rate for the SPI device.

◆ dma_handle

sunxi_dma_t* sunxi_spi_t::dma_handle

DMA handle for the SPI device.

◆ gpio

sunxi_spi_gpio_t sunxi_spi_t::gpio

GPIO configuration for the SPI device.

◆ id

uint8_t sunxi_spi_t::id

SPI device ID.

◆ parent_clk_reg

sunxi_clk_t sunxi_spi_t::parent_clk_reg

Parent clock register configuration.

◆ spi_clk

sunxi_spi_clk_t sunxi_spi_t::spi_clk

SPI clock configuration.


The documentation for this struct was generated from the following file: