px-fwlib 0.10.0
Cross-platform embedded library and documentation for 8/16/32-bit microcontrollers generated with Doxygen 1.9.2
px_spi_per_t Struct Reference

Internal data for each SPI peripheral. More...

Data Fields

SPI_TypeDef * spi_base_adr
 SPI peripheral base register address. More...
 
DMA_Channel_TypeDef * dma_rx_base_adr
 DMA RX channel base register address. More...
 
DMA_Channel_TypeDef * dma_tx_base_adr
 DMA TX channel base register address. More...
 
px_spi_nr_t spi_nr
 Peripheral number. More...
 
uint8_t open_counter
 Number of open handles referencing peripheral. More...
 

Detailed Description

Internal data for each SPI peripheral.

Internal data for each SPI handle.

Definition at line 31 of file px_spi.c.

Field Documentation

◆ spi_base_adr

SPI_TypeDef* px_spi_per_t::spi_base_adr

SPI peripheral base register address.

Definition at line 33 of file px_spi.c.

◆ dma_rx_base_adr

DMA_Channel_TypeDef* px_spi_per_t::dma_rx_base_adr

DMA RX channel base register address.

Definition at line 34 of file px_spi.c.

◆ dma_tx_base_adr

DMA_Channel_TypeDef* px_spi_per_t::dma_tx_base_adr

DMA TX channel base register address.

Definition at line 35 of file px_spi.c.

◆ spi_nr

px_spi_nr_t px_spi_per_t::spi_nr

Peripheral number.

SPI peripheral number.

Definition at line 36 of file px_spi.c.

◆ open_counter

uint8_t px_spi_per_t::open_counter

Number of open handles referencing peripheral.

Definition at line 37 of file px_spi.c.


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